Exclude the Data Model from the code generation. Disabled Data Model will not be included into the items using it (entities but not only) without the need to remove it from all users.
Disabling is error prone while removing might leave dangled pointers.
If checked, the Data Model class, when attached to an owner (Entity, Player, etc.) will create an object with new.
If unchecked, the attachment will be seen as a reference without object (NULL pointer). This can be useful when different Entities (for example) must share a same and unique Data Model. It is then the responsibility of the user code (wherever it is) to create the Data Model, reference it whenever it is needed and delete it at simulation stop.
Use this button to automatically translate the current local Data Model into a C++ class with a header and a source file, in order to include it into a dedicated library.
This part is called automatically at instantiation (INIT), when DataModel is created using new, or every time the DataModel is reset and finally at destruction (CLEAN) using delete.
Default Values: Pop up the variable Dyn-UI allowing the user to supersede or overwrite the default values (DEF[]) of the current Dyn-UI. These values will be set using the setUserData() function call with the default Dyn-UI then, the same function will be called with the DataModel owner Dyn-UI setting.
It is a good practice to put in the RESET part whatever must be reinitialized at reset. There is no break after INIT to allow the RESET part to be processed after INIT, at Data Model creation time.
This part is used to process EVENT or PACKET events when selected.
case Event received from raiseEvent(...) method in the code.
case Packet received from send(...) method in the code.
If Accept Events is checked, the case..break code block will be called whenever an Event is raised towards the Entity holding the Data Model.
If Accept Packets is checked, the case..break code block will be called whenever a Packet is received in a Channel used by the Entity holding the Data Model.
Refer to the Developer Guide for more details on system phases/events.