RTC::OutPortConnector Class Reference

InPortConnector base class. More...

#include <OutPortConnector.h>

Inheritance diagram for RTC::OutPortConnector:

RTC::ConnectorBase RTC::DataPortStatus RTC::OutPortPullConnector RTC::OutPortPushConnector

List of all members.

Public Member Functions

DATAPORTSTATUS_ENUM OutPortConnector (ConnectorBase::Profile &profile)
 Constructor.
virtual ~OutPortConnector ()
 Destructor.
const Profile & profile ()
 Getting Profile.
const char * id ()
 Getting Connector ID.
const char * name ()
 Getting Connector name.
virtual ReturnCode disconnect ()=0
 Disconnect connection.
virtual CdrBufferBasegetBuffer ()=0
 Getting Buffer.
virtual ReturnCode write (const cdrMemoryStream &data)=0
 Destructor.

Protected Attributes

Logger rtclog
Profile m_profile


Detailed Description

InPortConnector base class.

The base class to derive subclasses for OutPort's Push/Pull Connectors

Since:
1.0.0

Constructor & Destructor Documentation

DATAPORTSTATUS_ENUM RTC::OutPortConnector::OutPortConnector ( ConnectorBase::Profile profile  ) 

Constructor.

virtual RTC::OutPortConnector::~OutPortConnector (  )  [virtual]

Destructor.


Member Function Documentation

const Profile& RTC::OutPortConnector::profile (  )  [virtual]

Getting Profile.

This operation returns Connector Profile

Implements RTC::ConnectorBase.

const char* RTC::OutPortConnector::id (  )  [virtual]

Getting Connector ID.

This operation returns Connector ID

Implements RTC::ConnectorBase.

const char* RTC::OutPortConnector::name (  )  [virtual]

Getting Connector name.

This operation returns Connector name

Implements RTC::ConnectorBase.

virtual ReturnCode RTC::OutPortConnector::disconnect (  )  [pure virtual]

Disconnect connection.

This operation disconnect this connection

Implements RTC::ConnectorBase.

Implemented in RTC::OutPortPullConnector, and RTC::OutPortPushConnector.

virtual CdrBufferBase* RTC::OutPortConnector::getBuffer (  )  [pure virtual]

Getting Buffer.

This operation returns this connector's buffer

Implements RTC::ConnectorBase.

Implemented in RTC::OutPortPullConnector, and RTC::OutPortPushConnector.

virtual ReturnCode RTC::OutPortConnector::write ( const cdrMemoryStream &  data  )  [pure virtual]

Destructor.

The write function to write data from OutPort to Buffer

Implemented in RTC::OutPortPullConnector, and RTC::OutPortPushConnector.


Member Data Documentation

Logger RTC::OutPortConnector::rtclog [protected]

Profile RTC::OutPortConnector::m_profile [protected]


Generated on Sun May 24 14:08:45 2009 for OpenRTM by  doxygen 1.5.3