SourceMod::ICallWrapper Class Reference

Wraps a C/C++ call. More...

#include <public/extensions/IBinTools.h>

List of all members.

Public Member Functions

virtual CallConvention GetCallConvention ()=0
 Returns the calling convention.
virtual const PassEncodeGetParamInfo (unsigned int num)=0
 Returns parameter info.
virtual const PassInfoGetReturnInfo ()=0
 Returns return type info.
virtual unsigned int GetParamCount ()=0
 Returns the number of parameters.
virtual void Execute (void *vParamStack, void *retBuffer)=0
 Execute the contained function.
virtual void Destroy ()=0
 Destroys all resources used by this object.


Detailed Description

Wraps a C/C++ call.

Definition at line 94 of file IBinTools.h.


Member Function Documentation

virtual CallConvention SourceMod::ICallWrapper::GetCallConvention (  )  [pure virtual]

Returns the calling convention.

Returns:
CallConvention value.

virtual const PassEncode* SourceMod::ICallWrapper::GetParamInfo ( unsigned int  num  )  [pure virtual]

Returns parameter info.

Parameters:
num Parameter number to get (starting from 0).
Returns:
A PassInfo pointer.

virtual const PassInfo* SourceMod::ICallWrapper::GetReturnInfo (  )  [pure virtual]

Returns return type info.

Returns:
A PassInfo pointer.

virtual unsigned int SourceMod::ICallWrapper::GetParamCount (  )  [pure virtual]

Returns the number of parameters.

Returns:
Number of parameters.

virtual void SourceMod::ICallWrapper::Execute ( void *  vParamStack,
void *  retBuffer 
) [pure virtual]

Execute the contained function.

Parameters:
vParamStack A blob of memory containing stack data.
retBuffer Buffer to store return value.


The documentation for this class was generated from the following file:
Generated on Fri Aug 29 01:10:16 2008 for SourceMod SDK by  doxygen 1.5.1