sample RT component which has one data input port and one data output port More...
#include <SampleComponent.h>
Public Member Functions | |
virtual RTC::ReturnCode_t | onActivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onDeactivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onExecute (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onInitialize () |
bool | resetOffset (double dir) |
SampleComponent (RTC::Manager *manager) | |
Constructor. | |
virtual | ~SampleComponent () |
Destructor. | |
Protected Attributes | |
TimedDoubleSeq | m_q |
TimedDoubleSeq | m_qCurrent |
InPort< TimedDoubleSeq > | m_qCurrentIn |
OutPort< TimedDoubleSeq > | m_qOut |
RTC::CorbaPort | m_SampleComponentPort |
SampleComponent_impl | m_service0 |
Private Attributes | |
int | dummy |
int | loop |
unsigned int | m_debugLevel |
double | offset |
sample RT component which has one data input port and one data output port
Definition at line 37 of file SampleComponent.h.
SampleComponent::SampleComponent | ( | RTC::Manager * | manager | ) |
Constructor.
manager | pointer to the Manager |
Definition at line 32 of file SampleComponent.cpp.
SampleComponent::~SampleComponent | ( | ) | [virtual] |
Destructor.
Definition at line 47 of file SampleComponent.cpp.
RTC::ReturnCode_t SampleComponent::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 106 of file SampleComponent.cpp.
RTC::ReturnCode_t SampleComponent::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 112 of file SampleComponent.cpp.
RTC::ReturnCode_t SampleComponent::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 124 of file SampleComponent.cpp.
RTC::ReturnCode_t SampleComponent::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 54 of file SampleComponent.cpp.
bool SampleComponent::resetOffset | ( | double | dir | ) |
Definition at line 118 of file SampleComponent.cpp.
int SampleComponent::dummy [private] |
Definition at line 142 of file SampleComponent.h.
int SampleComponent::loop [private] |
Definition at line 139 of file SampleComponent.h.
unsigned int SampleComponent::m_debugLevel [private] |
Definition at line 141 of file SampleComponent.h.
TimedDoubleSeq SampleComponent::m_q [protected] |
Definition at line 116 of file SampleComponent.h.
TimedDoubleSeq SampleComponent::m_qCurrent [protected] |
Definition at line 109 of file SampleComponent.h.
InPort<TimedDoubleSeq> SampleComponent::m_qCurrentIn [protected] |
Definition at line 110 of file SampleComponent.h.
OutPort<TimedDoubleSeq> SampleComponent::m_qOut [protected] |
Definition at line 117 of file SampleComponent.h.
RTC::CorbaPort SampleComponent::m_SampleComponentPort [protected] |
Definition at line 128 of file SampleComponent.h.
SampleComponent_impl SampleComponent::m_service0 [protected] |
Definition at line 134 of file SampleComponent.h.
double SampleComponent::offset [private] |
Definition at line 140 of file SampleComponent.h.