16 #include <vlutil/vlString.h>
18 #include <tbb/spin_rw_mutex.h>
20 #include <boost/unordered_map.hpp>
21 #include <boost/signals2.hpp>
48 typedef boost::unordered_map<DtUUID, DtLocalObject*>
GlobalPlans;
62 virtual bool readPlanFileFromZipFile(
const DtFilename& scenarioZipFile,
const DtString&
filename);
68 virtual void sendPlanList();
70 virtual void completeInitialization();
73 virtual void addOrUpdatePlan(
DtPlan* aNewPlan);
77 virtual void registerInterfaceMessageCallbacks();
80 static void requestPlanListCallback(
DtSimMessage* msg,
void* usr);
82 static void objectAddedCallback(
const DtLocalObject*
object,
void* usr);
88 virtual void processObjectAboutToBeRemoved(
const DtSimObject*
object);
91 static void setPlanCallback(
DtSimMessage* msg,
void* usr);
98 static void deletePlanCallback(
DtSimMessage* msg,
void* usr);
105 static void launchGlobalPlanCallback(
DtSimMessage* msg,
void* usr);
109 virtual void processLaunchGlobalPlan(
DtSimMessage* msg);
115 virtual void setPlan(
DtIfPlan* plan);
119 virtual void watchPlan(
DtPlan*);
121 static void planStatementChangedCallback(
const DtPlan&,
void* usr);
122 virtual void processPlanStatementChanged(
const DtPlan&);
124 virtual bool processPlanStream(DtlInputStream*);
class DtIfPlan:
Definition: ifPlan.h:61
class DtLocalObjectManager:
Definition: localObjectManager.h:151
RemovalSignalsMap myRemovalSignalsMap
Definition: globalPlanManager.h:143
Contains the DtUUID class declaration.
DtSimulationServices * mySimulationServices
Definition: globalPlanManager.h:138
#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:65
GlobalPlans myGlobalPlans
Definition: globalPlanManager.h:136
DtLocalObjectManager * myObjectManager
Definition: globalPlanManager.h:139
class DtPlan:
Definition: plan.h:92
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:79
tbb::spin_rw_mutex myMutex
Definition: globalPlanManager.h:135
boost::unordered_map< DtUUID, DtLocalObject * > GlobalPlans
Definition: globalPlanManager.h:48
class DtSimStatement:
Definition: simStatement.h:38
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
bool myReadingPlanFile
Definition: globalPlanManager.h:140
The global plan manager maintains the list of "Global Plans." These are plans that are not specific t...
Definition: globalPlanManager.h:45
std::map< DtUUID, boost::signals2::connection > RemovalSignalsMap
Definition: globalPlanManager.h:142
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86