Home · Modules · All Classes · All Namespaces
Public Types | Public Member Functions | List of all members
Tp::Callback3< R, Arg1, Arg2, Arg3 > Class Template Reference

Callback with 3 arguments. More...

#include <TelepathyQt/Callbacks>

Inherits Tp::BaseCallback.

Public Types

typedef R(* FunctionType) (Arg1, Arg2, Arg3)
 
typedef R ResultType
 

Public Member Functions

 Callback3 ()
 
template<class Functor >
 Callback3 (const Functor &functor)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3) const
 
- Public Member Functions inherited from Tp::BaseCallback
 BaseCallback ()
 
 BaseCallback (AbstractFunctorCaller *caller)
 
 BaseCallback (const BaseCallback &other)
 
virtual ~BaseCallback ()
 
bool isValid () const
 
BaseCallbackoperator= (const BaseCallback &other)
 

Additional Inherited Members

- Protected Attributes inherited from Tp::BaseCallback
AbstractFunctorCallercaller
 

Detailed Description

template<class R, class Arg1, class Arg2, class Arg3>
class Tp::Callback3< R, Arg1, Arg2, Arg3 >

Callback with 3 arguments.

See Callbacks Usage

Member Typedef Documentation

◆ FunctionType

template<class R, class Arg1, class Arg2, class Arg3>
typedef R(* Tp::Callback3< R, Arg1, Arg2, Arg3 >::FunctionType) (Arg1, Arg2, Arg3)

◆ ResultType

template<class R, class Arg1, class Arg2, class Arg3>
typedef R Tp::Callback3< R, Arg1, Arg2, Arg3 >::ResultType

Constructor & Destructor Documentation

◆ Callback3() [1/2]

template<class R, class Arg1, class Arg2, class Arg3>
Tp::Callback3< R, Arg1, Arg2, Arg3 >::Callback3 ( )
inline

◆ Callback3() [2/2]

template<class R, class Arg1, class Arg2, class Arg3>
template<class Functor >
Tp::Callback3< R, Arg1, Arg2, Arg3 >::Callback3 ( const Functor &  functor)
inline

Member Function Documentation

◆ operator()()

template<class R, class Arg1, class Arg2, class Arg3>
ResultType Tp::Callback3< R, Arg1, Arg2, Arg3 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3 
) const
inline