MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
TSpecificFunctor< T > Class Template Reference

Template class to assign a method of class T as argument. More...

#include <TFunctor.hxx>

Inheritance diagram for TSpecificFunctor< T >:
TFunctor

Public Member Functions

 TSpecificFunctor (T *_pt2Object, void(T::*_fpt)())
 Normal Constructor. More...
 
virtual void operator() ()
 override operator "()" More...
 
virtual void Call ()
 override function "Call" More...
 
virtual void SetObj (T *obj)
 Set the object to the pointer. More...
 
- Public Member Functions inherited from TFunctor
virtual ~TFunctor ()
 

Private Attributes

void(T::* fpt )()
 pointer to member function More...
 
T * pt2Object
 pointer to object More...
 

Detailed Description

template<class T>
class TSpecificFunctor< T >

Template class to assign a method of class T as argument.

This class is used to pass methods of the template class T as argument of others function.

Author
PTO
Version
0.1

Constructor & Destructor Documentation

template<class T>
TSpecificFunctor< T >::TSpecificFunctor ( T *  _pt2Object,
void(T::*)()  _fpt 
)
inline

Normal Constructor.

Member Function Documentation

template<class T>
virtual void TSpecificFunctor< T >::Call ( )
inlinevirtual

override function "Call"

Implements TFunctor.

template<class T>
virtual void TSpecificFunctor< T >::operator() ( )
inlinevirtual

override operator "()"

Implements TFunctor.

template<class T>
virtual void TSpecificFunctor< T >::SetObj ( T *  obj)
inlinevirtual

Set the object to the pointer.

Member Data Documentation

template<class T>
void(T::* TSpecificFunctor< T >::fpt)()
private

pointer to member function

template<class T>
T* TSpecificFunctor< T >::pt2Object
private

pointer to object


The documentation for this class was generated from the following file:

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014