Wraps a nkAstraeus::lua::nkTasksWrap::LuaThread and offers functions for use in scripting. More...
Static Public Member Functions | |
static void | updateEnvironment (nkScripts::Environment *env, LogManager *targetLogManager) |
static void * | constructor (LogManager *logManager, const nkScripts::DataStack &stack) |
static void | destructor (void *toDestroy) |
static nkScripts::OutputValue | addTask (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | releaseTaskRef (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | run (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | askAbort (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | join (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | askAbortAndJoin (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | runScript (const nkScripts::DataStack &stack) |
Wraps a nkAstraeus::lua::nkTasksWrap::LuaThread and offers functions for use in scripting.
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
env | The environment to set up. |
targetLogManager | The target log manager, should logging happen within the populated methods. |
|
static |
Wrapper function for the constructor of the user type.
logManager | The target log manager, should logging happen within the populated methods. |
stack | The parameter stack. |
|
static |
Wrapper function for the destructor of the user type.
toDestroy | The data that has to be freed. |
|
static |
Wrapper function for the nkTasks::Thread::addTask().
stack | The parameter stack. |
|
static |
Wrapper function for the nkAstraeus::lua::LuaThread::releaseTaskRef().
stack | The parameter stack. |
|
static |
Wrapper function for the nkTasks::Task::run().
stack | The parameter stack. |
|
static |
Wrapper function for the nkTasks::Task::askAbort().
stack | The parameter stack. |
|
static |
Wrapper function for the nkTasks::Task::join().
stack | The parameter stack. |
|
static |
Wrapper function for the nkTasks::Task::askAbortAndJoin().
stack | The parameter stack. |
|
static |
Wrapper function for the nkAstraeus::lua::LuaThread::runScript().
stack | The parameter stack. |