Main Page Modules Namespaces C++ Classes Compound List File List Index
TemplateTNL::FunctorDecl< T > struct Reference

TNL::FunctorDecl< T > Struct Template Reference

#include <tnlMethodDispatch.h>

Inheritance diagram for TNL::FunctorDecl< T >:

TNL::Functor

Detailed Description

template<class T>
struct TNL::FunctorDecl< T >

FunctorDecl template class.

This class is specialized based on the member function call signature of the method it represents. Other specializations hold specific member function pointers and slots for each of the function arguments.


Public Member Functions

 FunctorDecl ()
void set ()
void read (BitStream &stream)
 Reads this Functor from a BitStream.

void write (BitStream &stream)
 Writes this Functor to a BitStream.

void dispatch (void *t)
 Dispatch the function represented by the Functor.


Constructor & Destructor Documentation

template<class T>
TNL::FunctorDecl< T >::FunctorDecl  )  [inline]
 


Member Function Documentation

template<class T>
void TNL::FunctorDecl< T >::set  )  [inline]
 

template<class T>
void TNL::FunctorDecl< T >::read BitStream stream  )  [inline, virtual]
 

Reads this Functor from a BitStream.

Implements TNL::Functor.

template<class T>
void TNL::FunctorDecl< T >::write BitStream stream  )  [inline, virtual]
 

Writes this Functor to a BitStream.

Implements TNL::Functor.

template<class T>
void TNL::FunctorDecl< T >::dispatch void *  t  )  [inline, virtual]
 

Dispatch the function represented by the Functor.

Implements TNL::Functor.