RTT::StatementProcessor Class Reference

This class parses and executes a single scripting statement. More...

#include <rtt/scripting/StatementProcessor.hpp>

List of all members.

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.

Detailed Description

This class parses and executes a single scripting statement.

Definition at line 54 of file StatementProcessor.hpp.


Member Function Documentation

int RTT::StatementProcessor::execute ( const std::string &  code  ) 

Execute a script statement.

Return values:
-1 a parse error occured.
0 statement executed
Returns:
a positive number if it is a command, which is the ticket number of the command.

The documentation for this class was generated from the following file:
Generated on Thu Dec 23 13:22:44 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3