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

RTC::OutPortBase Class Reference

Output port base class. More...

#include <OutPortBase.h>

Inheritance diagram for RTC::OutPortBase:

RTC::OutPort< DataType, Buffer > List of all members.

Public Member Functions

 OutPortBase (const char *name)
 A constructor of OutPortBase class.
virtual ~OutPortBase ()
 A destructor of OutPortBase class.
const char * name ()
 OutPort's name.
void attach (const char *id, PublisherBase *publisher)
 Attach a publisher.
void attach_front (const char *id, PublisherBase *publisher)
 Attach a publisher.
void attach_back (const char *id, PublisherBase *publisher)
 Attach a publisher.
PublisherBasedetach (const char *id)
 Detach a publisher.
void notify ()
 Notify data update.

Protected Attributes

std::string m_name
std::vector< Publisher * > m_publishers
 Publisher list.

Classes

struct  Publisher
 Publisher struct. More...

Detailed Description

Output port base class.

The base class of OutPort<T> s which are implementations of OutPort


Constructor & Destructor Documentation

RTC::OutPortBase::OutPortBase const char *  name  )  [inline]
 

A constructor of OutPortBase class.

Constructor of OutPortBase.

virtual RTC::OutPortBase::~OutPortBase  )  [virtual]
 

A destructor of OutPortBase class.

Destructor of OutPortBase.


Member Function Documentation

void RTC::OutPortBase::attach const char *  id,
PublisherBase publisher
 

Attach a publisher.

Attach a publisher to observe OutPort.

void RTC::OutPortBase::attach_back const char *  id,
PublisherBase publisher
 

Attach a publisher.

Attach a publisher to the taile of the Publisher list.

void RTC::OutPortBase::attach_front const char *  id,
PublisherBase publisher
 

Attach a publisher.

Attach a publisher to the head of the Publisher list.

PublisherBase* RTC::OutPortBase::detach const char *  id  ) 
 

Detach a publisher.

Detach a publisher to observe OutPort.

const char* RTC::OutPortBase::name  )  [inline]
 

OutPort's name.

This operation returns OutPort's name

void RTC::OutPortBase::notify  ) 
 

Notify data update.

This operation notify data update to Publishers


Member Data Documentation

std::string RTC::OutPortBase::m_name [protected]
 

std::vector<Publisher*> RTC::OutPortBase::m_publishers [protected]
 

Publisher list.


The documentation for this class was generated from the following file:
Generated on Fri Oct 5 05:16:04 2007 for OpenRTM by  doxygen 1.4.1