#include <tnlMethodDispatch.h>
Inheritance diagram for TNL::Functor:

Public Methods | |
| Functor () | |
| Construct the Functor. | |
| virtual | ~Functor () |
| Destruct the Functor. | |
| virtual void | read (BitStream &stream)=0 |
| Reads this Functor from a BitStream. | |
| virtual void | write (BitStream &stream)=0 |
| Writes this Functor to a BitStream. | |
| virtual void | dispatch (Object *t)=0 |
| Dispatch the function represented by the Functor. | |
The Functor objects store the parameters and member function pointer for the invocation of some class member function. Functor is used in TNL by the RPC mechanism, the journaling system and the ThreadQueue to store a function for later transmission and dispatch, either to a remote host, a journal file, or another thread in the process.
Definition at line 172 of file tnlMethodDispatch.h.
1.2.18