wns::TArgumentFunctor< T, Arg, RetVal, funcType, fPtr > Class Template Reference
The template version of the
Functor with one argument This will create a functor for member functions in class T, taking Arg and returning RetVal and being either non-const (default) or const. The last template parameter should always have its default value.
#include <Functor.hpp>
List of all members.
|
Public Member Functions |
| virtual RetVal | operator() (Arg a) const |
| | The operator to be called to execute the functor.
|
| | TArgumentFunctor (T *Obj, fPtr F) |
| | A constructor taking the object to be called with the function pointer.
|
Private Attributes |
| fPtr | f |
| | The function pointer.
|
| T * | obj |
| | The object to be called with the function pointer.
|
Detailed Description
template<typename T, typename Arg, typename RetVal = void, targumentfunctor::funcType funcType = targumentfunctor::nonConstFunc, typename fPtr = typename targumentfunctor::ConstructFPtrType<T, Arg, RetVal, funcType>::fPtr>
class wns::TArgumentFunctor< T, Arg, RetVal, funcType, fPtr >
Definition at line 173 of file Functor.hpp.
Constructor & Destructor Documentation
template<typename T, typename Arg, typename RetVal = void, targumentfunctor::funcType funcType = targumentfunctor::nonConstFunc, typename fPtr = typename targumentfunctor::ConstructFPtrType<T, Arg, RetVal, funcType>::fPtr>
Member Function Documentation
template<typename T, typename Arg, typename RetVal = void, targumentfunctor::funcType funcType = targumentfunctor::nonConstFunc, typename fPtr = typename targumentfunctor::ConstructFPtrType<T, Arg, RetVal, funcType>::fPtr>
| virtual RetVal wns::TArgumentFunctor< T, Arg, RetVal, funcType, fPtr >::operator() |
( |
Arg |
a |
) |
const [inline, virtual] |
Member Data Documentation
template<typename T, typename Arg, typename RetVal = void, targumentfunctor::funcType funcType = targumentfunctor::nonConstFunc, typename fPtr = typename targumentfunctor::ConstructFPtrType<T, Arg, RetVal, funcType>::fPtr>
template<typename T, typename Arg, typename RetVal = void, targumentfunctor::funcType funcType = targumentfunctor::nonConstFunc, typename fPtr = typename targumentfunctor::ConstructFPtrType<T, Arg, RetVal, funcType>::fPtr>
The documentation for this class was generated from the following file: