VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
13.2 - The Plan Manager

Each DtVrfObject has a DtVrfObjectPlanManager, which is responsible for maintaining the DtPlan for that object.

When the DtVrfObject is ticked, it ticks its DtVrfObjectPlanManager, which ticks the DtPlan.

The Plan Manager acts as an interface between the plan and the Task Manager. When the Task Manager is ready to execute a task, it calls DtPlan::awaitingTask() through the Plan Manager. Whenever the Task Manager executes a task that is not a subtask, it calls DtVrfObjectPlanManager::taskExecuted(). This allows the Plan Manager to determine if the plan should be abandoned due to an immediate task issued by the front-end, or a task issued from a global plan.

The Plan Manager responds to plan-related commands from front-end applications that are forwarded from the DtVrfPlanAdministrator.

Plan Managers get created in a factory. For details about how Plan Managers get created, please see 3.2.1 How the Object Manager Chooses an Object's Subcomponents.

[<< Introduction to Plans] [Home] [Managing Plans >>]


Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)