SourceMod::IHandleTypeDispatch Class Reference

Hooks type-specific Handle operations. More...

#include <public/IHandleSys.h>

List of all members.

Public Member Functions

virtual unsigned int GetDispatchVersion ()
virtual void OnHandleDestroy (HandleType_t type, void *object)=0
 Called when destroying a handle. Must be implemented.
virtual bool GetHandleApproxSize (HandleType_t type, void *object, unsigned int *pSize)
 Called to get the size of a handle's memory usage in bytes. Implementation is optional.


Detailed Description

Hooks type-specific Handle operations.

Definition at line 187 of file IHandleSys.h.


Member Function Documentation

virtual unsigned int SourceMod::IHandleTypeDispatch::GetDispatchVersion (  )  [inline, virtual]

Returns the Handle API version

Definition at line 191 of file IHandleSys.h.

virtual void SourceMod::IHandleTypeDispatch::OnHandleDestroy ( HandleType_t  type,
void *  object 
) [pure virtual]

Called when destroying a handle. Must be implemented.

Parameters:
type Handle type.
object Handle internal object.

virtual bool SourceMod::IHandleTypeDispatch::GetHandleApproxSize ( HandleType_t  type,
void *  object,
unsigned int *  pSize 
) [inline, virtual]

Called to get the size of a handle's memory usage in bytes. Implementation is optional.

Parameters:
type Handle type.
object Handle internal object.
pSize Pointer to store the approximate memory usage in bytes.
Returns:
True on success, false if not implemented.

Definition at line 213 of file IHandleSys.h.


The documentation for this class was generated from the following file:
Generated on Fri Nov 21 03:10:07 2008 for SourceMod SDK by  doxygen 1.5.1