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

The DtVrfObjectManager class has an instance of a DtVrfObjectPlanAdministrator.

Therefore there is one DtVrfObjectPlanAdministrator in each VR-Forces back-end application.

The DtVrfObjectPlanAdministrator::writePlanFile() member function is used by the DtCgf to create plan files when a scenario is saved and DtVrfObjectPlanAdministrator::readPlanFile() is used to load them when the scenario is loaded.

It is also used by the DtCgf during scenario save and load to control the execution state of plans. DtVrfObjectPlanAdministrator::disablePlanExecutionState() goes through each local object in the DtVrfObjectManager and calls disableExecutionState() for the DtPlan owned by the object’s DtVrfObjectPlanManager. DtVrfObjectPlanAdministrator::enablePlanExecutionState() works the same way to enable plan execution.

The DtVrfObjectPlanAdministrator also acts as a dispatcher to read plan messages sent by a DtVrfRemoteController and forward them to the proper DtVrfObjectPlanManager based on the recipient of the message. It handles the following message types:

[<< Managing Plans] [Home] [Top of Page] [Examining and Changing Plans >>]


Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)