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

#include <TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(* FunctionType) (Arg1)
 
typedef R ResultType
 

Public Member Functions

 PtrFunctor1 (FunctionType fn)
 
ResultType operator() (Arg1 a1) const
 

Public Attributes

FunctionType fn
 

Member Typedef Documentation

◆ FunctionType

template<class R , class Arg1 >
typedef R(* Tp::PtrFunctor1< R, Arg1 >::FunctionType) (Arg1)

◆ ResultType

template<class R , class Arg1 >
typedef R Tp::PtrFunctor1< R, Arg1 >::ResultType

Constructor & Destructor Documentation

◆ PtrFunctor1()

template<class R , class Arg1 >
Tp::PtrFunctor1< R, Arg1 >::PtrFunctor1 ( FunctionType  fn)
inline

Member Function Documentation

◆ operator()()

template<class R , class Arg1 >
ResultType Tp::PtrFunctor1< R, Arg1 >::operator() ( Arg1  a1) const
inline

Member Data Documentation

◆ fn

template<class R , class Arg1 >
FunctionType Tp::PtrFunctor1< R, Arg1 >::fn