RTT::scripting::StatementProcessor Class Reference

#include <StatementProcessor.hpp>

List of all members.

Public Member Functions

int execute (const std::string &code)
int execute (const std::string &code)
 StatementProcessor (TaskContext *tc)
 StatementProcessor (TaskContext *tc)
 ~StatementProcessor ()
 ~StatementProcessor ()

Private Attributes

D * d

Detailed Description

This class parses and executes a single scripting statement.

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

This class parses and executes a single scripting statement.

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

Definition at line 57 of file install/include/rtt/scripting/StatementProcessor.hpp.


Constructor & Destructor Documentation

RTT::scripting::StatementProcessor::StatementProcessor ( TaskContext tc  ) 
RTT::scripting::StatementProcessor::~StatementProcessor (  ) 
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:
-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.
int RTT::scripting::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.

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:50:16 2013