functor.h File Reference

#include <dtUtil/functor.h>

Namespaces

namespace  dtDAL

Classes

class  dtDAL::Functor
 This class is the base Functor class. More...
class  dtDAL::Functor0
 Functor which takes no parameters and returns no value. More...
class  dtDAL::MemberFunctor0< Callee, MemFunc >
 Special case of Functor0 which is used to store a member function of a class. More...
class  dtDAL::FunctionFunctor0< Func >
 Special case of Functor0 which is used to store a regular function. More...
class  dtDAL::Functor1< P1 >
 Functor which takes 1 parameter and returns no value. More...
class  dtDAL::MemberFunctor1< Callee, MemFunc, P1 >
 Special case of Functor1 which is used to store a member function of a class. More...
class  dtDAL::FunctionFunctor1< Func, P1 >
 Special case of Functor1 which is used to store a regular function. More...
class  dtDAL::Functor0Ret< RT >
 Functor which takes no parameters and returns a value. More...
class  dtDAL::MemberFunctor0Ret< Callee, MemFunc, RT >
 Special case of Functor0Ret which is used to store a member function of a class. More...
class  dtDAL::FunctionFunctor0Ret< Func, RT >
 Special case of Functor0Ret which is used to store a regular function. More...

Functions

template<class Callee, class TRT, class CallType>
MemberFunctor0< Callee, TRT(CallType::*)()> dtDAL::MakeFunctor (Callee &callee, TRT(CallType::*f)())
 Creates a Functor0 for a non-const member function.
template<class Callee, class TRT, class CallType>
MemberFunctor0< const Callee,
TRT(CallType::*)() const > 
dtDAL::MakeFunctor (const Callee &callee, TRT(CallType::*const &f)() const)
 Creates a Functor0 for a const member function.
template<class TRT>
FunctionFunctor0< TRT(*)()> dtDAL::MakeFunctor (TRT(*f)())
 Creates a Functor0 for a regular function.
template<class Callee, class TRT, class CallType, class P1>
MemberFunctor1< Callee, TRT(CallType::*)(P1
p1), P1 > 
dtDAL::MakeFunctor (Callee &callee, TRT(CallType::*f)(P1))
 Creates a Functor1 for a non-const member function.
template<class Callee, class TRT, class CallType, class P1>
MemberFunctor1< const Callee,
TRT(CallType::*)(P1 p1) const,
P1 > 
dtDAL::MakeFunctor (const Callee &callee, TRT(CallType::*const &f)(P1 p1) const)
 Creates a Functor1 for a const member function.
template<class TRT, class P1>
FunctionFunctor1< TRT(*)(P1 p1),
P1 > 
dtDAL::MakeFunctor (TRT(*f)(P1))
 Creates a Functor1 for a regular function.
template<class Callee, class CallType, class RT>
MemberFunctor0Ret< Callee, RT(CallType::*)(),
RT > 
dtDAL::MakeFunctorRet (Callee &callee, RT(CallType::*f)())
 Creates a Functor0Ret for a non-const member function.
template<class Callee, class CallType, class RT>
MemberFunctor0Ret< const
Callee, RT(CallType::*)()
const, RT > 
dtDAL::MakeFunctorRet (const Callee &callee, RT(CallType::*const &f)() const)
 Creates a Functor0Ret for a const member function.
template<class RT>
FunctionFunctor0Ret< RT(*)(), RT > dtDAL::MakeFunctorRet (RT(*f)())
 Creates a Functor0Ret for a regular function.

http://www.delta3d.org
2.0.0 generated 14 Feb 2008