Public Member Functions | Private Attributes
test_PublisherPeriodic.ConsumerMock Class Reference
Inheritance diagram for test_PublisherPeriodic.ConsumerMock:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __del__
def __init__
 Constructor.
def convertReturnCode
 Return codes conversionReturnCode convertReturnCode(OpenRTM::PortStatus ret)
def get_m_put_data
def get_m_put_data_len
def put
 Send data to the destination port.

Private Attributes

 _buffer

Detailed Description

Definition at line 26 of file test_PublisherPeriodic.py.


Constructor & Destructor Documentation

Constructor.

Constructor

Parameters:
bufferThe buffer object that is attached to this Consumer

Reimplemented from OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.

Definition at line 27 of file test_PublisherPeriodic.py.

Reimplemented from OpenRTM_aist.CorbaConsumer.CorbaConsumer.

Definition at line 34 of file test_PublisherPeriodic.py.


Member Function Documentation

Return codes conversionReturnCode convertReturnCode(OpenRTM::PortStatus ret)

Reimplemented from OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.

Definition at line 37 of file test_PublisherPeriodic.py.

Definition at line 78 of file test_PublisherPeriodic.py.

Definition at line 83 of file test_PublisherPeriodic.py.

def test_PublisherPeriodic.ConsumerMock.put (   self,
  data 
)

Send data to the destination port.

Pure virtual function to send data to the destination port.

This function might the following return codes

  • PORT_OK: Normal return
  • PORT_ERROR: Error occurred in data transfer process
  • SEND_FULL: Buffer full although OutPort tried to send data
  • SEND_TIMEOUT: Timeout although OutPort tried to send data
  • UNKNOWN_ERROR: Unknown error

virtual ReturnCode put(const cdrMemoryStream& data);

Reimplemented from OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.

Definition at line 56 of file test_PublisherPeriodic.py.


Member Data Documentation

Definition at line 27 of file test_PublisherPeriodic.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:30