OpenRTM-aist-Python 2.0.0
|
Public Member Functions | |
def | __init__ (self, info, buffer) |
def | __del__ (self) |
def | profile (self) |
def | id (self) |
def | name (self) |
def | disconnect (self) |
def | getBuffer (self) |
def | read (self, data=None) |
def | setConsumer (self, consumer) |
def | unsubscribeInterface (self, prop) |
Public Member Functions inherited from OpenRTM_aist.ConnectorBase.ConnectorBase | |
def | __del__ (self) |
def | profile (self) |
def | id (self) |
def | name (self) |
def | disconnect (self) |
def | getBuffer (self) |
def | activate (self) |
def | deactivate (self) |
Public Member Functions inherited from OpenRTM_aist.DataPortStatus.DataPortStatus | |
def | toString (status) |
Additional Inherited Members | |
Static Public Attributes inherited from OpenRTM_aist.DataPortStatus.DataPortStatus | |
int | PORT_OK = 0 |
InPortConnector base class
The base class to derive subclasses for InPort's Push/Pull Connectors
def OpenRTM_aist.InPortConnector.InPortConnector.__init__ | ( | self, | |
info, | |||
buffer | |||
) |
Constructor
InPortConnector(ConnectorInfo& info, CdrBufferBase* buffer);
Reimplemented from OpenRTM_aist.DataPortStatus.DataPortStatus.
Reimplemented in OpenRTM_aist.InPortPullConnector.InPortPullConnector, OpenRTM_aist.InPortDuplexConnector.InPortDuplexConnector, and OpenRTM_aist.InPortPushConnector.InPortPushConnector.
def OpenRTM_aist.InPortConnector.InPortConnector.__del__ | ( | self | ) |
Destructor
Reimplemented from OpenRTM_aist.ConnectorBase.ConnectorBase.
Reimplemented in OpenRTM_aist.InPortDuplexConnector.InPortDuplexConnector, OpenRTM_aist.InPortPullConnector.InPortPullConnector, and OpenRTM_aist.InPortPushConnector.InPortPushConnector.
def OpenRTM_aist.InPortConnector.InPortConnector.disconnect | ( | self | ) |
Disconnect connection
This operation disconnect this connection
virtual ReturnCode disconnect() = 0;
Reimplemented from OpenRTM_aist.ConnectorBase.ConnectorBase.
Reimplemented in OpenRTM_aist.InPortDuplexConnector.InPortDuplexConnector, OpenRTM_aist.InPortPullConnector.InPortPullConnector, and OpenRTM_aist.InPortPushConnector.InPortPushConnector.
def OpenRTM_aist.InPortConnector.InPortConnector.getBuffer | ( | self | ) |
Getting Buffer
This operation returns this connector's buffer
virtual CdrBufferBase* getBuffer();
Reimplemented from OpenRTM_aist.ConnectorBase.ConnectorBase.
def OpenRTM_aist.InPortConnector.InPortConnector.id | ( | self | ) |
Getting Connector ID
This operation returns Connector ID
const char* id();
Reimplemented from OpenRTM_aist.ConnectorBase.ConnectorBase.
def OpenRTM_aist.InPortConnector.InPortConnector.name | ( | self | ) |
Getting Connector name
This operation returns Connector name
const char* name();
Reimplemented from OpenRTM_aist.ConnectorBase.ConnectorBase.
def OpenRTM_aist.InPortConnector.InPortConnector.profile | ( | self | ) |
Getting ConnectorInfo
This operation returns ConnectorInfo
const ConnectorInfo& profile();
Reimplemented from OpenRTM_aist.ConnectorBase.ConnectorBase.
def OpenRTM_aist.InPortConnector.InPortConnector.read | ( | self, | |
data = None |
|||
) |
The read function to read data from buffer to InPort
virtual ReturnCode read(cdrMemoryStream& data) = 0;
Reimplemented in OpenRTM_aist.InPortDuplexConnector.InPortDuplexConnector, OpenRTM_aist.InPortPullConnector.InPortPullConnector, and OpenRTM_aist.InPortPushConnector.InPortPushConnector.
def OpenRTM_aist.InPortConnector.InPortConnector.setConsumer | ( | self, | |
consumer | |||
) |
set Consumer
Reimplemented in OpenRTM_aist.InPortDuplexConnector.InPortDuplexConnector.
def OpenRTM_aist.InPortConnector.InPortConnector.unsubscribeInterface | ( | self, | |
prop | |||
) |
prop |
Reimplemented in OpenRTM_aist.InPortDuplexConnector.InPortDuplexConnector, and OpenRTM_aist.InPortPullConnector.InPortPullConnector.