![]() |
VR-Forces 4.0.4 Class Documentation
|
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 How the Object Manager Chooses an Object's Subcomponents.
[<< Introduction to Plans] [Home] [Managing Plans >>]