Public Member Functions | Private Attributes
PublisherNew::InPortCorbaCdrConsumerMock Class Reference
Inheritance diagram for PublisherNew::InPortCorbaCdrConsumerMock:
Inheritance graph
[legend]

List of all members.

Public Member Functions

cdrMemoryStream get_m_put_data (void)
int get_m_put_data_len (void)
 InPortCorbaCdrConsumerMock (void)
virtual ReturnCode put (const cdrMemoryStream &data)
 Send data to the destination port.
void set_m_mode (int mode)
virtual ~InPortCorbaCdrConsumerMock ()

Private Attributes

RTC::CdrBufferBasem_buffer
::OpenRTM::CdrData m_put_data
int m_test_mode

Detailed Description

Definition at line 103 of file PublisherNewTests.cpp.


Constructor & Destructor Documentation

Definition at line 111 of file PublisherNewTests.cpp.

Definition at line 120 of file PublisherNewTests.cpp.


Member Function Documentation

cdrMemoryStream PublisherNew::InPortCorbaCdrConsumerMock::get_m_put_data ( void  ) [inline]

Definition at line 195 of file PublisherNewTests.cpp.

Definition at line 206 of file PublisherNewTests.cpp.

virtual ReturnCode PublisherNew::InPortCorbaCdrConsumerMock::put ( const cdrMemoryStream &  data) [inline, virtual]

Send data to the destination port.

Write data into the buffer.

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

Reimplemented from RTC::InPortCorbaCdrConsumer.

Definition at line 128 of file PublisherNewTests.cpp.

Definition at line 218 of file PublisherNewTests.cpp.


Member Data Documentation

Definition at line 223 of file PublisherNewTests.cpp.

Definition at line 224 of file PublisherNewTests.cpp.

Definition at line 225 of file PublisherNewTests.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:20