Public Member Functions | |
def | __init__ |
def | activateInterfaces |
def | deactivateInterfaces |
def | publishInterfaces |
Publish interface information. | |
def | subscribeInterfaces |
Publish interface information. | |
def | unsubscribeInterfaces |
Disconnect interface connection. |
Definition at line 30 of file test_PortAdmin.py.
def test_PortAdmin.PortBase.__init__ | ( | self | ) |
Definition at line 31 of file test_PortAdmin.py.
def test_PortAdmin.PortBase.activateInterfaces | ( | self | ) |
Definition at line 43 of file test_PortAdmin.py.
def test_PortAdmin.PortBase.deactivateInterfaces | ( | self | ) |
Definition at line 47 of file test_PortAdmin.py.
def test_PortAdmin.PortBase.publishInterfaces | ( | self, | |
connector_profile | |||
) |
Publish interface information.
This operation is pure virutal method that would be called at the beginning of the notify_connect() process sequence. In the notify_connect(), the following methods would be called in order.
In the concrete Port, this method should be overridden. This method processes the given ConnectorProfile argument and if the given parameter is invalid, it would return error code of ReturnCode_t. Usually, publishInterfaces() method should set interfaces information owned by this Port, and publish it to the other Ports.
When this method is called, other Ports' interfaces information may not be completed. Therefore, the process to obtain other Port's interfaces information should be done in the subscribeInterfaces() method.
This operation should create the new connection for the new connector_id, and should update the connection for the existing connection_id.
connector_profile | The connection profile information |
Reimplemented from OpenRTM_aist.PortBase.PortBase.
Definition at line 34 of file test_PortAdmin.py.
def test_PortAdmin.PortBase.subscribeInterfaces | ( | self, | |
connector_profile | |||
) |
Publish interface information.
This operation is pure virutal method that would be called at the mid-flow of the notify_connect() process sequence. In the notify_connect(), the following methods would be called in order.
In the concrete Port, this method should be overridden. This method processes the given ConnectorProfile argument and if the given parameter is invalid, it would return error code of ReturnCode_t. The given argument ConnectorProfile includes all the interfaces information in it. Usually, subscribeInterafaces() method obtains information of interfaces from ConnectorProfile, and should set it to the interfaces that require them.
This operation should create the new connection for the new connector_id, and should update the connection for the existing connection_id.
connector_profile | The connection profile information |
Reimplemented from OpenRTM_aist.PortBase.PortBase.
Definition at line 37 of file test_PortAdmin.py.
def test_PortAdmin.PortBase.unsubscribeInterfaces | ( | self, | |
connector_profile | |||
) |
Disconnect interface connection.
This operation is pure virutal method that would be called at the end of the notify_disconnect() process sequence. In the notify_disconnect(), the following methods would be called.
connector_profile | The connection profile information |
Reimplemented from OpenRTM_aist.PortBase.PortBase.
Definition at line 40 of file test_PortAdmin.py.