OpenRTM-aist-Python 2.0.2
|
Public Member Functions | |
__init__ (self, name, value) | |
__del__ (self, InPortBase=OpenRTM_aist.InPortBase) | |
name (self) | |
const char* name() | |
isNew (self, names=None) | |
bool isNew() | |
isEmpty (self, names=None) | |
read (self, name=None) | |
update (self) | |
setOnRead (self, on_read) | |
setOnReadConvert (self, on_rconvert) | |
write (self, data) | |
![]() | |
init (self, prop) | |
properties (self) | |
connectors (self) | |
getConnectorProfiles (self) | |
getConnectorIds (self) | |
getConnectorNames (self) | |
getConnectorById (self, id) | |
getConnectorByName (self, name) | |
getConnectorProfileById (self, id) | |
getConnectorProfileByName (self, name) | |
connect (self, connector_profile) | |
notify_connect (self, connector_profile) | |
activateInterfaces (self) | |
deactivateInterfaces (self) | |
addConnectorDataListener (self, listener_type, listener) | |
removeConnectorDataListener (self, listener_type, listener) | |
addConnectorListener (self, listener_type, listener) | |
removeConnectorListener (self, listener_type, listener) | |
publishInterfaces (self, cprof) | |
subscribeInterfaces (self, cprof) | |
unsubscribeInterfaces (self, connector_profile) | |
initProviders (self) | |
initConsumers (self) | |
createProvider (self, cprof, prop) | |
createConsumer (self, cprof, prop) | |
createConnector (self, cprof, prop, provider_=None, consumer_=None) | |
createDuplexConnector (self, cprof, prop, provider_) | |
getLocalOutPort (self, profile) | |
![]() | |
exit (self) | |
get_port_profile (self) | |
getPortProfile (self) | |
get_connector_profiles (self) | |
get_connector_profile (self, connector_id) | |
disconnect (self, connector_id) | |
notify_disconnect (self, connector_id) | |
disconnect_all (self) | |
setName (self, name) | |
getName (self) | |
getProfile (self) | |
setPortRef (self, port_ref) | |
getPortRef (self) | |
setOwner (self, owner) | |
setOnPublishInterfaces (self, on_publish) | |
setOnSubscribeInterfaces (self, on_subscribe) | |
setOnConnected (self, on_connected) | |
setOnUnsubscribeInterfaces (self, on_subscribe) | |
setOnDisconnected (self, on_disconnected) | |
setPortConnectListenerHolder (self, portconnListeners) | |
connectNext (self, connector_profile) | |
disconnectNext (self, connector_profile) | |
setConnectionLimit (self, limit_value) | |
isEmptyId (self, connector_profile) | |
getUUID (self) | |
setUUID (self, connector_profile) | |
isExistingConnId (self, id_) | |
findConnProfile (self, id_) | |
findConnProfileIndex (self, id_) | |
updateConnectorProfile (self, connector_profile) | |
eraseConnectorProfile (self, id_) | |
appendInterface (self, instance_name, type_name, pol) | |
deleteInterface (self, name, pol) | |
addProperty (self, key, value) | |
appendProperty (self, key, value) | |
updateConnectors (self) | |
checkPorts (self, ports) | |
isExistingMarshalingType (self, con_prop) | |
![]() | |
toString (status) | |
Additional Inherited Members | |
![]() | |
int | PORT_OK = 0 |
![]() | |
_publishInterfaces (self) | |
InPort template class
This class template provides interfaces to input port. Component developer can define input value, which act as input port from other components, using this template. This is class template. This class have to be incarnated class as port value types. This value types are previously define RtComponent IDL. ex. type T: TimedFload, TimedLong etc...
OpenRTM_aist.InPort.InPort.__init__ | ( | self, | |
name, | |||
value ) |
A constructor.
Setting channel name and registering channel value.
self | |
name | A name of the InPort. This name is referred by InPortBase.name(). |
value | A channel value related with the channel. |
Reimplemented from OpenRTM_aist.InPortBase.InPortBase.
OpenRTM_aist.InPort.InPort.__del__ | ( | self, | |
PortBase = OpenRTM_aist.InPortBase ) |
OpenRTM_aist.InPort.InPort.isEmpty | ( | self, | |
names = None ) |
Check whether the data is newest
Check whether the data stored at a current buffer position is newest.
bool isEmpty()
OpenRTM_aist.InPort.InPort.read | ( | self, | |
name = None ) |
Readout the value from DataPort
Readout the value from DataPort
DataType read()
Reimplemented from OpenRTM_aist.InPortBase.InPortBase.
OpenRTM_aist.InPort.InPort.update | ( | self | ) |
Read into bound T-type data from current InPort
OpenRTM_aist.InPort.InPort.write | ( | self, | |
data ) |
self | |
data | void write(const DataType& data) |