A Program represents a collection of instructions that can be stepwise executed.
More...
#include <ProgramInterface.hpp>
A Program represents a collection of instructions that can be stepwise executed.
Definition at line 60 of file ProgramInterface.hpp.
RTT::ProgramInterface::ProgramInterface |
( |
| ) |
|
RTT::ProgramInterface::~ProgramInterface |
( |
| ) |
|
|
virtual |
Clone this Program. This will produce a completely new instance, that has nothing in common with this one. It takes care to properly map identical DataSources to identical DataSources.
- Parameters
-
alreadyMappedData | A map of some DataSources used in this program to new DataSources that should replace them in the new Program. This is provided, because in some cases the outside world also keeps references to datasources used somewhere in this programgraph. It is then important that when this Program is copied, the outside world has a way to get a reference to the corresponding datasources in the new program. We do this by allowing it to map some datasources itself, and simply provide us a list of its mappings. |
Implemented in RTT::scripting::FunctionGraph.
virtual bool RTT::scripting::ProgramInterface::execute |
( |
| ) |
|
|
pure virtual |
virtual std::vector<base::AttributeBase*> RTT::scripting::ProgramInterface::getArguments |
( |
| ) |
const |
|
pure virtual |
virtual int RTT::scripting::ProgramInterface::getLineNumber |
( |
| ) |
const |
|
pure virtual |
virtual const std::string& RTT::scripting::ProgramInterface::getName |
( |
| ) |
const |
|
pure virtual |
virtual std::string RTT::scripting::ProgramInterface::getText |
( |
| ) |
const |
|
pure virtual |
bool RTT::scripting::ProgramInterface::inError |
( |
| ) |
const |
|
inline |
bool RTT::scripting::ProgramInterface::isPaused |
( |
| ) |
const |
|
inline |
bool RTT::scripting::ProgramInterface::isRunning |
( |
| ) |
const |
|
inline |
bool RTT::scripting::ProgramInterface::isStopped |
( |
| ) |
const |
|
inline |
Returns true if the program is not executing (stopped) or not loaded.
Definition at line 132 of file ProgramInterface.hpp.
virtual bool RTT::scripting::ProgramInterface::needsStart |
( |
| ) |
const |
|
pure virtual |
virtual bool RTT::scripting::ProgramInterface::pause |
( |
| ) |
|
|
pure virtual |
virtual void RTT::scripting::ProgramInterface::reset |
( |
| ) |
|
|
pure virtual |
virtual bool RTT::scripting::ProgramInterface::start |
( |
| ) |
|
|
pure virtual |
virtual bool RTT::scripting::ProgramInterface::step |
( |
| ) |
|
|
pure virtual |
virtual bool RTT::scripting::ProgramInterface::stepDone |
( |
| ) |
const |
|
pure virtual |
virtual bool RTT::scripting::ProgramInterface::stop |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: