Public Member Functions | Private Attributes
OpenRTM_aist.OutPortCorbaCdrConsumer.OutPortCorbaCdrConsumer Class Reference

OutPortCorbaCdrConsumer class. More...

Inheritance diagram for OpenRTM_aist.OutPortCorbaCdrConsumer.OutPortCorbaCdrConsumer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __del__
 Destructor.
def __init__
 Constructor.
def convertReturn
 Return codes conversionReturnCode convertReturn(::OpenRTM::PortStatus status, const cdrMemoryStream& data)
def get
 Read data.
def init
 Initializing configuration.
def onBufferFull
def onBufferWrite
 Connector data listener functions.
def onReceived
def onReceiverFull
def onSenderEmpty
 Connector listener functions.
def onSenderError
def onSenderTimeout
def setBuffer
 Setting outside buffer's pointer.
def setListener
def subscribeInterface
 Subscribe the data receive notification.
def unsubscribeInterface
 Unsubscribe the data receive notification.

Private Attributes

 _buffer
 _listeners
 _profile
 _rtcout

Detailed Description

OutPortCorbaCdrConsumer class.

This is an implementation class of the output Consumer that uses CORBA for means of communication.

Parameters:
DataTypeData type for this port
Since:
1.0.0

Definition at line 51 of file OutPortCorbaCdrConsumer.py.


Constructor & Destructor Documentation

Constructor.

Constructor

Parameters:
bufferBuffer that is attached to this port

Reimplemented from OpenRTM_aist.DataPortStatus.DataPortStatus.

Definition at line 72 of file OutPortCorbaCdrConsumer.py.

Destructor.

Destructor

Definition at line 93 of file OutPortCorbaCdrConsumer.py.


Member Function Documentation

Return codes conversionReturnCode convertReturn(::OpenRTM::PortStatus status, const cdrMemoryStream& data)

Definition at line 337 of file OutPortCorbaCdrConsumer.py.

Read data.

Read set data

Parameters:
dataObject to receive the read data
Returns:
Read result (Successful:true, Failed:false)

virtual ReturnCode get(cdrMemoryStream& data);

Definition at line 195 of file OutPortCorbaCdrConsumer.py.

Initializing configuration.

This operation would be called to configure in initialization. In the concrete class, configuration should be performed getting appropriate information from the given Properties data. This function might be called right after instantiation and connection sequence respectivly. Therefore, this function should be implemented assuming multiple call.

Parameters:
propConfiguration information

virtual void init(coil::Properties& prop);

Definition at line 127 of file OutPortCorbaCdrConsumer.py.

Definition at line 382 of file OutPortCorbaCdrConsumer.py.

Connector data listener functions.

inline void onBufferWrite(const cdrMemoryStream& data)

Definition at line 374 of file OutPortCorbaCdrConsumer.py.

Definition at line 390 of file OutPortCorbaCdrConsumer.py.

Definition at line 398 of file OutPortCorbaCdrConsumer.py.

Connector listener functions.

inline void onSenderEmpty()

Definition at line 409 of file OutPortCorbaCdrConsumer.py.

Definition at line 425 of file OutPortCorbaCdrConsumer.py.

Definition at line 417 of file OutPortCorbaCdrConsumer.py.

Setting outside buffer's pointer.

A pointer to a buffer from which OutPortProvider retrieve data. If already buffer is set, previous buffer's pointer will be overwritten by the given pointer to a buffer. Since OutPortProvider does not assume ownership of the buffer pointer, destructor of the buffer should be done by user.

Parameters:
bufferA pointer to a data buffer to be used by OutPortProvider

virtual void setBuffer(CdrBufferBase* buffer);

Definition at line 158 of file OutPortCorbaCdrConsumer.py.

Definition at line 166 of file OutPortCorbaCdrConsumer.py.

Subscribe the data receive notification.

Subscribe the data receive notification based on specified property information

Parameters:
propertiesSubscription information
Returns:
Subscription result (Successful:true, Failed:false)

virtual bool subscribeInterface(const SDOPackage::NVList& properties);

Definition at line 252 of file OutPortCorbaCdrConsumer.py.

Unsubscribe the data receive notification.

Unsubscribe the data receive notification.

Parameters:
propertiesUnsubscription information

virtual void unsubscribeInterface(const SDOPackage::NVList& properties);

Definition at line 299 of file OutPortCorbaCdrConsumer.py.


Member Data Documentation

Definition at line 72 of file OutPortCorbaCdrConsumer.py.

Definition at line 72 of file OutPortCorbaCdrConsumer.py.

Definition at line 72 of file OutPortCorbaCdrConsumer.py.

Definition at line 72 of file OutPortCorbaCdrConsumer.py.


The documentation for this class was generated from the following file:


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Aug 27 2015 14:17:29