summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2022-06-21 15:50:08 -0400
committerNat Goodspeed <nat@lindenlab.com>2022-06-21 15:50:08 -0400
commitfa3a67f56b15d81bfd22f744314a7d9aa35bf90e (patch)
tree663693d151496114298b6d99db14d5f1c12bbf77
parentfdc0257acbde5a2d5bb201efcc8bb723df09daf8 (diff)
DRTVWR-564: Remove implementation notes from before implementation.
-rw-r--r--indra/llcommon/lazyeventapi.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/indra/llcommon/lazyeventapi.h b/indra/llcommon/lazyeventapi.h
index 2e947899dc..7267a3e4ec 100644
--- a/indra/llcommon/lazyeventapi.h
+++ b/indra/llcommon/lazyeventapi.h
@@ -42,30 +42,6 @@ namespace LL
boost::signals2::signal<void(LLEventAPI*)> init;
};
- // The tricky part is: can we capture a sequence of add() calls in the
- // LazyEventAPI subclass constructor and then, in effect, replay those
- // add() calls on instantiation of the registered LLEventAPI subclass? so
- // we don't have to duplicate the add() calls in both constructors?
-
- // Derive a subclass from LazyEventAPI. Its constructor must pass
- // LazyEventAPI's constructor the name, desc, field params. Moreover the
- // constructor body must call add(name, desc, *args) for any of the
- // LLEventDispatcher add() methods, referencing the LLEventAPI subclass
- // methods.
-
- // LazyEventAPI will store the name, desc, field params for the overall
- // LLEventAPI. It will support a single generic add() call accepting name,
- // desc, parameter pack.
-
- // It will hold a std::vector<std::pair<name, desc>> for each operation.
- // It will make all these strings available to LLLeapListener.
-
- // Maybe what we want is to store a vector of callables (a
- // boost::signals2!) and populate it with lambdas, each of which accepts
- // LLEventAPI* and calls the relevant add() method by forwarding exactly
- // the name, desc and parameter pack. Then, on constructing the target
- // LLEventAPI, we just fire the signal, passing the new instance pointer.
-
/**
* LazyEventAPIBase implements most of the functionality of LazyEventAPI
* (q.v.), but we need the LazyEventAPI template subclass so we can accept