Public Member Functions | List of all members
InPortConnector::InPortConnectorMock Class Reference
Inheritance diagram for InPortConnector::InPortConnectorMock:
Inheritance graph
[legend]

Public Member Functions

virtual void activate ()
 Connector activation. More...
 
virtual void deactivate ()
 Connector deactivation. More...
 
virtual ReturnCode disconnect ()
 Disconnect connection. More...
 
 InPortConnectorMock (RTC::ConnectorInfo &info, RTC::CdrBufferBase *buffer)
 
virtual ReturnCode read (cdrMemoryStream &data)
 Destructor. More...
 
virtual ~InPortConnectorMock ()
 
- Public Member Functions inherited from RTC::InPortConnector
virtual CdrBufferBasegetBuffer ()
 Getting Buffer. More...
 
virtual const char * id ()
 Getting Connector ID. More...
 
DATAPORTSTATUS_ENUM InPortConnector (ConnectorInfo &info, CdrBufferBase *buffer)
 Constructor. More...
 
virtual bool isLittleEndian ()
 Whether this connector's endian is little. More...
 
virtual const char * name ()
 Getting Connector name. More...
 
virtual const ConnectorInfoprofile ()
 Getting ConnectorInfo. More...
 
virtual void setEndian (const bool endian_type)
 Setting an endian type. More...
 
virtual ~InPortConnector ()
 Destructor. More...
 
- Public Member Functions inherited from RTC::ConnectorBase
virtual ~ConnectorBase ()
 Destructor. More...
 

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 Attributes inherited from RTC::InPortConnector
CdrBufferBasem_buffer
 Connector's buffer. More...
 
bool m_littleEndian
 Connected Endian. More...
 
ConnectorInfo m_profile
 ConnectorInfo. More...
 
Logger rtclog
 Logger stream. More...
 

Detailed Description

Definition at line 46 of file InPortConnectorTests.cpp.

Constructor & Destructor Documentation

InPortConnector::InPortConnectorMock::InPortConnectorMock ( RTC::ConnectorInfo info,
RTC::CdrBufferBase buffer 
)
inline

Definition at line 50 of file InPortConnectorTests.cpp.

virtual InPortConnector::InPortConnectorMock::~InPortConnectorMock ( )
inlinevirtual

Definition at line 55 of file InPortConnectorTests.cpp.

Member Function Documentation

virtual void InPortConnector::InPortConnectorMock::activate ( )
inlinevirtual

Connector activation.

This operation activates this connector

Implements RTC::ConnectorBase.

Definition at line 66 of file InPortConnectorTests.cpp.

virtual void InPortConnector::InPortConnectorMock::deactivate ( )
inlinevirtual

Connector deactivation.

This operation deactivates this connector

Implements RTC::ConnectorBase.

Definition at line 69 of file InPortConnectorTests.cpp.

virtual ReturnCode InPortConnector::InPortConnectorMock::disconnect ( )
inlinevirtual

Disconnect connection.

This operation disconnect this connection

Returns
ReturnCode

Implements RTC::InPortConnector.

Definition at line 58 of file InPortConnectorTests.cpp.

virtual ReturnCode InPortConnector::InPortConnectorMock::read ( cdrMemoryStream &  data)
inlinevirtual

Destructor.

The read function to read data from buffer to InPort

Parameters
dataA reference to a variable to which data from this connector is stored.
Returns
ReturnCode

Implements RTC::InPortConnector.

Definition at line 62 of file InPortConnectorTests.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