#include <ConnectorBase.h>
Public Member Functions | |
virtual void | activate ()=0 |
Connector activation. More... | |
virtual void | deactivate ()=0 |
Connector deactivation. More... | |
virtual ReturnCode | disconnect ()=0 |
Disconnect connection. More... | |
virtual CdrBufferBase * | getBuffer ()=0 |
Getting Buffer. More... | |
virtual const char * | id ()=0 |
Getting Connector ID. More... | |
virtual const char * | name ()=0 |
Getting Connector name. More... | |
virtual const ConnectorInfo & | profile ()=0 |
Getting Profile. More... | |
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... | |
Connector Base class.
The base class to derive subclasses for InPort/OutPort, Push/Pull Connectors
Definition at line 156 of file ConnectorBase.h.
|
inlinevirtual |
Destructor.
Definition at line 191 of file ConnectorBase.h.
|
pure virtual |
Connector activation.
This operation activates this connector
Implemented in RTC::OutPortPushConnector, RTC::InPortPullConnector, RTC::InPortPushConnector, RTC::OutPortPullConnector, OutPortConnector::OutPortConnectorMock, and InPortConnector::InPortConnectorMock.
|
pure virtual |
Connector deactivation.
This operation deactivates this connector
Implemented in RTC::OutPortPushConnector, RTC::InPortPullConnector, RTC::InPortPushConnector, RTC::OutPortPullConnector, OutPortConnector::OutPortConnectorMock, and InPortConnector::InPortConnectorMock.
|
pure virtual |
Disconnect connection.
This operation disconnect this connection
Implemented in RTC::OutPortPushConnector, RTC::InPortPullConnector, RTC::InPortPushConnector, RTC::OutPortPullConnector, RTC::InPortConnector, RTC::OutPortConnector, OutPortConnector::OutPortConnectorMock, and InPortConnector::InPortConnectorMock.
|
pure virtual |
Getting Buffer.
This operation returns this connector's buffer
Implemented in RTC::OutPortPushConnector, RTC::OutPortPullConnector, RTC::InPortConnector, RTC::OutPortConnector, and OutPortConnector::OutPortConnectorMock.
|
pure virtual |
Getting Connector ID.
This operation returns Connector ID
Implemented in RTC::InPortConnector, and RTC::OutPortConnector.
|
pure virtual |
Getting Connector name.
This operation returns Connector name
Implemented in RTC::InPortConnector, and RTC::OutPortConnector.
|
pure virtual |
Getting Profile.
This operation returns Connector Profile
Implemented in RTC::InPortConnector, and RTC::OutPortConnector.