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

#include <Callback.h>

Public Member Functions

 _SCallback (Method method, ParamType1 param1)
 
 _SCallback (_SCallback< ParamType1 > const &cb)
 

Protected Types

typedef void(* Method) (ParamType1)
 

Protected Member Functions

void _Execute ()
 

Protected Attributes

Method m_method
 
ParamType1 m_param1
 

Detailed Description

template<typename ParamType1>
class Oregon::_SCallback< ParamType1 >

Definition at line 188 of file Callback.h.

Member Typedef Documentation

template<typename ParamType1 >
typedef void(* Oregon::_SCallback< ParamType1 >::Method) (ParamType1)
protected

Definition at line 191 of file Callback.h.

Constructor & Destructor Documentation

template<typename ParamType1 >
Oregon::_SCallback< ParamType1 >::_SCallback ( Method  method,
ParamType1  param1 
)
inline

Definition at line 199 of file Callback.h.

200  : m_method(method), m_param1(param1) {}
template<typename ParamType1 >
Oregon::_SCallback< ParamType1 >::_SCallback ( _SCallback< ParamType1 > const &  cb)
inline

Definition at line 201 of file Callback.h.

202  : m_method(cb.m_method), m_param1(cb.m_param1) {}

Member Function Documentation

template<typename ParamType1 >
void Oregon::_SCallback< ParamType1 >::_Execute ( )
inlineprotected

Definition at line 194 of file Callback.h.

References Oregon::_Callback< Class, ParamType1, ParamType2, ParamType3, ParamType4 >::m_param1.

195  {
196  (*m_method)(m_param1);
197  }

Member Data Documentation

template<typename ParamType1 >
Method Oregon::_SCallback< ParamType1 >::m_method
protected

Definition at line 192 of file Callback.h.

template<typename ParamType1 >
ParamType1 Oregon::_SCallback< ParamType1 >::m_param1
protected

Definition at line 193 of file Callback.h.


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