Public Member Functions | Private Attributes | List of all members
OutPort::OutPortCorbaCdrProviderMock Class Reference
Inheritance diagram for OutPort::OutPortCorbaCdrProviderMock:
Inheritance graph
[legend]

Public Member Functions

virtual ::OpenRTM::PortStatus get (::OpenRTM::CdrData_out data)
 
void init (coil::Properties &prop)
 Initializing configuration. More...
 
 OutPortCorbaCdrProviderMock (void)
 
void publishInterfaceProfile (SDOPackage::NVList &properties)
 Publish InterfaceProfile information. More...
 
RTC::InPortConsumer::ReturnCode put (const cdrMemoryStream &data)
 
void setLogger (Logger *logger)
 
bool subscribeInterface (const SDOPackage::NVList &properties)
 
void unsubscribeInterface (const SDOPackage::NVList &properties)
 
virtual ~OutPortCorbaCdrProviderMock (void)
 
- Public Member Functions inherited from RTC::OutPortProvider
virtual bool publishInterface (SDOPackage::NVList &properties)
 Publish interface information. More...
 
virtual void setBuffer (CdrBufferBase *buffer)=0
 Setting outside buffer's pointer. More...
 
virtual void setConnector (OutPortConnector *connector)=0
 set Connector More...
 
virtual void setListener (ConnectorInfo &info, ConnectorListeners *listeners)=0
 Set the listener. More...
 
virtual DATAPORTSTATUS_ENUM ~OutPortProvider (void)
 Destructor. More...
 

Private Attributes

Loggerm_logger
 

Additional Inherited Members

- Public Types inherited from RTC::DataPortStatus
enum  Enum {
  PORT_OK = 0, PORT_ERROR, BUFFER_ERROR, BUFFER_FULL,
  BUFFER_EMPTY, BUFFER_TIMEOUT, SEND_FULL, SEND_TIMEOUT,
  RECV_EMPTY, RECV_TIMEOUT, INVALID_ARGS, PRECONDITION_NOT_MET,
  CONNECTION_LOST, UNKNOWN_ERROR
}
 DataPortStatus return codes. More...
 
- Static Public Member Functions inherited from RTC::DataPortStatus
static const char * toString (DataPortStatus::Enum status)
 Convert DataPortStatus into the string. More...
 
- Protected Member Functions inherited from RTC::OutPortProvider
void setDataFlowType (const char *dataflow_type)
 Set the data flow type. More...
 
void setDataType (const char *data_type)
 Set the data type. More...
 
void setInterfaceType (const char *interface_type)
 Set the interface type. More...
 
void setPortType (const char *port_type)
 Set the port type. More...
 
void setSubscriptionType (const char *subs_type)
 Set the subscription type. More...
 
- Protected Attributes inherited from RTC::OutPortProvider
SDOPackage::NVList m_properties
 Properties to hold the port profiles. More...
 
Logger rtclog
 Logger stream. More...
 

Detailed Description

Definition at line 216 of file OutPortTests.cpp.

Constructor & Destructor Documentation

OutPort::OutPortCorbaCdrProviderMock::OutPortCorbaCdrProviderMock ( void  )
inline

Definition at line 223 of file OutPortTests.cpp.

virtual OutPort::OutPortCorbaCdrProviderMock::~OutPortCorbaCdrProviderMock ( void  )
inlinevirtual

Definition at line 227 of file OutPortTests.cpp.

Member Function Documentation

virtual ::OpenRTM::PortStatus OutPort::OutPortCorbaCdrProviderMock::get ( ::OpenRTM::CdrData_out  data)
inline

Definition at line 245 of file OutPortTests.cpp.

void OutPort::OutPortCorbaCdrProviderMock::init ( coil::Properties prop)
inlinevirtual

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

Reimplemented from RTC::OutPortProvider.

Definition at line 234 of file OutPortTests.cpp.

void OutPort::OutPortCorbaCdrProviderMock::publishInterfaceProfile ( SDOPackage::NVList &  properties)
inlinevirtual

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

Reimplemented from RTC::OutPortProvider.

Definition at line 261 of file OutPortTests.cpp.

RTC::InPortConsumer::ReturnCode OutPort::OutPortCorbaCdrProviderMock::put ( const cdrMemoryStream &  data)
inline

Definition at line 253 of file OutPortTests.cpp.

void OutPort::OutPortCorbaCdrProviderMock::setLogger ( Logger logger)
inline

Definition at line 289 of file OutPortTests.cpp.

bool OutPort::OutPortCorbaCdrProviderMock::subscribeInterface ( const SDOPackage::NVList &  properties)
inline

Definition at line 270 of file OutPortTests.cpp.

void OutPort::OutPortCorbaCdrProviderMock::unsubscribeInterface ( const SDOPackage::NVList &  properties)
inline

Definition at line 280 of file OutPortTests.cpp.

Member Data Documentation

Logger* OutPort::OutPortCorbaCdrProviderMock::m_logger
private

Definition at line 294 of file OutPortTests.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:26:03