Runtime Dynamic Dispatch



The invoker is a mechanism which allows for external invocation of handlers based on indexes passed as arguments through the shift left operator operator<<. This allows a dispatcher to be invoked like a stream which takes in indexes using the same facility for output streams.

An invoker can be instantiated and while being instantiated bound to an instance of an existing dispatcher and a function which acts as an Aggregator.

Copyright 2006 ,2007 Dean Michael Berris