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

List of all members.

Public Member Functions

void init (coil::Properties &prop)
 Initializing configuration.
 InPortCorbaCdrConsumerMock (void)
void publishInterfaceProfile (SDOPackage::NVList &properties)
 Publish InterfaceProfile information.
RTC::InPortConsumer::ReturnCode put (const cdrMemoryStream &data)
 Send data to the destination port.
void setLogger (Logger *logger)
bool subscribeFromIor (const SDOPackage::NVList &properties)
bool subscribeFromRef (const SDOPackage::NVList &properties)
bool subscribeInterface (const SDOPackage::NVList &properties)
 Subscribe the data send notification.
bool unsubscribeFromIor (const SDOPackage::NVList &properties)
bool unsubscribeFromRef (const SDOPackage::NVList &properties)
void unsubscribeInterface (const SDOPackage::NVList &properties)
 Unsubscribe the data send notification.
virtual ~InPortCorbaCdrConsumerMock (void)

Private Attributes

Loggerm_logger

Detailed Description

Definition at line 595 of file OutPortBaseTests.cpp.


Constructor & Destructor Documentation

Definition at line 601 of file OutPortBaseTests.cpp.

Definition at line 605 of file OutPortBaseTests.cpp.


Member Function Documentation

Initializing configuration.

This operation would be called to configure this consumer in initialization.

Implements RTC::InPortConsumer.

Definition at line 612 of file OutPortBaseTests.cpp.

void OutPortBase::InPortCorbaCdrConsumerMock::publishInterfaceProfile ( SDOPackage::NVList &  properties) [inline, virtual]

Publish InterfaceProfile information.

Publish interfaceProfile information. Check the dataport.interface_type value of the NameValue object specified by an argument in property information and get information only when the interface type of the specified port is matched.

Parameters:
propertiesProperties to get InterfaceProfile information

Implements RTC::InPortConsumer.

Definition at line 631 of file OutPortBaseTests.cpp.

RTC::InPortConsumer::ReturnCode OutPortBase::InPortCorbaCdrConsumerMock::put ( const cdrMemoryStream &  data) [inline, virtual]

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
  • CONNECTION_LOST: Connection lost
  • UNKNOWN_ERROR: Unknown error

Implements RTC::InPortConsumer.

Definition at line 623 of file OutPortBaseTests.cpp.

Definition at line 679 of file OutPortBaseTests.cpp.

bool OutPortBase::InPortCorbaCdrConsumerMock::subscribeFromIor ( const SDOPackage::NVList &  properties) [inline]

Definition at line 654 of file OutPortBaseTests.cpp.

bool OutPortBase::InPortCorbaCdrConsumerMock::subscribeFromRef ( const SDOPackage::NVList &  properties) [inline]

Definition at line 659 of file OutPortBaseTests.cpp.

bool OutPortBase::InPortCorbaCdrConsumerMock::subscribeInterface ( const SDOPackage::NVList &  properties) [inline, virtual]

Subscribe the data send notification.

Pure virtual function to subscribe the data send notification based on specified property information.

Parameters:
propertiesProperties for reference when subscribing
Returns:
Subscription result

Implements RTC::InPortConsumer.

Definition at line 640 of file OutPortBaseTests.cpp.

bool OutPortBase::InPortCorbaCdrConsumerMock::unsubscribeFromIor ( const SDOPackage::NVList &  properties) [inline]

Definition at line 664 of file OutPortBaseTests.cpp.

bool OutPortBase::InPortCorbaCdrConsumerMock::unsubscribeFromRef ( const SDOPackage::NVList &  properties) [inline]

Definition at line 669 of file OutPortBaseTests.cpp.

void OutPortBase::InPortCorbaCdrConsumerMock::unsubscribeInterface ( const SDOPackage::NVList &  properties) [inline, virtual]

Unsubscribe the data send notification.

Pure virtual function to unsubscribe the data send notification.

Parameters:
propertiesProperties for reference when unsubscribing

Implements RTC::InPortConsumer.

Definition at line 650 of file OutPortBaseTests.cpp.


Member Data Documentation

Definition at line 684 of file OutPortBaseTests.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:41