OrocosComponentLibrary  2.8.3
Public Member Functions | Protected Member Functions | List of all members
HelloWorld Class Reference

Every component inherits from the 'RTT::TaskContext' class. More...

Inheritance diagram for HelloWorld:

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.
 

Detailed Description

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.

Member Data Documentation

RTT::OutputPort<std::string> outport
protected

We publish our data through this RTT::OutputPort.

Definition at line 72 of file HelloWorld.cpp.


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