RTC::OutPortPullConnector Class Reference

#include <OutPortPullConnector.h>

Inheritance diagram for RTC::OutPortPullConnector:

RTC::OutPortConnector RTC::ConnectorBase RTC::DataPortStatus

List of all members.

Public Member Functions

DATAPORTSTATUS_ENUM OutPortPullConnector (Profile profile, OutPortProvider *provider, CdrBufferBase *buffer=0)
virtual ~OutPortPullConnector ()
 Destructor.
virtual ReturnCode write (const cdrMemoryStream &data)
 Writing data.
virtual ReturnCode disconnect ()
 disconnect
virtual CdrBufferBasegetBuffer ()
 Getting Buffer.
virtual void activate ()
 Connector activation.
virtual void deactivate ()
 Connector deactivation.

Protected Attributes

OutPortProviderm_provider
 the pointer to the OutPortProvider
CdrBufferBasem_buffer
 the pointer to the buffer


Constructor & Destructor Documentation

DATAPORTSTATUS_ENUM RTC::OutPortPullConnector::OutPortPullConnector ( Profile  profile,
OutPortProvider provider,
CdrBufferBase buffer = 0 
)

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

Destructor.

This operation calls disconnect(), which destructs and deletes the consumer, the publisher and the buffer.


Member Function Documentation

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

Writing data.

This operation writes data into publisher and then the data will be transferred to correspondent InPort.

Implements RTC::OutPortConnector.

virtual ReturnCode RTC::OutPortPullConnector::disconnect (  )  [virtual]

disconnect

This operation destruct and delete the consumer, the publisher and the buffer.

Implements RTC::OutPortConnector.

virtual CdrBufferBase* RTC::OutPortPullConnector::getBuffer (  )  [virtual]

Getting Buffer.

This operation returns this connector's buffer

Implements RTC::OutPortConnector.

virtual void RTC::OutPortPullConnector::activate (  )  [inline, virtual]

Connector activation.

This operation activates this connector

Implements RTC::ConnectorBase.

virtual void RTC::OutPortPullConnector::deactivate (  )  [inline, virtual]

Connector deactivation.

This operation deactivates this connector

Implements RTC::ConnectorBase.


Member Data Documentation

OutPortProvider* RTC::OutPortPullConnector::m_provider [protected]

the pointer to the OutPortProvider

CdrBufferBase* RTC::OutPortPullConnector::m_buffer [protected]

the pointer to the buffer


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