SourceMod::INativeInterface Class Reference

Factory for dealing with native invocations. More...

#include <public/INativeInvoker.h>

Inherits SourceMod::SMInterface.

Inheritance diagram for SourceMod::INativeInterface:

Inheritance graph
[legend]
Collaboration diagram for SourceMod::INativeInterface:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual IPluginRuntime * CreateRuntime (const char *name, size_t bytes)=0
 Creates a virtual plugin. This can be used as an environment to invoke natives.
virtual INativeInvokerCreateInvoker ()=0
 Creates an object that can be used to invoke a single native code.

Detailed Description

Factory for dealing with native invocations.

Definition at line 83 of file INativeInvoker.h.


Member Function Documentation

virtual IPluginRuntime* SourceMod::INativeInterface::CreateRuntime ( const char *  name,
size_t  bytes 
) [pure virtual]

Creates a virtual plugin. This can be used as an environment to invoke natives.

IPluginRuntime objects must be freed with the delete operator.

Parameters:
name Name, or NULL for anonymous.
bytes Number of bytes for memory (NINVOKE_DEFAULT_MEMORY recommended).
Returns:
New runtime, or NULL on failure.

virtual INativeInvoker* SourceMod::INativeInterface::CreateInvoker (  )  [pure virtual]

Creates an object that can be used to invoke a single native code.

Returns:
New native invoker (free with delete).


The documentation for this class was generated from the following file:
Generated on Thu Mar 5 14:05:27 2009 for SourceMod SDK by  doxygen 1.5.1