Classes | Public Member Functions | Private Attributes | List of all members
RTT::scripting::StatementProcessor Class Reference

#include <StatementProcessor.hpp>

Classes

struct  D
 

Public Member Functions

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

Private Attributes

Dd
 

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.

Definition at line 57 of file StatementProcessor.hpp.

Constructor & Destructor Documentation

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

Definition at line 174 of file StatementProcessor.cpp.

RTT::scripting::StatementProcessor::~StatementProcessor ( )

Definition at line 180 of file StatementProcessor.cpp.

Member Function Documentation

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

Execute a script statement.

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

Definition at line 184 of file StatementProcessor.cpp.

Member Data Documentation

D* RTT::scripting::StatementProcessor::d
private

Definition at line 59 of file StatementProcessor.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:46