Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

TNL::Functor Struct Reference

Base class for FunctorDecl template classes. More...

#include <tnlMethodDispatch.h>

Inheritance diagram for TNL::Functor:

TNL::FunctorDecl< T > List of all members.

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.


Detailed Description

Base class for FunctorDecl template classes.

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.


The documentation for this struct was generated from the following file:
Generated on Thu Aug 18 16:03:37 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18