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

Callback with 1 argument. More...

#include <TelepathyQt/Callbacks>

Inherits Tp::BaseCallback.

Public Types

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

Public Member Functions

 Callback1 ()
template<class Functor >
 Callback1 (const Functor &functor)
ResultType operator() (Arg1 a1) 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

Detailed Description

template<class R, class Arg1>
class Tp::Callback1< R, Arg1 >

Callback with 1 argument.

See Callbacks Usage

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class R, class Arg1>
Tp::Callback1< R, Arg1 >::Callback1 ( )
template<class R, class Arg1>
template<class Functor >
Tp::Callback1< R, Arg1 >::Callback1 ( const Functor &  functor)

Member Function Documentation

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

Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7