Orocos Real-Time Toolkit  2.9.0
Public Member Functions | List of all members
RTT::scripting::StatementProcessor Class Reference

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

#include <rtt/scripting/StatementProcessor.hpp>

Public Member Functions

 StatementProcessor (TaskContext *tc)
 ~StatementProcessor ()
int execute (const std::string &code)
 Execute a script statement. More...

Detailed Description

This class parses and executes a single scripting statement.

This class is full of hard-coded stuff and badly maintained. See ScriptingService::eval for a clean replacement.

Definition at line 57 of file StatementProcessor.hpp.

Constructor & Destructor Documentation

RTT::scripting::StatementProcessor::StatementProcessor ( TaskContext tc)
RTT::scripting::StatementProcessor::~StatementProcessor ( )

Member Function Documentation

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

Execute a script statement.

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

Referenced by RTT::scripting::ScriptingService::execute().

The documentation for this class was generated from the following file: