#include <ScriptingEngine.h>
◆ ScriptingEngine()
catos::ScriptingEngine::ScriptingEngine |
( |
| ) |
|
◆ ~ScriptingEngine()
catos::ScriptingEngine::~ScriptingEngine |
( |
| ) |
|
◆ endScripts()
void catos::ScriptingEngine::endScripts |
( |
| ) |
|
◆ getInstance()
◆ registerClass()
template<class T >
void catos::ScriptingEngine::registerClass |
( |
const char * | name | ) |
|
|
inline |
◆ registerMethod()
template<class T , typename U >
void catos::ScriptingEngine::registerMethod |
( |
const char * | name, |
|
|
U T::* | ptr ) |
|
inline |
◆ registerNewScript()
void catos::ScriptingEngine::registerNewScript |
( |
const catos::string & | pathToPythonFile | ) |
|
First read the contents of the file given to us and validate it.
Create a scriptInfo
Find the name of the user defined script object
Do a nullptr here cuz we allocate the mem for a script obj in the ScriptingEngine::startScripts();
◆ registerProperty()
template<typename T , typename U >
void catos::ScriptingEngine::registerProperty |
( |
const char * | name, |
|
|
U T::* | ptr ) |
|
inline |
◆ startScripts()
void catos::ScriptingEngine::startScripts |
( |
| ) |
|
◆ updateScripts()
void catos::ScriptingEngine::updateScripts |
( |
| ) |
|
◆ Registry
The documentation for this class was generated from the following files: