OpenRTM-aist-Python 2.0.0
|
Public Member Functions | |
def | __init__ (self) |
def | __del__ (self, CorbaConsumer=OpenRTM_aist.CorbaConsumer) |
def | init (self, prop) |
def | put (self, data) |
def | publishInterfaceProfile (self, properties) |
def | subscribeInterface (self, properties) |
def | unsubscribeInterface (self, properties) |
def | subscribeFromIor (self, properties) |
def | subscribeFromRef (self, properties) |
def | unsubscribeFromIor (self, properties) |
def | unsubscribeFromRef (self, properties) |
def | convertReturnCode (self, ret) |
Public Member Functions inherited from OpenRTM_aist.DataPortStatus.DataPortStatus | |
def | toString (status) |
Public Member Functions inherited from OpenRTM_aist.CorbaConsumer.CorbaConsumer | |
def | __init__ (self, interfaceType=None, consumer=None) |
def | equal (self, consumer) |
def | setObject (self, obj) |
def | releaseObject (self) |
Public Member Functions inherited from OpenRTM_aist.CorbaConsumer.CorbaConsumerBase | |
def | __init__ (self, consumer=None) |
def | equal (self, consumer) |
def | setObject (self, obj) |
def | getObject (self) |
def | releaseObject (self) |
Additional Inherited Members | |
Static Public Attributes inherited from OpenRTM_aist.DataPortStatus.DataPortStatus | |
int | PORT_OK = 0 |
InPortDSConsumer class
This is an implementation class of the input port Consumer that uses CORBA for means of communication.
DataType | Data type for this port |
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.__init__ | ( | self | ) |
Constructor
Constructor
buffer | The buffer object that is attached to this Consumer |
Reimplemented from OpenRTM_aist.CorbaConsumer.CorbaConsumer.
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.__del__ | ( | self, | |
CorbaConsumer = OpenRTM_aist.CorbaConsumer |
|||
) |
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.convertReturnCode | ( | self, | |
ret | |||
) |
Return codes conversion
ReturnCode convertReturnCode(OpenRTM::PortStatus ret)
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.init | ( | self, | |
prop | |||
) |
Initializing configuration
This operation would be called to configure this consumer in initialization.
virtual void init(coil::Properties& prop);
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.publishInterfaceProfile | ( | self, | |
properties | |||
) |
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.
properties | Properties to get InterfaceProfile information |
virtual void publishInterfaceProfile(SDOPackage::NVList& properties);
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.put | ( | self, | |
data | |||
) |
Send data to the destination port
Pure virtual function to send data to the destination port.
This function might the following return codes
virtual ReturnCode put(const cdrMemoryStream& data);
Reimplemented from OpenRTM_aist.InPortConsumer.InPortConsumer.
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.subscribeFromIor | ( | self, | |
properties | |||
) |
Getting object reference fromn IOR string
bool subscribeFromIor(const SDOPackage::NVList& properties);
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.subscribeFromRef | ( | self, | |
properties | |||
) |
Getting object reference fromn Any directry
bool subscribeFromRef(const SDOPackage::NVList& properties);
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.subscribeInterface | ( | self, | |
properties | |||
) |
Subscribe to the data sending notification
Subscribe to the data sending notification based on specified property information.
properties | Information for subscription |
virtual bool subscribeInterface(const SDOPackage::NVList& properties);
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.unsubscribeFromIor | ( | self, | |
properties | |||
) |
ubsubscribing (IOR version)
bool unsubscribeFromIor(const SDOPackage::NVList& properties);
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.unsubscribeFromRef | ( | self, | |
properties | |||
) |
ubsubscribing (Object reference version)
bool unsubscribeFromRef(const SDOPackage::NVList& properties);
def OpenRTM_aist.InPortDSConsumer.InPortDSConsumer.unsubscribeInterface | ( | self, | |
properties | |||
) |
Unsubscribe the data send notification
Unsubscribe the data send notification.
properties | Information for unsubscription |
virtual void unsubscribeInterface(const SDOPackage::NVList& properties);