Public Member Functions | |
virtual RTC::InPortConsumer * | clone () const |
CounterConsumer (CounterConsumer *component=NULL) | |
virtual int | getCount () const |
virtual void | init (coil::Properties &prop) |
Initializing configuration. | |
virtual void | publishInterfaceProfile (SDOPackage::NVList &properties) |
Publish InterfaceProfile information. | |
virtual void | push () |
virtual InPortConsumer::ReturnCode | put (const cdrMemoryStream &data) |
Send data to the destination port. | |
virtual bool | subscribeInterface (const SDOPackage::NVList &) |
Subscribe the data send notification. | |
virtual void | unsubscribeInterface (const SDOPackage::NVList &) |
Unsubscribe the data send notification. | |
virtual | ~CounterConsumer () |
Private Attributes | |
CounterConsumer * | _component |
int | _count |
Definition at line 313 of file PublisherPeriodicTests.cpp.
PublisherPeriodic::CounterConsumer::CounterConsumer | ( | CounterConsumer * | component = NULL | ) | [inline] |
Definition at line 317 of file PublisherPeriodicTests.cpp.
virtual PublisherPeriodic::CounterConsumer::~CounterConsumer | ( | ) | [inline, virtual] |
Definition at line 320 of file PublisherPeriodicTests.cpp.
virtual RTC::InPortConsumer* PublisherPeriodic::CounterConsumer::clone | ( | ) | const [inline, virtual] |
Definition at line 332 of file PublisherPeriodicTests.cpp.
virtual int PublisherPeriodic::CounterConsumer::getCount | ( | ) | const [inline, virtual] |
Definition at line 350 of file PublisherPeriodicTests.cpp.
virtual void PublisherPeriodic::CounterConsumer::init | ( | coil::Properties & | prop | ) | [inline, virtual] |
Initializing configuration.
This operation would be called to configure this consumer in initialization.
Implements RTC::InPortConsumer.
Definition at line 355 of file PublisherPeriodicTests.cpp.
virtual void PublisherPeriodic::CounterConsumer::publishInterfaceProfile | ( | SDOPackage::NVList & | properties | ) | [inline, virtual] |
Publish InterfaceProfile information.
Publish interfaceProfile information. Check the dataport.interface_type value of the NameValue object specified by an argument in property information and get information only when the interface type of the specified port is matched.
properties | Properties to get InterfaceProfile information |
Implements RTC::InPortConsumer.
Definition at line 362 of file PublisherPeriodicTests.cpp.
virtual void PublisherPeriodic::CounterConsumer::push | ( | ) | [inline, virtual] |
Definition at line 322 of file PublisherPeriodicTests.cpp.
virtual InPortConsumer::ReturnCode PublisherPeriodic::CounterConsumer::put | ( | const cdrMemoryStream & | data | ) | [inline, virtual] |
Send data to the destination port.
Pure virtual function to send data to the destination port.
This function might the following return codes
Implements RTC::InPortConsumer.
Definition at line 358 of file PublisherPeriodicTests.cpp.
virtual bool PublisherPeriodic::CounterConsumer::subscribeInterface | ( | const SDOPackage::NVList & | properties | ) | [inline, virtual] |
Subscribe the data send notification.
Pure virtual function to subscribe the data send notification based on specified property information.
properties | Properties for reference when subscribing |
Implements RTC::InPortConsumer.
Definition at line 340 of file PublisherPeriodicTests.cpp.
virtual void PublisherPeriodic::CounterConsumer::unsubscribeInterface | ( | const SDOPackage::NVList & | properties | ) | [inline, virtual] |
Unsubscribe the data send notification.
Pure virtual function to unsubscribe the data send notification.
properties | Properties for reference when unsubscribing |
Implements RTC::InPortConsumer.
Definition at line 345 of file PublisherPeriodicTests.cpp.
Definition at line 368 of file PublisherPeriodicTests.cpp.
int PublisherPeriodic::CounterConsumer::_count [private] |
Definition at line 367 of file PublisherPeriodicTests.cpp.