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 CdrBufferBase * | getBuffer () |
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 ConnectorInfo & | profile () |
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 | |
CdrBufferBase * | m_buffer |
Connector's buffer. More... | |
bool | m_littleEndian |
Connected Endian. More... | |
ConnectorInfo | m_profile |
ConnectorInfo. More... | |
Logger | rtclog |
Logger stream. More... | |
Definition at line 46 of file InPortConnectorTests.cpp.
|
inline |
Definition at line 50 of file InPortConnectorTests.cpp.
|
inlinevirtual |
Definition at line 55 of file InPortConnectorTests.cpp.
|
inlinevirtual |
Connector activation.
This operation activates this connector
Implements RTC::ConnectorBase.
Definition at line 66 of file InPortConnectorTests.cpp.
|
inlinevirtual |
Connector deactivation.
This operation deactivates this connector
Implements RTC::ConnectorBase.
Definition at line 69 of file InPortConnectorTests.cpp.
|
inlinevirtual |
Disconnect connection.
This operation disconnect this connection
Implements RTC::InPortConnector.
Definition at line 58 of file InPortConnectorTests.cpp.
|
inlinevirtual |
Destructor.
The read function to read data from buffer to InPort
data | A reference to a variable to which data from this connector is stored. |
Implements RTC::InPortConnector.
Definition at line 62 of file InPortConnectorTests.cpp.