Home · Modules · All Classes · All Namespaces
Public Types | Public Member Functions | Public Attributes | List of all members
Tp::MemberFunctor2< R, T, Arg1, Arg2 > Struct Template Reference

#include <TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(T::* FunctionType) (Arg1, Arg2)
 
typedef R ResultType
 

Public Member Functions

 MemberFunctor2 (T *object, FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2) const
 

Public Attributes

T * object
 
FunctionType fn
 

Member Typedef Documentation

◆ FunctionType

template<class R , class T , class Arg1 , class Arg2 >
typedef R(T::* Tp::MemberFunctor2< R, T, Arg1, Arg2 >::FunctionType) (Arg1, Arg2)

◆ ResultType

template<class R , class T , class Arg1 , class Arg2 >
typedef R Tp::MemberFunctor2< R, T, Arg1, Arg2 >::ResultType

Constructor & Destructor Documentation

◆ MemberFunctor2()

template<class R , class T , class Arg1 , class Arg2 >
Tp::MemberFunctor2< R, T, Arg1, Arg2 >::MemberFunctor2 ( T *  object,
FunctionType  fn 
)
inline

Member Function Documentation

◆ operator()()

template<class R , class T , class Arg1 , class Arg2 >
ResultType Tp::MemberFunctor2< R, T, Arg1, Arg2 >::operator() ( Arg1  a1,
Arg2  a2 
) const
inline

Member Data Documentation

◆ object

template<class R , class T , class Arg1 , class Arg2 >
T* Tp::MemberFunctor2< R, T, Arg1, Arg2 >::object

◆ fn

template<class R , class T , class Arg1 , class Arg2 >
FunctionType Tp::MemberFunctor2< R, T, Arg1, Arg2 >::fn