|
OrocosComponentLibrary
2.9.0
|
Every component inherits from the 'RTT::TaskContext' class. More...
Public Member Functions | |
| HelloWorld (std::string name) | |
| This example sets the interface up in the Constructor of the component. | |
Protected Member Functions | |
| std::string | mymethod () |
| An operation we want to add to our interface. | |
| bool | sayWorld (const std::string &word) |
| This one is executed in our own thread. | |
| void | updateHook () |
Protected Attributes | |
Name-Value parameters | |
| std::string | property |
| Properties take a name, a value and a description and are suitable for XML. | |
| bool | flag |
| Attribute that you can toggle to influence what is printed in updateHook() | |
| std::string | attribute |
| Attributes are aliased to class variables. | |
| std::string | constant |
| Constants are aliased, but can only be changed from the component itself. | |
Input-Output ports | |
| RTT::OutputPort< std::string > | outport |
| We publish our data through this RTT::OutputPort. More... | |
| RTT::InputPort< std::string > | bufferport |
| This RTT::InputPort buffers incoming data. | |
Every component inherits from the 'RTT::TaskContext' class.
This base class allow a user to add a primitive to the interface and contain an RTT::ExecutionEngine which executes application code.
Definition at line 34 of file HelloWorld.cpp.
|
protected |
We publish our data through this RTT::OutputPort.
Definition at line 72 of file HelloWorld.cpp.
1.8.11