Event item (IDL code)
Through the IDL Profile you can create an IDL Event, that is, a standard UML Event that has the «IDLEvent» stereotype applied to it.
Create an IDL Event from a Package: right-click the owning Package, point to New, point to IDL Profile, and then click Event.
When you create an IDL Event you can select a Basic Type, Class, Data Type, Message, Structure, Type Definition or Value Type to use as the Event's payload:
The name of the IDL Event is set to that of the selected payload suffixed by '_evt'.
The IDL Profile creates a Parameter for the IDL Event that is named Payload. The type of the Payload parameter is the item that was selected for the payload.
By default, the name of an Event is set to that of the type it uses suffixed by '_evt'. If the name of an Event or type is changed and you want to change the name of the Event to match the name of its type suffixed by '_evt': right-click the Event, and then click Synchronize IDL Element Names. Note that the name of the Event is also updated when the Synchronize IDL Element Names command is used from the scoping Package of the Event.
All Events are shown in the IDL Elements pane - expand the IDLEvent folder.
The following sections provide information about how Event is used in the model.
Owned By
Model (UML item)
Package (UML item)
Owns
None.
Shown on these diagrams
IDL Profile properties
payload - derived property that is set to the item that is selected as a payload, that is, the type of the Event's Payload parameter.
Was this helpful?