39 #ifndef EXECUTABLE_INTERFACE_HPP 40 #define EXECUTABLE_INTERFACE_HPP 42 #include "../rtt-fwd.hpp" 43 #include "../rtt-config.h" 78 void unloaded() { this->unloading(); engine = 0;}
110 virtual bool execute() = 0;
void loaded(ExecutionEngine *ee)
Called by the ExecutionEngine ee to tell this object it is being loaded.
bool isLoaded()
Returns true if this object is loaded in an ExecutionEngine.
virtual void unloading()
Informs this object that it got unloaded from an ExecutionEngine.
An execution engine serialises (executes one after the other) the execution of all commands...
void unloaded()
Called by the ExecutionEngine ee to tell this object it is being unloaded.
virtual void loading()
Informs this object that it got loaded in an ExecutionEngine.
ExecutionEngine * getEngine()
Returns the ExecutionEngine this object is loaded into or null otherwise.
Objects that implement this interface are to be executed in the ExecutionEngine.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
virtual ~ExecutableInterface()