API Documentation
SchedulerTaskWrapper.h
1 // SchedulerTaskWrapper.h
3 //
5 
7 {
24  {
25  public :
26 
27  // Env
34  static void updateEnvironment (nkScripts::Environment* env, LogManager* targetLogManager) ;
35 
36  // Callbacks
37  // Constructor, destructor
50  static void* constructor (nkScripts::Environment* env, LogManager* targetLogManager, const nkScripts::DataStack& stack) ;
56  static void destructor (void* toDestroy) ;
57  // Getters
68  static nkScripts::OutputValue getWorkResult (void* data) ;
91  // Setters
102  static void setWorkFunc (const nkScripts::DataStack& stack) ;
113  static void setInitScript (const nkScripts::DataStack& stack) ;
124  static void setInputBinaryData (const nkScripts::DataStack& stack) ;
135  static void setOutputBinaryData (const nkScripts::DataStack& stack) ;
136  // UserData
181  } ;
182 }
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::getInputUserData
static nkScripts::OutputValue getInputUserData(const nkScripts::DataStack &stack)
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::setWorkFunc
static void setWorkFunc(const nkScripts::DataStack &stack)
nkAstraeus::nkTasksWrap
Encompasses the wrapping of nkTasks for scripting.
Definition: Constants.h:7
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::destructor
static void destructor(void *toDestroy)
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::getOutputUserData
static nkScripts::OutputValue getOutputUserData(const nkScripts::DataStack &stack)
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::getOutputBinaryData
static nkScripts::OutputValue getOutputBinaryData(void *data)
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::setOutputBinaryData
static void setOutputBinaryData(const nkScripts::DataStack &stack)
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::addInputUserData
static nkScripts::OutputValue addInputUserData(const nkScripts::DataStack &stack)
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::setInitScript
static void setInitScript(const nkScripts::DataStack &stack)
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env, LogManager *targetLogManager)
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper
Wraps a nkTasks::Task and offers functions for use in scripting.
Definition: SchedulerTaskWrapper.h:24
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::getInputBinaryData
static nkScripts::OutputValue getInputBinaryData(void *data)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::LogManager
Responsible for logging all messages from the component. By registering a nkLog::Logger inside,...
Definition: LogManager.h:13
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::setInputBinaryData
static void setInputBinaryData(const nkScripts::DataStack &stack)
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::addOutputUserData
static nkScripts::OutputValue addOutputUserData(const nkScripts::DataStack &stack)
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::getWorkResult
static nkScripts::OutputValue getWorkResult(void *data)
nkAstraeus::nkTasksWrap::SchedulerTaskWrapper::constructor
static void * constructor(nkScripts::Environment *env, LogManager *targetLogManager, const nkScripts::DataStack &stack)