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

#include <Callback.h>

+ Inheritance diagram for Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >:

Public Member Functions

 _Callback (Class *object, Method method, ParamType1 param1, ParamType2 param2, ParamType3 param3, ParamType4 param4)
 
 _Callback (_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 > const &cb)
 

Protected Types

typedef void(Class::* Method) (ParamType1, ParamType2, ParamType3, ParamType4)
 

Protected Member Functions

void _Execute ()
 

Protected Attributes

Class * m_object
 
Method m_method
 
ParamType1 m_param1
 
ParamType2 m_param2
 
ParamType3 m_param3
 
ParamType4 m_param4
 

Detailed Description

template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
class Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >

Definition at line 26 of file Callback.h.

Member Typedef Documentation

template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
typedef void(Class::* Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::Method) (ParamType1, ParamType2, ParamType3, ParamType4)
protected

Definition at line 29 of file Callback.h.

Constructor & Destructor Documentation

template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::_Callback ( Class *  object,
Method  method,
ParamType1  param1,
ParamType2  param2,
ParamType3  param3,
ParamType4  param4 
)
inline

Definition at line 41 of file Callback.h.

42  : m_object(object), m_method(method), m_param1(param1), m_param2(param2), m_param3(param3), m_param4(param4) {}
Class * m_object
Definition: Callback.h:30
ParamType1 m_param1
Definition: Callback.h:32
Method m_method
Definition: Callback.h:31
ParamType2 m_param2
Definition: Callback.h:33
ParamType4 m_param4
Definition: Callback.h:35
ParamType3 m_param3
Definition: Callback.h:34
template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::_Callback ( _Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 > const &  cb)
inline

Definition at line 43 of file Callback.h.

44  : m_object(cb.object), m_method(cb.m_method), m_param1(cb.m_param1), m_param2(cb.m_param2), m_param3(cb.m_param3), m_param4(cb.m_param4) {}
Class * m_object
Definition: Callback.h:30
ParamType1 m_param1
Definition: Callback.h:32
Method m_method
Definition: Callback.h:31
ParamType2 m_param2
Definition: Callback.h:33
ParamType4 m_param4
Definition: Callback.h:35
ParamType3 m_param3
Definition: Callback.h:34

Member Function Documentation

template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
void Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::_Execute ( )
inlineprotected

Definition at line 36 of file Callback.h.

37  {
39  }
Class * m_object
Definition: Callback.h:30
ParamType1 m_param1
Definition: Callback.h:32
Method m_method
Definition: Callback.h:31
ParamType2 m_param2
Definition: Callback.h:33
ParamType4 m_param4
Definition: Callback.h:35
ParamType3 m_param3
Definition: Callback.h:34

Member Data Documentation

template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
Method Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::m_method
protected
template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
Class* Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::m_object
protected

Definition at line 30 of file Callback.h.

template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
ParamType1 Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::m_param1
protected
template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
ParamType2 Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::m_param2
protected
template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
ParamType3 Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::m_param3
protected
template<class Class, typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
ParamType4 Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::m_param4
protected

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