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

#include <steam_api_common.h>

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

Public Types

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

Public Member Functions

 CCallResult ()
 ~CCallResult ()
void Set (SteamAPICall_t hAPICall, T *p, func_t func)
bool IsActive () const
void Cancel ()
void SetGameserverFlag ()

Private Member Functions

virtual void Run (void *pvParam) S_OVERRIDE
virtual void Run (void *pvParam, bool bIOFailure, SteamAPICall_t hSteamAPICall) S_OVERRIDE
virtual int GetCallbackSizeBytes () S_OVERRIDE
Private Member Functions inherited from CCallbackBase
 CCallbackBase ()
int GetICallback ()

Private Attributes

SteamAPICall_t m_hAPICall
T * m_pObj
func_t m_Func
Private Attributes inherited from CCallbackBase
uint8 m_nCallbackFlags
int m_iCallback

Additional Inherited Members

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

Detailed Description

template<class T, class P>
class CCallResult< T, P >

Definition at line 182 of file steam_api_common.h.

Member Typedef Documentation

◆ func_t

template<class T, class P>
typedef void(T::*) CCallResult< T, P >::func_t(P *, bool)

Definition at line 185 of file steam_api_common.h.

Constructor & Destructor Documentation

◆ CCallResult()

template<class T, class P>
CCallResult< T, P >::CCallResult ( )
inline

Definition at line 79 of file steam_api_internal.h.

◆ ~CCallResult()

template<class T, class P>
CCallResult< T, P >::~CCallResult ( )
inline

Definition at line 118 of file steam_api_internal.h.

Here is the call graph for this function:

Member Function Documentation

◆ Cancel()

template<class T, class P>
void CCallResult< T, P >::Cancel ( )
inline

Definition at line 108 of file steam_api_internal.h.

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

◆ GetCallbackSizeBytes()

template<class T, class P>
virtual int CCallResult< T, P >::GetCallbackSizeBytes ( )
inlineprivatevirtual

Implements CCallbackBase.

Definition at line 198 of file steam_api_common.h.

◆ IsActive()

template<class T, class P>
bool CCallResult< T, P >::IsActive ( ) const
inline

Definition at line 102 of file steam_api_internal.h.

◆ Run() [1/2]

template<class T, class P>
void CCallResult< T, P >::Run ( void * pvParam)
inlineprivatevirtual

Implements CCallbackBase.

Definition at line 124 of file steam_api_internal.h.

◆ Run() [2/2]

template<class T, class P>
void CCallResult< T, P >::Run ( void * pvParam,
bool bIOFailure,
SteamAPICall_t hSteamAPICall )
inlineprivatevirtual

Implements CCallbackBase.

Definition at line 131 of file steam_api_internal.h.

◆ Set()

template<class T, class P>
void CCallResult< T, P >::Set ( SteamAPICall_t hAPICall,
T * p,
func_t func )
inline

Definition at line 88 of file steam_api_internal.h.

Here is the call graph for this function:

◆ SetGameserverFlag()

template<class T, class P>
void CCallResult< T, P >::SetGameserverFlag ( )
inline

Definition at line 194 of file steam_api_common.h.

Member Data Documentation

◆ m_Func

template<class T, class P>
func_t CCallResult< T, P >::m_Func
private

Definition at line 202 of file steam_api_common.h.

◆ m_hAPICall

template<class T, class P>
SteamAPICall_t CCallResult< T, P >::m_hAPICall
private

Definition at line 200 of file steam_api_common.h.

◆ m_pObj

template<class T, class P>
T* CCallResult< T, P >::m_pObj
private

Definition at line 201 of file steam_api_common.h.


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