Bound module item (IDL code)
A Bound Module instantiates a Template Module.
Create a Bound Module from a Package or the Model: right-click the Package or Model, and select New > IDL Profile > Bound Module. In addition, you can create a Bound Module when creating an Extended Port (Consumer), Extended Port (Publisher) or Connector Instance.
When you create a Bound Module, you must select the Template Module that is being instantiated and the Message or Structure that is used for the instantiation, that is, the Message or Structure that is used as the argument for T.
Note that if you select a Structure to instantiate a Bound Module, the IDL Profile changes that Structure to a Message.
The IDL Profile includes the CCM_DDS::Typed template module, which is specified in Annex A of the DDS for Lightweight CCM specification.
By default, the name of a Bound Module is set to that of the Message it uses with the '_msg' text removed and a '_conn' suffix added. If the name of a Bound Module or Message is changed and you want to change the name of the Bound Module to match the name of the Message it uses with the '_msg' text removed and a '_conn' suffix added: right-click the Bound Module, and then click Synchronize IDL Element Names. Note that the name of the Bound Module is also updated when the Synchronize IDL Element Names command is used from the following items: the Message it uses, and the scoping Package of the Bound Module or Message.
If you delete a Bound Module, Modeler deletes any Extended Port (Consumer) items, Extended Port (Publisher) items and Connector Instances that are connected to the Bound Module.
All Bound Modules are shown in the
IDL Elements pane - expand the Bound Module folder.
A Bound Module is based on a UML Package
The following sections provide information about how a Bound Module is used in the model.
Owned By
Model (UML item)
Package (UML item)
Owns
None.
Shown on these diagrams
Internal Component Diagram (through callout note)
IDL Profile properties
msg - the Message that is associated with the Bound Module, that is, the Message that is used as the argument for T.