OpenRTM-aist-Python 2.0.2
OpenRTM_aist.EventPort.EventInPort Class Reference

More...

Inheritance diagram for OpenRTM_aist.EventPort.EventInPort:
OpenRTM_aist.InPortBase.InPortBase OpenRTM_aist.PortBase.PortBase OpenRTM_aist.DataPortStatus.DataPortStatus

Public Member Functions

 __init__ (self, name, fsm)
 
 __del__ (self)
 
 name (self)
 
 init (self, prop)
 
 bindEvent0 (self, name, handler)
 
 bindEvent1 (self, name, handler, data_type)
 
- Public Member Functions inherited from OpenRTM_aist.InPortBase.InPortBase
 read (self)
 
 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)
 
- Public Member Functions inherited from OpenRTM_aist.PortBase.PortBase
 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)
 
- Public Member Functions inherited from OpenRTM_aist.DataPortStatus.DataPortStatus
 toString (status)
 

Additional Inherited Members

- Static Public Attributes inherited from OpenRTM_aist.DataPortStatus.DataPortStatus
int PORT_OK = 0
 
- Protected Member Functions inherited from OpenRTM_aist.PortBase.PortBase
 _publishInterfaces (self)
 

Detailed Description

EventInPort template class

This is a template class that implements EventInPort. <T> is the type defined in BasicDataType.idl and must be the structure which has both Time type tm and type-T data as a member. EventInPort has a ring buffer internally, and stores the received data externally in this buffer one by one. The size of ring buffer can be specified according to the argument of constructor, though the default size is 8. Unread data and data which is already read are managed with the flag, and the data can be handled by the isNew(), write(), read(), isFull() and isEmpty() method etc.

Since
2.0.0

Constructor & Destructor Documentation

◆ __init__()

OpenRTM_aist.EventPort.EventInPort.__init__ ( self,
name,
fsm )

A constructor.

constructor. This is bound to type-T variable given as a parameter.

Parameters
nameA name of the EventInPort. This name is referred by EventInPortBase.name().
valuetype-T variable that is bound to this EventInPort.

Reimplemented from OpenRTM_aist.InPortBase.InPortBase.

◆ __del__()

OpenRTM_aist.EventPort.EventInPort.__del__ ( self)

Destructor

Destructor

Reimplemented from OpenRTM_aist.InPortBase.InPortBase.

Member Function Documentation

◆ bindEvent0()

OpenRTM_aist.EventPort.EventInPort.bindEvent0 ( self,
name,
handler )

Parameters
name
handler

◆ bindEvent1()

OpenRTM_aist.EventPort.EventInPort.bindEvent1 ( self,
name,
handler,
data_type )

Parameters
name
handler
data_type

◆ init()

OpenRTM_aist.EventPort.EventInPort.init ( self,
prop )

Parameters
prop

Reimplemented from OpenRTM_aist.InPortBase.InPortBase.

◆ name()

OpenRTM_aist.EventPort.EventInPort.name ( self)

Get port name

Get port name.

Returns
The port name

The documentation for this class was generated from the following file: