![]() |
Leviathan
0.8.0.0
Leviathan game engine
|
Wraps an AngelScript object that is an implementation of ScriptSystem. More...
#include <ScriptSystemWrapper.h>
Public Member Functions | |
DLLEXPORT | ScriptSystemWrapper (const std::string &name, asIScriptObject *impl) |
DLLEXPORT | ~ScriptSystemWrapper () |
ScriptSystemWrapper (const ScriptSystemWrapper &other)=delete | |
ScriptSystemWrapper & | operator= (const ScriptSystemWrapper &other)=delete |
DLLEXPORT asIScriptObject * | GetASImplementationObject () |
Returns the ImplementationObject increasing refcount. More... | |
DLLEXPORT void | Init (GameWorld *world) |
DLLEXPORT void | Release () |
DLLEXPORT void | Run () |
DLLEXPORT void | CreateAndDestroyNodes () |
DLLEXPORT void | Clear () |
DLLEXPORT void | Suspend () |
DLLEXPORT void | Resume () |
Public Attributes | |
const std::string | Name |
Protected Member Functions | |
DLLEXPORT bool | _CallMethodOnUs (const std::string &methodname) |
Helper for reducing copy pasting between the functions that don't need extra parameters. More... | |
DLLEXPORT void | _ReleaseCachedFunctions () |
Wraps an AngelScript object that is an implementation of ScriptSystem.
Definition at line 44 of file ScriptSystemWrapper.h.
DLLEXPORT ScriptSystemWrapper::ScriptSystemWrapper | ( | const std::string & | name, |
asIScriptObject * | impl | ||
) |
Definition at line 12 of file ScriptSystemWrapper.cpp.
DLLEXPORT ScriptSystemWrapper::~ScriptSystemWrapper | ( | ) |
Definition at line 21 of file ScriptSystemWrapper.cpp.
|
delete |
|
protected |
Helper for reducing copy pasting between the functions that don't need extra parameters.
|
protected |
Must be called to not leak the cached function pointers (RunMethod, CreateAndDestroyNodesMethod)
Definition at line 206 of file ScriptSystemWrapper.cpp.
DLLEXPORT void ScriptSystemWrapper::Clear | ( | ) |
Definition at line 143 of file ScriptSystemWrapper.cpp.
DLLEXPORT void ScriptSystemWrapper::CreateAndDestroyNodes | ( | ) |
Definition at line 114 of file ScriptSystemWrapper.cpp.
DLLEXPORT asIScriptObject * ScriptSystemWrapper::GetASImplementationObject | ( | ) |
Returns the ImplementationObject increasing refcount.
Definition at line 31 of file ScriptSystemWrapper.cpp.
Definition at line 38 of file ScriptSystemWrapper.cpp.
|
delete |
DLLEXPORT void ScriptSystemWrapper::Release | ( | ) |
Definition at line 59 of file ScriptSystemWrapper.cpp.
DLLEXPORT void ScriptSystemWrapper::Resume | ( | ) |
Definition at line 186 of file ScriptSystemWrapper.cpp.
DLLEXPORT void ScriptSystemWrapper::Run | ( | ) |
Definition at line 87 of file ScriptSystemWrapper.cpp.
DLLEXPORT void ScriptSystemWrapper::Suspend | ( | ) |
Definition at line 165 of file ScriptSystemWrapper.cpp.
const std::string Leviathan::ScriptSystemWrapper::Name |
Definition at line 75 of file ScriptSystemWrapper.h.