16 #include <vlutil/vlString.h>
19 #include <boost/unordered_map.hpp>
40 typedef boost::unordered_map<DtUUID, const DtVrfObject*>
GlobalPlans;
54 virtual bool readPlanFileFromZipFile(
const DtFilename& scenarioZipFile,
const DtString&
filename);
60 virtual void sendPlanList();
62 virtual void completeInitialization();
65 virtual void addOrUpdatePlan(
DtPlan* aNewPlan);
69 virtual void registerInterfaceMessageCallbacks();
72 static void requestPlanListCallback(
DtSimMessage* msg,
void* usr);
74 static void objectAddedCallback(
const DtVrfObject*
object,
void* usr);
77 virtual void objectAdded(
const DtVrfObject*
object);
79 static void objectAboutToBeRemovedCallback(
const DtVrfObject*
object,
void* usr);
82 virtual void objectAboutToBeRemoved(
const DtVrfObject*
object);
85 static void setPlanCallback(
DtSimMessage* msg,
void* usr);
92 static void deletePlanCallback(
DtSimMessage* msg,
void* usr);
99 static void launchGlobalPlanCallback(
DtSimMessage* msg,
void* usr);
103 virtual void processLaunchGlobalPlan(
DtSimMessage* msg);
109 virtual void setPlan(
DtIfPlan* plan);
113 virtual void watchPlan(
DtPlan*);
115 static void planStatementChangedCallback(
const DtPlan&,
void* usr);
116 virtual void processPlanStatementChanged(
const DtPlan&);
118 virtual bool processPlanStream(DtlInputStream*);
class DtIfPlan:
Definition: ifPlan.h:61
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtSimManager * mySimManager
Definition: globalPlanManager.h:131
#define DT_DLL_vrfplanmgr
This file is used to determine how to build.
Definition: vrfplanmgrDefines.h:28
File: simMsg.h.
Definition: simMessage.h:35
const GlobalPlans & globalPlans() const
Accessor for the global plans currently in use on this back-end.
Definition: globalPlanManager.h:57
GlobalPlans myGlobalPlans
Definition: globalPlanManager.h:129
class DtPlan:
Definition: plan.h:91
class DtSimStatement:
Definition: simStatement.h:35
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
bool myReadingPlanFile
Definition: globalPlanManager.h:132
The global plan manager maintains the list of "Global Plans." These are plans that are not specific t...
Definition: globalPlanManager.h:37
boost::unordered_map< DtUUID, const DtVrfObject * > GlobalPlans
Definition: globalPlanManager.h:40