Rise
The Vieneo Province
Loading...
Searching...
No Matches
CCallback< T, P, bGameserver > Class Template Reference

#include <steam_api_common.h>

Inheritance diagram for CCallback< T, P, bGameserver >:
[legend]
Collaboration diagram for CCallback< T, P, bGameserver >:
[legend]

Public Types

typedef void(T::*) func_t(P *)

Public Member Functions

 CCallback (T *pObj, func_t func)
void Register (T *pObj, func_t func)
void Unregister ()
Public Member Functions inherited from CCallbackImpl< sizeof(P) >
virtual ~CCallbackImpl ()
void SetGameserverFlag ()

Protected Member Functions

virtual void Run (void *pvParam) S_OVERRIDE
Protected Member Functions inherited from CCallbackImpl< sizeof(P) >
virtual int GetCallbackSizeBytes () S_OVERRIDE
Protected Member Functions inherited from CCallbackBase
 CCallbackBase ()
virtual void Run (void *pvParam, bool bIOFailure, SteamAPICall_t hSteamAPICall)=0
int GetICallback ()

Protected Attributes

T * m_pObj
func_t m_Func
Protected Attributes inherited from CCallbackBase
uint8 m_nCallbackFlags
int m_iCallback

Additional Inherited Members

Protected Types inherited from CCallbackBase
enum  { k_ECallbackFlagsRegistered = 0x01 , k_ECallbackFlagsGameServer = 0x02 }

Detailed Description

template<class T, class P, bool bGameserver = false>
class CCallback< T, P, bGameserver >

Definition at line 213 of file steam_api_common.h.

Member Typedef Documentation

◆ func_t

template<class T, class P, bool bGameserver = false>
typedef void(T::*) CCallback< T, P, bGameserver >::func_t(P *)

Definition at line 216 of file steam_api_common.h.

Constructor & Destructor Documentation

◆ CCallback()

template<class T, class P, bool bGameserver>
CCallback< T, P, bGameserver >::CCallback ( T * pObj,
func_t func )
inline

Definition at line 141 of file steam_api_internal.h.

Here is the call graph for this function:

Member Function Documentation

◆ Register()

template<class T, class P, bool bGameserver>
void CCallback< T, P, bGameserver >::Register ( T * pObj,
func_t func )
inline

Definition at line 152 of file steam_api_internal.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Run()

template<class T, class P, bool bGameserver>
void CCallback< T, P, bGameserver >::Run ( void * pvParam)
inlineprotectedvirtual

Implements CCallbackImpl< sizeof(P) >.

Definition at line 174 of file steam_api_internal.h.

◆ Unregister()

template<class T, class P, bool bGameserver>
void CCallback< T, P, bGameserver >::Unregister ( )
inline

Definition at line 167 of file steam_api_internal.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_Func

template<class T, class P, bool bGameserver = false>
func_t CCallback< T, P, bGameserver >::m_Func
protected

Definition at line 229 of file steam_api_common.h.

◆ m_pObj

template<class T, class P, bool bGameserver = false>
T* CCallback< T, P, bGameserver >::m_pObj
protected

Definition at line 228 of file steam_api_common.h.


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