VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)