vsTASKER 7 User Manual
×
Menu
Index

Data Model

 
A Data-Model is a C++ Class that can be used by any other objects of vsTASKER (Scenario, Entity, Logic, Knowledge, Component...).
Typically, a DataModel is used to store data. It can inherit from another DataModel. 
 
 
Data-Models are attached to entities on the Model Behavior panel. Several are built-in, like PtfModel that contains a list of variables and methods to characterize the entity.  
A DataModel is shown dashed when external (defined in a library) and in plain line when local.
 
 
When selected:
Give it to: attach the Data Model to the entity being selected in the popup list.
 
Edit Data Model: call the property window.
 
Rename: change the name of the Data Model.
 
Cut: copy it into the clipboard and remove it from the Container.
 
Copy: copy it into the clipboard.
 
Duplicate: create a clone of the Data Model into the same Container.
 
Delete: ask confirmation and delete the Data Model. There is no undo.