CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BoundClosure< void, DelegateT, ClosureDataT > Class Template Reference

#include <async.h>

Inheritance diagram for BoundClosure< void, DelegateT, ClosureDataT >:
Collaboration diagram for BoundClosure< void, DelegateT, ClosureDataT >:

Public Types

typedef void(DelegateT::* CallbackMethod )(const ClosureDataT closure_data)
 

Public Member Functions

 BoundClosure (CallbackMethod method, DelegateT *delegate, ClosureDataT data)
 
void operator() () const
 
- Public Member Functions inherited from CallbackBase< void >
virtual ~CallbackBase ()
 

Private Attributes

DelegateT * delegate_
 
CallbackMethod method_
 
const ClosureDataT closure_data_
 

Detailed Description

template<class DelegateT, typename ClosureDataT>
class BoundClosure< void, DelegateT, ClosureDataT >

Definition at line 153 of file async.h.

Member Typedef Documentation

template<class DelegateT , typename ClosureDataT >
typedef void(DelegateT::* BoundClosure< void, DelegateT, ClosureDataT >::CallbackMethod)(const ClosureDataT closure_data)

Definition at line 155 of file async.h.

Constructor & Destructor Documentation

template<class DelegateT , typename ClosureDataT >
BoundClosure< void, DelegateT, ClosureDataT >::BoundClosure ( CallbackMethod  method,
DelegateT *  delegate,
ClosureDataT  data 
)
inline

Definition at line 158 of file async.h.

Member Function Documentation

template<class DelegateT , typename ClosureDataT >
void BoundClosure< void, DelegateT, ClosureDataT >::operator() ( ) const
inlinevirtual

Implements CallbackBase< void >.

Definition at line 163 of file async.h.

Member Data Documentation

template<class DelegateT , typename ClosureDataT >
const ClosureDataT BoundClosure< void, DelegateT, ClosureDataT >::closure_data_
private

Definition at line 168 of file async.h.

template<class DelegateT , typename ClosureDataT >
DelegateT* BoundClosure< void, DelegateT, ClosureDataT >::delegate_
private

Definition at line 166 of file async.h.

template<class DelegateT , typename ClosureDataT >
CallbackMethod BoundClosure< void, DelegateT, ClosureDataT >::method_
private

Definition at line 167 of file async.h.


The documentation for this class was generated from the following file: