OpenRTM-aist-Python 1.1.2
Classes | Public Member Functions | List of all members
OpenRTM_aist.OutPort.OutPort Class Reference
Inheritance diagram for OpenRTM_aist.OutPort.OutPort:
OpenRTM_aist.OutPortBase.OutPortBase OpenRTM_aist.PortBase.PortBase OpenRTM_aist.DataPortStatus.DataPortStatus

Classes

class  subscribe
 

Public Member Functions

def __init__
 Constructor. More...
 
def write
 Write data. More...
 
def setOnWrite
 Set read() block mode. More...
 
def setOnWriteConvert
 Set OnWriteConvert callback. More...
 
- Public Member Functions inherited from OpenRTM_aist.OutPortBase.OutPortBase
def __init__
 A constructor of OutPortBase class. More...
 
def __del__
 destructor More...
 
def init
 Initializing properties. More...
 
def write
 Write data. More...
 
def connect
 [CORBA interface] Connect the Port More...
 
def properties
 Get properties. More...
 
def connectors
 Connector listconst std::vector<OutPortConnector*>& OutPortBase::connectors()
 
def getConnectorProfiles
 ConnectorProfile listConnectorBase::ConnectorInfoList OutPortBase::getConnectorProfiles()
 
def getConnectorIds
 ConnectorId listcoil::vstring OutPortBase::getConnectorIds()
 
def getConnectorNames
 Connector name listcoil::vstring OutPortBase::getConnectorNames()
 
def getConnectorById
 Getting ConnectorProfile by ID. More...
 
def getConnectorByName
 Getting Connector by name. More...
 
def getConnectorProfileById
 Getting ConnectorProfile by namebool OutPortBase::getConnectorProfileById(const char* id, ConnectorInfo& prof)
 
def getConnectorProfileByName
 Getting ConnectorProfile by namebool OutPortBase::getConnectorProfileByName(const char* name, ConnectorInfo& prof)
 
def activateInterfaces
 Activate all Port interfacesvoid OutPortBase::activateInterfaces()
 
def deactivateInterfaces
 Deactivate all Port interfacesvoid OutPortBase::deactivateInterfaces()
 
def addConnectorDataListener
 Adding BufferDataListener type listener. More...
 
def removeConnectorDataListener
 Removing BufferDataListener type listener. More...
 
def addConnectorListener
 Adding ConnectorListener type listener. More...
 
def removeConnectorListener
 Removing BufferDataListener type listener. More...
 
def configure
 Configureing outportvoid OutPortBase::configure()
 
def publishInterfaces
 Publish interface informationReturnCode_t OutPortBase::publishInterfaces(ConnectorProfile& cprof)
 
def subscribeInterfaces
 Subscribe interfaceReturnCode_t OutPortBase::subscribeInterfaces(const ConnectorProfile& cprof)
 
def unsubscribeInterfaces
 Unsubscribe interfacevoid OutPortBase::unsubscribeInterfaces(const ConnectorProfile& connector_profile)
 
def initProviders
 OutPort provider initializationvoid OutPortBase::initProviders()
 
def initConsumers
 InPort consumer initializationvoid OutPortBase::initConsumers()
 
def createProvider
 OutPort provider creationOutPortProvider* OutPortBase::createProvider(ConnectorProfile& cprof, coil::Properties& prop)
 
def createConsumer
 InPort consumer creationInPortConsumer* OutPortBase::createConsumer(const ConnectorProfile& cprof, coil::Properties& prop)
 
def createConnector
 OutPortPushConnector creationOutPortConnector* OutPortBase::createConnector(const ConnectorProfile& cprof, coil::Properties& prop, InPortConsumer* consumer)
 
- Public Member Functions inherited from OpenRTM_aist.PortBase.PortBase
def __init__
 Constructor. More...
 
def __del__
 Destructor. More...
 
def get_port_profile
 [CORBA interface] Get the PortProfile of the Port More...
 
def getPortProfile
 Get the PortProfile of the Port. More...
 
def get_connector_profiles
 [CORBA interface] Get the ConnectorProfileList of the Port More...
 
def get_connector_profile
 [CORBA interface] Get the ConnectorProfile More...
 
def connect
 [CORBA interface] Connect the Port More...
 
def notify_connect
 [CORBA interface] Notify the Ports connection More...
 
def disconnect
 [CORBA interface] Disconnect the Port More...
 
def notify_disconnect
 [CORBA interface] Notify the Ports disconnection More...
 
def disconnect_all
 [CORBA interface] Connect the Port More...
 
def setName
 Set the name of this Port. More...
 
def getName
 Get the name of this Port. More...
 
def getProfile
 Get the PortProfile of the Port. More...
 
def setPortRef
 Set the object reference of this Port. More...
 
def getPortRef
 Get the object reference of this Port. More...
 
def setOwner
 Set the owner RTObject of the Port. More...
 
def setOnPublishInterfaces
 Setting callback called on publish interfaces. More...
 
def setOnSubscribeInterfaces
 Setting callback called on publish interfaces. More...
 
def setOnConnected
 Setting callback called on connection established. More...
 
def setOnUnsubscribeInterfaces
 Setting callback called on unsubscribe interfaces. More...
 
def setOnDisconnected
 Setting callback called on disconnected. More...
 
def setPortConnectListenerHolder
 Setting PortConnectListener holder. More...
 
def publishInterfaces
 Publish interface information. More...
 
def connectNext
 Call notify_connect() of the next Port. More...
 
def disconnectNext
 Call notify_disconnect() of the next Port. More...
 
def subscribeInterfaces
 Publish interface information. More...
 
def unsubscribeInterfaces
 Disconnect interface connection. More...
 
def setConnectionLimit
 Set the maximum number of connections. More...
 
def isEmptyId
 Whether connector_id of ConnectorProfile is empty. More...
 
def getUUID
 Get the UUID. More...
 
def setUUID
 Create and set the UUID to the ConnectorProfile. More...
 
def isExistingConnId
 Whether the given id exists in stored ConnectorProfiles. More...
 
def findConnProfile
 Find ConnectorProfile with id. More...
 
def findConnProfileIndex
 Find ConnectorProfile with id. More...
 
def updateConnectorProfile
 Append or update the ConnectorProfile list. More...
 
def eraseConnectorProfile
 Delete the ConnectorProfile. More...
 
def appendInterface
 Append an interface to the PortInterfaceProfile. More...
 
def deleteInterface
 Delete an interface from the PortInterfaceProfile. More...
 
def addProperty
 Add NameValue data to PortProfile's properties. More...
 
def appendProperty
 Append NameValue data to PortProfile's properties. More...
 
def updateConnectors
 Disconnect ports that doesn't exist. More...
 
def checkPorts
 Existence of ports. More...
 
- Public Member Functions inherited from OpenRTM_aist.DataPortStatus.DataPortStatus
def toString
 Convert DataPortStatus into the string. More...
 

Additional Inherited Members

- Static Public Attributes inherited from OpenRTM_aist.DataPortStatus.DataPortStatus
int PORT_OK = 0
 DataPortStatus return codes. More...
 

Detailed Description

 

Constructor & Destructor Documentation

def OpenRTM_aist.OutPort.OutPort.__init__ (   self,
  name,
  value,
  buffer = None 
)

Constructor.

Member Function Documentation

def OpenRTM_aist.OutPort.OutPort.setOnWrite (   self,
  on_write 
)

Set read() block mode.

def setWriteBlock(self, block): self._writeBlock = block

Set write() timeout

def setWriteTimeout(self, timeout): self._writeTimeout = timeout

Set OnWrite callback

def OpenRTM_aist.OutPort.OutPort.setOnWriteConvert (   self,
  on_wconvert 
)

Set OnWriteConvert callback.

def OpenRTM_aist.OutPort.OutPort.write (   self,
  value = None 
)

Write data.

virtual bool write(const DataType& value)

bool operator<<(DataType& value)


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