InPortCorbaCdrConsumer class. More...
Public Member Functions | |
def | __del__ (self, CorbaConsumer=OpenRTM_aist.CorbaConsumer) |
Destructor. More... | |
def | __init__ (self) |
Constructor. More... | |
def | convertReturnCode (self, ret) |
Return codes conversionReturnCode convertReturnCode(OpenRTM::PortStatus ret) More... | |
def | init (self, prop) |
Initializing configuration. More... | |
def | publishInterfaceProfile (self, properties) |
Publish InterfaceProfile information. More... | |
def | put (self, data) |
Send data to the destination port. More... | |
def | subscribeFromIor (self, properties) |
Getting object reference fromn IOR string. More... | |
def | subscribeFromRef (self, properties) |
Getting object reference fromn Any directry. More... | |
def | subscribeInterface (self, properties) |
Subscribe to the data sending notification. More... | |
def | unsubscribeFromIor (self, properties) |
ubsubscribing (IOR version) More... | |
def | unsubscribeFromRef (self, properties) |
ubsubscribing (Object reference version) More... | |
def | unsubscribeInterface (self, properties) |
Unsubscribe the data send notification. More... | |
Public Member Functions inherited from OpenRTM_aist.DataPortStatus.DataPortStatus | |
def | __init__ (self) |
def | toString (status) |
Convert DataPortStatus into the string. More... | |
Public Member Functions inherited from OpenRTM_aist.CorbaConsumer.CorbaConsumer | |
def | __del__ (self) |
def | __init__ (self, interfaceType=None, consumer=None) |
Consructor. More... | |
def | equal (self, consumer) |
Assignment operator. More... | |
def | releaseObject (self) |
def | setObject (self, obj) |
Set Object. More... | |
Public Member Functions inherited from OpenRTM_aist.CorbaConsumer.CorbaConsumerBase | |
def | __init__ (self, consumer=None) |
Consructor. More... | |
def | equal (self, consumer) |
Assignment operator. More... | |
def | getObject (self) |
Get CORBA Object. More... | |
def | releaseObject (self) |
def | setObject (self, obj) |
Set CORBA Object. More... | |
Private Attributes | |
_properties | |
_rtcout | |
Additional Inherited Members | |
Static Public Attributes inherited from OpenRTM_aist.DataPortStatus.DataPortStatus | |
int | BUFFER_EMPTY = 4 |
int | BUFFER_ERROR = 2 |
int | BUFFER_FULL = 3 |
int | BUFFER_TIMEOUT = 5 |
int | CONNECTION_LOST = 12 |
int | INVALID_ARGS = 10 |
int | PORT_ERROR = 1 |
int | PORT_OK = 0 |
DataPortStatus return codes. More... | |
int | PRECONDITION_NOT_MET = 11 |
int | RECV_EMPTY = 8 |
int | RECV_TIMEOUT = 9 |
int | SEND_FULL = 6 |
int | SEND_TIMEOUT = 7 |
toString = staticmethod(toString) | |
int | UNKNOWN_ERROR = 13 |
InPortCorbaCdrConsumer class.
This is an implementation class of the input port Consumer that uses CORBA for means of communication.
DataType | Data type for this port |
Definition at line 52 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.__init__ | ( | self | ) |
Constructor.
Constructor
buffer | The buffer object that is attached to this Consumer |
Definition at line 73 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.__del__ | ( | self, | |
CorbaConsumer = OpenRTM_aist.CorbaConsumer |
|||
) |
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.convertReturnCode | ( | self, | |
ret | |||
) |
Return codes conversionReturnCode convertReturnCode(OpenRTM::PortStatus ret)
Definition at line 431 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.init | ( | self, | |
prop | |||
) |
Initializing configuration.
This operation would be called to configure this consumer in initialization.
virtual void init(coil::Properties& prop);
Definition at line 112 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.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);
Definition at line 189 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.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);
Definition at line 150 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.subscribeFromIor | ( | self, | |
properties | |||
) |
Getting object reference fromn IOR string.
bool subscribeFromIor(const SDOPackage::NVList& properties);
Definition at line 271 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.subscribeFromRef | ( | self, | |
properties | |||
) |
Getting object reference fromn Any directry.
bool subscribeFromRef(const SDOPackage::NVList& properties);
Definition at line 317 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.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);
Definition at line 215 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.unsubscribeFromIor | ( | self, | |
properties | |||
) |
ubsubscribing (IOR version)
bool unsubscribeFromIor(const SDOPackage::NVList& properties);
Definition at line 359 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.unsubscribeFromRef | ( | self, | |
properties | |||
) |
ubsubscribing (Object reference version)
bool unsubscribeFromRef(const SDOPackage::NVList& properties);
Definition at line 400 of file InPortCorbaCdrConsumer.py.
def OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer.unsubscribeInterface | ( | self, | |
properties | |||
) |
Unsubscribe the data send notification.
Unsubscribe the data send notification.
properties | Information for unsubscription |
virtual void unsubscribeInterface(const SDOPackage::NVList& properties);
Definition at line 247 of file InPortCorbaCdrConsumer.py.
|
private |
Definition at line 76 of file InPortCorbaCdrConsumer.py.
|
private |
Definition at line 75 of file InPortCorbaCdrConsumer.py.