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

#include <Callback.h>

Public Member Functions

 _SCallback (Method method, ParamType1 param1, ParamType2 param2, ParamType3 param3, ParamType4 param4)
 
 _SCallback (_SCallback< ParamType1, ParamType2, ParamType3, ParamType4 > const &cb)
 

Protected Types

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

Protected Member Functions

void _Execute ()
 

Protected Attributes

Method m_method
 
ParamType1 m_param1
 
ParamType2 m_param2
 
ParamType3 m_param3
 
ParamType4 m_param4
 

Detailed Description

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

Definition at line 128 of file Callback.h.

Member Typedef Documentation

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

Definition at line 131 of file Callback.h.

Constructor & Destructor Documentation

template<typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
Oregon::_SCallback< ParamType1, ParamType2, ParamType3, ParamType4 >::_SCallback ( Method  method,
ParamType1  param1,
ParamType2  param2,
ParamType3  param3,
ParamType4  param4 
)
inline

Definition at line 142 of file Callback.h.

143  : m_method(method), m_param1(param1), m_param2(param2), m_param3(param3), m_param4(param4) {}
ParamType3 m_param3
Definition: Callback.h:135
ParamType4 m_param4
Definition: Callback.h:136
ParamType2 m_param2
Definition: Callback.h:134
ParamType1 m_param1
Definition: Callback.h:133
template<typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
Oregon::_SCallback< ParamType1, ParamType2, ParamType3, ParamType4 >::_SCallback ( _SCallback< ParamType1, ParamType2, ParamType3, ParamType4 > const &  cb)
inline

Definition at line 144 of file Callback.h.

145  : 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) {}
ParamType3 m_param3
Definition: Callback.h:135
ParamType4 m_param4
Definition: Callback.h:136
ParamType2 m_param2
Definition: Callback.h:134
ParamType1 m_param1
Definition: Callback.h:133

Member Function Documentation

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

Definition at line 137 of file Callback.h.

138  {
139  (*m_method)(m_param1, m_param2, m_param3, m_param4);
140  }
ParamType3 m_param3
Definition: Callback.h:135
ParamType4 m_param4
Definition: Callback.h:136
ParamType2 m_param2
Definition: Callback.h:134
ParamType1 m_param1
Definition: Callback.h:133

Member Data Documentation

template<typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
Method Oregon::_SCallback< ParamType1, ParamType2, ParamType3, ParamType4 >::m_method
protected

Definition at line 132 of file Callback.h.

template<typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
ParamType1 Oregon::_SCallback< ParamType1, ParamType2, ParamType3, ParamType4 >::m_param1
protected

Definition at line 133 of file Callback.h.

template<typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
ParamType2 Oregon::_SCallback< ParamType1, ParamType2, ParamType3, ParamType4 >::m_param2
protected

Definition at line 134 of file Callback.h.

template<typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
ParamType3 Oregon::_SCallback< ParamType1, ParamType2, ParamType3, ParamType4 >::m_param3
protected

Definition at line 135 of file Callback.h.

template<typename ParamType1 = void, typename ParamType2 = void, typename ParamType3 = void, typename ParamType4 = void>
ParamType4 Oregon::_SCallback< ParamType1, ParamType2, ParamType3, ParamType4 >::m_param4
protected

Definition at line 136 of file Callback.h.


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