Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

RTM::SubscriberTriggerdPeriodic Class Reference

#include <RtcSubscriber.h>

Inheritance diagram for RTM::SubscriberTriggerdPeriodic:

RTM::SubscriberBase RTM::SubsProfileBase List of all members.

Public Member Functions

 SubscriberTriggerdPeriodic (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::OutPortBasem_pParent
 Parent outport object reference.
bool m_Running
 Thread activity flag (true=running, false=stop).
NewData m_NewData
SubscriptionProfile m_Profile

Constructor & Destructor Documentation

RTM::SubscriberTriggerdPeriodic::SubscriberTriggerdPeriodic RTM::OutPortBase parent,
SubscriptionProfile &  profile
 


Member Function Documentation

virtual int RTM::SubscriberBase::close unsigned long  flags  )  [virtual, inherited]
 

Stop SubscriberBase service.

virtual bool RTM::SubsProfileBase::getEventBase  )  [virtual, inherited]
 

virtual SubscriptionID RTM::SubsProfileBase::getId  )  [virtual, inherited]
 

virtual InPort_ptr RTM::SubsProfileBase::getInPort  )  [virtual, inherited]
 

virtual OutPort_ptr RTM::SubsProfileBase::getOutPort  )  [virtual, inherited]
 

virtual SubscriptionProfile RTM::SubsProfileBase::getSubsProfile  )  [virtual, inherited]
 

virtual SubscriptionType RTM::SubsProfileBase::getType  )  [virtual, inherited]
 

bool RTM::SubscriberBase::is_running  )  [inline, inherited]
 

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 int RTM::SubscriberBase::open void *  args  )  [virtual, inherited]
 

Start SubscriberBase service.

virtual void RTM::SubscriberBase::release  )  [virtual, inherited]
 

Stop subscriber service.

virtual bool RTM::SubsProfileBase::setEventBase bool  event_base  )  [virtual, inherited]
 

virtual bool RTM::SubsProfileBase::setId std::string  id  )  [virtual, inherited]
 

virtual bool RTM::SubsProfileBase::setId const char *  id  )  [virtual, inherited]
 

virtual bool RTM::SubsProfileBase::setInPort InPort_ptr  in_port  )  [virtual, inherited]
 

virtual bool RTM::SubsProfileBase::setOutPort OutPort_ptr  out_port  )  [virtual, inherited]
 

virtual void RTM::SubsProfileBase::setSubsProfile SubscriptionProfile &  subs  )  [virtual, inherited]
 

virtual bool RTM::SubsProfileBase::setType SubscriptionType  type  )  [virtual, inherited]
 

virtual void RTM::SubscriberBase::stop_thread  )  [virtual, inherited]
 

Stop this task thread. Actually this method set member variable "m_Running" to false. User have to implement thread stop logic.

virtual int RTM::SubscriberTriggerdPeriodic::svc void   )  [inline, virtual]
 

Main part of SubscriberBase service (pure virtual method).

Implements RTM::SubscriberBase.

virtual bool RTM::SubscriberTriggerdPeriodic::update  )  [inline, virtual]
 

Update data to subscribers. (pure virtual method).

Implements RTM::SubscriberBase.


Member Data Documentation

NewData RTM::SubscriberBase::m_NewData [protected, inherited]
 

RTM::OutPortBase* RTM::SubscriberBase::m_pParent [protected, inherited]
 

Parent outport object reference.

SubscriptionProfile RTM::SubsProfileBase::m_Profile [protected, inherited]
 

bool RTM::SubscriberBase::m_Running [protected, inherited]
 

Thread activity flag (true=running, false=stop).


The documentation for this class was generated from the following file:
Generated on Sat Oct 28 02:28:17 2006 for OpenRTM by  doxygen 1.4.1