List of all members.
Definition at line 92 of file PortBaseTests.cpp.
Constructor & Destructor Documentation
Member Function Documentation
Activate all Port interfaces.
This operation activate all interfaces that is registered in the ports.
Definition at line 145 of file PortBaseTests.cpp.
Deactivate all Port interfaces.
This operation deactivate all interfaces that is registered in the ports.
Definition at line 148 of file PortBaseTests.cpp.
[CORBA interface] Notify the Ports disconnection
This operation is invoked between Ports internally when the connection is destroied. Generally it is not premised on calling from application programs or RTC objects except Port object.
According to the template method pattern, the notify_disconnect() calls unsubsctiveInterfaces() function, which are premised on implementing in the subclasses. The processing sequence is as follows.
- Searching ConnectorProfile
- Calling notify_disconnect() for the next port
- Unsubscribing interfaces
- Deleting ConnectorProfile
notify_disconnect() notifies disconnection to all the ports by cascaded call to the stored ports in the ConnectorProfile::ports in order.
- The port shall store the ConnectorProfile having same id with connector_id.
- If ConnectorProfile of same ID with connector_id does not exist, it returns BAD_PARAMETER error.
For the cascaded call, this operation calls noify_disconnect() for the port that is stored in the next of this port in the ConnectorProfile::ports. If the operation call raises exception for some failure, it tries to call notify_disconnect() and skips until the operation succeeded. If none of operation call succeeded, it returns RTC_ERROR.
At the end of notify_disconnect() operation for the first port stored in the ConnectorProfile::ports sequence, the related ports' notify_disconnect() invocations complete.
|connector_id||The ID of the ConnectorProfile. |
- ReturnCode_t The return code of ReturnCode_t type.
Reimplemented from RTC::PortBase.
Definition at line 116 of file PortBaseTests.cpp.
Member Data Documentation
The documentation for this class was generated from the following file: