vsTASKER 7 User Manual
×
Menu
Index

SOM

 
SOM
1

Selected

1. Selected
This part contains the main Object including all the Attributes (or the main Interaction including all Parameters) selected from the Available in FOM list (right most).
Although several Objects can be selected inside one only FedItem, it is advisable not to do it even if this can work (user must know what they are doing in such process).
 
The main (or base) Object or Interaction is the one with a circle at the left.
When the circle is green, it means that the Object is ready to Publish or Subscribe.
 
Attributes or Parameters appears listed below the base Object/Interaction.
When the Attribute/Parameter name is ticked with a green mark, it means ready to be used for Publish or Subscribe. Otherwise, it will be ignored by the RTI.
 
2

Properties

2. Properties
Use this as a shortcut of the double click on one Item of the above list.
 
3

Merge

3. Merge
Use this button after having selected a child Object or a child Interaction to force the merging of all its Attributes/Parameters with the parent one.
This is mandatory as with RTI, an Object/Interaction must be published as a flat list.
See the RPR-FOM sample.
 
4

Reposition

4. Reposition
Use the Up and Down arrow to move up or down a selected Attribute/Parameter in the list.
 
5

Delete

5. Delete
Use this button to delete from the list the selected Object/Interaction or Attribute/Parameter (including all user defined content for the item).
 
6

Select

6.
Move to the Selected list any Object/Interaction or Attribute/Parameter selected from the list.
If the selected item already exists in the Selected list, it will not be copied.
 
7

Available in FOM

7. Available in FOM
Lists all the items belonging to the FOM, of the same type as the current Federate (Categ).
To select an Object or Interaction from the FOM, just select the base Item name and use .
You can also select an attribute to add it if missing in the selected Item.
 
8

Exclude MOM

8. Exclude MOM
When this option is selected, the list is cleaned from all system (MOM) definitions.
 
9

Declaration

9. Declaration
Declare here all local data that would be needed by the Attributes (or the Base item) code to get or store the SOM data.
This data is private to the Federate Object class.
 
10

Initialization

10. Initialization
This part can be used to initialize the private data (see Declaration) at Init time or Reset time.
(i.e: if you need to publish a particular entity, set the Entity pointer like this: 
 
ent = scen()->findEntity("myEntity");
 
Attribute code will then use ent variable to publish to RTI or subscribe to entity internal data.
Refer to the Developer Guide for more details on system phases/events.