This class parses and executes a single scripting statement. More...
#include <rtt/scripting/StatementProcessor.hpp>
Public Member Functions | |
StatementProcessor (TaskContext *tc) | |
int | execute (const std::string &code) |
Execute a script statement. | |
void | checkFinished () |
Check if commands are finished and free resources if so. | |
DispatchInterface::shared_ptr | getCommand (int cnr) |
Return the command with the ticket number cnr. |
This class parses and executes a single scripting statement.
Definition at line 54 of file StatementProcessor.hpp.
int RTT::StatementProcessor::execute | ( | const std::string & | code | ) |
Execute a script statement.
-1 | a parse error occured. | |
0 | statement executed |