OregonCore  revision be9e804-git
Your Favourite TBC server
Oregon::Callback< Class, ParamType1, ParamType2 > Class Template Reference

#include <Callback.h>

+ Inheritance diagram for Oregon::Callback< Class, ParamType1, ParamType2 >:

Public Member Functions

 Callback (Class *object, typename C2::Method method, ParamType1 param1, ParamType2 param2)
 
- Public Member Functions inherited from Oregon::_ICallback< _Callback< Class, ParamType1, ParamType2 > >
 _ICallback (_Callback< Class, ParamType1, ParamType2 > const &cb)
 
void Execute ()
 
- Public Member Functions inherited from Oregon::_Callback< Class, ParamType1, ParamType2 >
 _Callback (Class *object, Method method, ParamType1 param1, ParamType2 param2)
 
 _Callback (_Callback< Class, ParamType1, ParamType2 > const &cb)
 
- Public Member Functions inherited from Oregon::ICallback
virtual ~ICallback ()
 

Private Types

typedef _Callback< Class, ParamType1, ParamType2 > C2
 

Additional Inherited Members

- Protected Types inherited from Oregon::_Callback< Class, ParamType1, ParamType2 >
typedef void(Class::* Method) (ParamType1, ParamType2)
 
- Protected Member Functions inherited from Oregon::_Callback< Class, ParamType1, ParamType2 >
void _Execute ()
 
- Protected Attributes inherited from Oregon::_Callback< Class, ParamType1, ParamType2 >
Class * m_object
 
Method m_method
 
ParamType1 m_param1
 
ParamType2 m_param2
 

Detailed Description

template<class Class, typename ParamType1, typename ParamType2>
class Oregon::Callback< Class, ParamType1, ParamType2 >

Definition at line 268 of file Callback.h.

Member Typedef Documentation

template<class Class , typename ParamType1 , typename ParamType2 >
typedef _Callback< Class, ParamType1, ParamType2 > Oregon::Callback< Class, ParamType1, ParamType2 >::C2
private

Definition at line 272 of file Callback.h.

Constructor & Destructor Documentation

template<class Class , typename ParamType1 , typename ParamType2 >
Oregon::Callback< Class, ParamType1, ParamType2 >::Callback ( Class *  object,
typename C2::Method  method,
ParamType1  param1,
ParamType2  param2 
)
inline

Definition at line 274 of file Callback.h.

275  : _ICallback< C2 >(C2(object, method, param1, param2)) {}
_Callback< Class, ParamType1, ParamType2 > C2
Definition: Callback.h:272

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