• On a Component Definition Diagram: on the diagram's toolbar, click the Port Type button, and then click in free space.
• Right-click the Model or a Package, point to New, point to IDL Profile, and then click Port Type.
When you create a Port Type, you are prompted to set the Port Type Kind property to either 'Subscriber' for an Extended Port (Consumer) or 'Publisher' for an Extended Port (Publisher).
You can define Port Type inheritance on a Component Definition Diagram.
A Port Type can own Clients, Services and Attributes.
The IDL Profile provides the following Port Types in the Typed template module, which resides in the IDL Profile::CCM_DDS package:
• DDS_Get - Port type kind is Subscriber
• DDS_Listen - Port type kind is Subscriber
• DDS_Read - Port type kind is Subscriber
• DDS_StateListen - Port type kind is Subscriber
• DDS_Update - Port type kind is Publisher
• DDS_Write - Port type kind is Publisher
All Port Types are shown in the IDL Elements pane - expand the Port Type folder.
A Port Type is based on a UML Class.
The following sections provide information about how a Port Type is used in the model.