|
Public Member Functions |
| SubscriberTriggerd (RTM::OutPortBase *parent, SubscriptionProfile &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.
|
bool | is_running () |
| Get SubscriberProfile.
Get InPort's object reference which subscribe this OutPort.
Get InPort's object reference which subscribe this OutPort.
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.
|
virtual SubscriptionProfile | getSubsProfile () |
virtual void | setSubsProfile (SubscriptionProfile &subs) |
virtual SubscriptionType | getType () |
virtual bool | setType (SubscriptionType type) |
virtual SubscriptionID | getId () |
virtual bool | setId (const char *id) |
virtual bool | setId (std::string id) |
virtual InPort_ptr | getInPort () |
virtual bool | setInPort (InPort_ptr in_port) |
virtual OutPort_ptr | getOutPort () |
virtual bool | setOutPort (OutPort_ptr out_port) |
virtual bool | getEventBase () |
virtual bool | setEventBase (bool event_base) |
Protected Attributes |
RTM::OutPortBase * | m_pParent |
| Parent outport object reference.
|
bool | m_Running |
| Thread activity flag (true=running, false=stop).
|
NewData | m_NewData |
SubscriptionProfile | m_Profile |