18 #include <boost/signals2.hpp>
21 #include <vlutil/vlString.h>
29 #include <unordered_map>
56 typedef std::unordered_map<DtUUID, DtLocalObject*>
GlobalPlans;
70 virtual bool readPlanFileFromZipFile(
const DtFilename& scenarioZipFile,
const DtString&
filename);
76 virtual void sendPlanList();
78 virtual void completeInitialization();
81 virtual void addOrUpdatePlan(
DtPlan* aNewPlan);
85 virtual void registerInterfaceMessageCallbacks();
88 static void requestPlanListCallback(
DtSimMessage* msg,
void* usr);
90 static void objectAddedCallback(
const DtLocalObject*
object,
void* usr);
96 virtual void processObjectAboutToBeRemoved(
const DtSimObject*
object);
97 virtual void processObjectNameChanged(
const DtSimObject*
object);
100 static void setPlanCallback(
DtSimMessage* msg,
void* usr);
107 static void deletePlanCallback(
DtSimMessage* msg,
void* usr);
114 static void launchGlobalPlanCallback(
DtSimMessage* msg,
void* usr);
118 virtual void processLaunchGlobalPlan(
DtSimMessage* msg);
124 virtual void setPlan(
DtIfPlan* plan);
128 virtual void watchPlan(
DtPlan*);
130 static void planStatementChangedCallback(
const DtPlan&,
void* usr);
131 virtual void processPlanStatementChanged(
const DtPlan&);
133 virtual bool processPlanStream(DtlInputStream*);
class DtIfPlan:
Definition: ifPlan.h:61
class DtLocalObjectManager:
Definition: localObjectManager.h:157
Definition: globalPlanManager.h:151
boost::signals2::connection removalConnection
Definition: globalPlanManager.h:153
Contains the DtUUID class declaration.
SignalsMap mySignalsMap
Definition: globalPlanManager.h:158
DtSimulationServices * mySimulationServices
Definition: globalPlanManager.h:147
#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:73
GlobalPlans myGlobalPlans
Definition: globalPlanManager.h:145
DtLocalObjectManager * myObjectManager
Definition: globalPlanManager.h:148
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:96
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:80
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:149
boost::signals2::connection nameChangedConnection
Definition: globalPlanManager.h:154
std::unordered_map< DtUUID, DtLocalObject * > GlobalPlans
Definition: globalPlanManager.h:56
The global plan manager maintains the list of "Global Plans." These are plans that are not specific t...
Definition: globalPlanManager.h:53
std::map< DtUUID, Signals > SignalsMap
Definition: globalPlanManager.h:157
A locally simulated VRF object.
Definition: localObject.h:98
std::recursive_mutex myMutex
Definition: globalPlanManager.h:144