#include <RtcSubscriber.h>
Inheritance diagram for RTM::SubscriberTriggerdPeriodic:
Public Member Functions | |
SubscriberTriggerdPeriodic (OutPortBase *parent, InPort_ptr inport, const SubscriptionID id, SubscriberProfile profile) | |
virtual bool | update () |
Update data to subscribers. (pure virtual method). | |
virtual int | svc (void) |
Main part of SubscriberBase service (pure virtual method). | |
virtual int | open (void *args) |
Start SubscriberBase service. | |
virtual int | close (unsigned long flags) |
Stop SubscriberBase service. | |
virtual void | release () |
Stop subscriber service. | |
virtual SubscriberProfile | get_profile () |
Get SubscriberProfile. | |
virtual InPort_ptr | get_inport () |
Get InPort's object reference which subscribe this OutPort. | |
virtual std::string | get_id () |
Get InPort's object reference which subscribe this OutPort. | |
bool | is_running () |
Is thread running or not. | |
virtual void | stop_thread () |
Stop this task thread. Actually this method set member variable "m_Running" to false. User have to implement thread stop logic. | |
Protected Attributes | |
SubscriberProfile | m_Profile |
Request type. once or periodic. | |
InPort_ptr | m_pInPort |
Input port object reference. | |
OutPortBase * | m_pParent |
Parent outport object reference. | |
std::string | m_Id |
Subscription ID. | |
bool | m_Running |
Thread activity flag (true=running, false=stop). | |
NewData | m_NewData |
|
|
|
Stop SubscriberBase service.
|
|
Get InPort's object reference which subscribe this OutPort.
|
|
Get InPort's object reference which subscribe this OutPort.
|
|
Get SubscriberProfile.
|
|
Is thread running or not.
|
|
Start SubscriberBase service.
|
|
Stop subscriber service.
|
|
Stop this task thread. Actually this method set member variable "m_Running" to false. User have to implement thread stop logic.
|
|
Main part of SubscriberBase service (pure virtual method).
Implements RTM::SubscriberBase. |
|
Update data to subscribers. (pure virtual method).
Implements RTM::SubscriberBase. |
|
Subscription ID.
|
|
|
|
Input port object reference.
|
|
Parent outport object reference.
|
|
Request type. once or periodic.
|
|
Thread activity flag (true=running, false=stop).
|