OpenRTM-aist-Python 2.0.0
|
Public Member Functions | |
def | __init__ (self, name, value) |
def | __del__ (self, InPortBase=OpenRTM_aist.InPortBase) |
def | name (self) |
const char* name() | |
def | isNew (self, names=None) |
bool isNew() | |
def | isEmpty (self, names=None) |
def | read (self, name=None) |
def | update (self) |
def | setOnRead (self, on_read) |
def | setOnReadConvert (self, on_rconvert) |
def | write (self, data) |
Public Member Functions inherited from OpenRTM_aist.InPortBase.InPortBase | |
def | __init__ (self, name, data_type) |
def | __del__ (self, PortBase=OpenRTM_aist.PortBase) |
def | init (self, prop) |
def | read (self) |
def | properties (self) |
def | connectors (self) |
def | getConnectorProfiles (self) |
def | getConnectorIds (self) |
def | getConnectorNames (self) |
def | getConnectorById (self, id) |
def | getConnectorByName (self, name) |
def | getConnectorProfileById (self, id) |
def | getConnectorProfileByName (self, name) |
def | connect (self, connector_profile) |
def | notify_connect (self, connector_profile) |
def | activateInterfaces (self) |
def | deactivateInterfaces (self) |
def | addConnectorDataListener (self, listener_type, listener) |
def | removeConnectorDataListener (self, listener_type, listener) |
def | addConnectorListener (self, listener_type, listener) |
def | removeConnectorListener (self, listener_type, listener) |
def | publishInterfaces (self, cprof) |
def | subscribeInterfaces (self, cprof) |
def | unsubscribeInterfaces (self, connector_profile) |
def | initProviders (self) |
def | initConsumers (self) |
def | createProvider (self, cprof, prop) |
def | createConsumer (self, cprof, prop) |
def | createConnector (self, cprof, prop, provider_=None, consumer_=None) |
def | createDuplexConnector (self, cprof, prop, provider_) |
def | getLocalOutPort (self, profile) |
Public Member Functions inherited from OpenRTM_aist.PortBase.PortBase | |
def | __init__ (self, name=None) |
def | __del__ (self) |
def | exit (self) |
def | get_port_profile (self) |
def | getPortProfile (self) |
def | get_connector_profiles (self) |
def | get_connector_profile (self, connector_id) |
def | connect (self, connector_profile) |
def | notify_connect (self, connector_profile) |
def | disconnect (self, connector_id) |
def | notify_disconnect (self, connector_id) |
def | disconnect_all (self) |
def | setName (self, name) |
def | getName (self) |
def | getProfile (self) |
def | setPortRef (self, port_ref) |
def | getPortRef (self) |
def | setOwner (self, owner) |
def | setOnPublishInterfaces (self, on_publish) |
def | setOnSubscribeInterfaces (self, on_subscribe) |
def | setOnConnected (self, on_connected) |
def | setOnUnsubscribeInterfaces (self, on_subscribe) |
def | setOnDisconnected (self, on_disconnected) |
def | setPortConnectListenerHolder (self, portconnListeners) |
def | publishInterfaces (self, connector_profile) |
def | connectNext (self, connector_profile) |
def | disconnectNext (self, connector_profile) |
def | subscribeInterfaces (self, connector_profile) |
def | unsubscribeInterfaces (self, connector_profile) |
def | setConnectionLimit (self, limit_value) |
def | isEmptyId (self, connector_profile) |
def | getUUID (self) |
def | setUUID (self, connector_profile) |
def | isExistingConnId (self, id_) |
def | findConnProfile (self, id_) |
def | findConnProfileIndex (self, id_) |
def | updateConnectorProfile (self, connector_profile) |
def | eraseConnectorProfile (self, id_) |
def | appendInterface (self, instance_name, type_name, pol) |
def | deleteInterface (self, name, pol) |
def | addProperty (self, key, value) |
def | appendProperty (self, key, value) |
def | updateConnectors (self) |
def | checkPorts (self, ports) |
def | isExistingMarshalingType (self, con_prop) |
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 |
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...
def 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.
def OpenRTM_aist.InPort.InPort.__del__ | ( | self, | |
PortBase = OpenRTM_aist.InPortBase |
|||
) |
def 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()
def 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.
def OpenRTM_aist.InPort.InPort.update | ( | self | ) |
Read into bound T-type data from current InPort
def OpenRTM_aist.InPort.InPort.write | ( | self, | |
data | |||
) |
self | |
data | void write(const DataType& data) |