News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

TemplateTNL::FunctorDecl< void(T::*)(A, B)> struct Reference

TNL::FunctorDecl< void(T::*)(A, B)> Struct Template Reference

#include <tnlMethodDispatch.h>

Inheritance diagram for TNL::FunctorDecl< void(T::*)(A, B)>:

TNL::Functor

template<class T, class A, class B>
struct TNL::FunctorDecl< void(T::*)(A, B)>


Public Types

typedef void(T::* FuncPtr )(A, B)

Public Member Functions

 FunctorDecl (FuncPtr p)
void set (A &_a, B &_b)
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.


Data Fields

FuncPtr ptr
a
b

Member Typedef Documentation

template<class T, class A, class B>
typedef void(T::* TNL::FunctorDecl< void(T::*)(A, B)>::FuncPtr)(A,B)
 


Member Function Documentation

template<class T, class A, class B>
TNL::FunctorDecl< void(T::*)(A, B)>::FunctorDecl FuncPtr  p  )  [inline]
 

template<class T, class A, class B>
void TNL::FunctorDecl< void(T::*)(A, B)>::set A &  _a,
B &  _b
[inline]
 

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

Reads this Functor from a BitStream.

Implements TNL::Functor.

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

Writes this Functor to a BitStream.

Implements TNL::Functor.

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

Dispatch the function represented by the Functor.

Implements TNL::Functor.


Field Documentation

template<class T, class A, class B>
FuncPtr TNL::FunctorDecl< void(T::*)(A, B)>::ptr
 

template<class T, class A, class B>
A TNL::FunctorDecl< void(T::*)(A, B)>::a
 

template<class T, class A, class B>
B TNL::FunctorDecl< void(T::*)(A, B)>::b