LibCT 2.0
|
TemplateFunctor is a class that allows storing pointers to member functions. More...
#include <TemplateFunctor.h>
Public Member Functions | |
TemplateFunctor (T *pObject, void(T::*pFunction)(U *)) | |
Constructor. | |
virtual void | operator() (void *pArg) |
Call operator. | |
Private Attributes | |
T * | m_pObject |
Instance of member class. | |
void(T::* | m_pFunction )(U *) |
Pointer to member function. |
TemplateFunctor is a class that allows storing pointers to member functions.
LibCT::TemplateFunctor< T, U >::TemplateFunctor | ( | T * | pObject, |
void(T::*)(U *) | pFunction | ||
) | [inline] |
Constructor.
pObject | Instance of the member class |
pFunction | Pointer to the member function |
virtual void LibCT::TemplateFunctor< T, U >::operator() | ( | void * | pArg | ) | [inline, virtual] |
void(T::* LibCT::TemplateFunctor< T, U >::m_pFunction)(U *) [private] |
Pointer to member function.
T* LibCT::TemplateFunctor< T, U >::m_pObject [private] |
Instance of member class.