vsTASKER 7 User Manual
×
Menu
Index

Group

 
A Group is a Logic object that gathers and hide a group of Logic objects defining something specific. A Group is a kind of encapsulation of a specific process or complex logic. A Group is a kind of abstraction that can be manipulated as a new named object that contains own variables and methods.
 
A Group can be seen as a sub Logic in a sense that, once activated, its content is running independently. It simplifies the drawing and its comprehension.
Several groups can run concurrently inside a same logic.
A Group is represented like a Task with a shadow. The Task is cycling a runtime code and a Group is cycling a bench of objects.
 
 
   
 
scen() or S: is a macro that returns a pointer to the Scenario instance that holds the Entity instance that holds the Logic instance that holds the current Group.
ent() or E: is a macro that returns a pointer to the Entity instance that holds the Logic instance that holds the current Group.
logk() or L: is a macro that returns a pointer to the Logic instance that holds the current Group.
group() or G: is a macro that returns a pointer to the current Group, if any, that holds the current Group. NULL if none.