14 #include <boost/unordered_map.hpp>
51 virtual bool isScenarioEvent(
const DtUUID& o)
const;
72 static void scenarioEventMessageCallback(
DtSimMessage*,
void* usr);
73 virtual void processScenarioEventMessageCallback(
DtSimMessage*);
76 virtual void setScenarioEventEnabled(
const DtUUID&,
bool,
bool sendMessageIfNotLocal =
true);
79 virtual bool scenarioEventIsEnabled(
const DtUUID&);
83 virtual void startScenarioEvent(
const DtUUID&,
bool sendMessageIfNotLocal =
true);
87 virtual void stopScenarioEvent(
const DtUUID&,
bool sendMessageIfNotLocal =
true);
90 virtual bool scenarioEventInProgress(
const DtUUID&)
const;
93 virtual bool scenarioEventIsConcluded(
const DtUUID&)
const;
96 virtual bool scenarioEventConcluded(
const DtUUID&)
const;
102 virtual double simulationStartTime(
const DtUUID&)
const;
105 virtual double simulationEndTime(
const DtUUID&)
const;
109 virtual void processScenarioEventAdded(
const DtLocalObject*);
112 static void scenarioEventRemoved(
const DtLocalObject*,
void*);
113 virtual void processScenarioEventRemoved(
const DtLocalObject*);
116 virtual void setOrdinalOrder(
const DtUUID& uniqueId,
int ordinal);
119 virtual void resetScenarioEvent(
const DtUUID& uniqueId,
bool sendMessageIfNotLocal =
true);
122 virtual void setTriggerStatus(
const DtUUID& uniqueId,
int);
137 return myEventsThatNeedUpdate;
142 return myEventsThatNeedUpdate;
147 virtual void startUpEvent(
const DtUUID& uniqueId);
150 virtual void stopEvent(
const DtUUID& uniqueId);
154 virtual void updateEnabledStatesLinkedTo(
const DtUUID&);
157 virtual DtUUID scenarioEventUUIDBasedOf(
const DtUUID&)
const;
159 virtual void processObjectModifiedViaMessage(
DtLocalObject* o);
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
class DtLocalObjectManager:
Definition: localObjectManager.h:151
DtLocalObjectManager * myObjectManager
Definition: scenarioEventManager.h:166
DtCallbackList< DtEnableStateChanged > ScenarioEventEnableStateChangedCallbacks
Definition: scenarioEventManager.h:172
ScenarioEventCallbacks myScenarioEventStoppedCallbacks
Definition: scenarioEventManager.h:170
DtCallbackList< DtEnableStateChanged >::DtCallbackFunctionType DtScenarioEventManagerEnabledStateChangedCallbackFcn
Definition: scenarioEventManager.h:29
std::vector< PredecessorItem > PredecessorList
Definition: rwScenarioEvent.h:160
bool isEnabled
Definition: scenarioEventManager.h:27
EventsThatNeedUpdate & eventsThatNeedUpdate()
Definition: scenarioEventManager.h:140
Contains the DtUUID class declaration.
EventsThatNeedUpdate myEventsThatNeedUpdate
Definition: scenarioEventManager.h:193
int myMaxOrdinal
Definition: scenarioEventManager.h:195
Definition: scenarioEventManager.h:24
DtCallbackList< const DtUUID & >::DtCallbackFunctionType DtScenarioEventManagerCallbackFcn
Callback function definition for any kind of scripted task change.
Definition: scenarioEventManager.h:19
The scenario event manager will keep track of all scenario event objects and their state...
Definition: scenarioEventManager.h:33
DtUUID uuid
Definition: scenarioEventManager.h:26
std::map< DtUUID, DtUUID > ObjectEvents
Definition: scenarioEventManager.h:190
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
File: simMsg.h.
Definition: simMessage.h:35
std::map< const DtLocalObject *, EventUpdateInformation > EventsThatNeedUpdate
Definition: scenarioEventManager.h:133
Definition: noArgumentCallbackList.h:91
ScenarioEventEnableStateChangedCallbacks myScenarioEventEnabledStateChangedCallbacks
Definition: scenarioEventManager.h:173
const char * source
Definition: lz4.h:442
std::map< DtUUID, ScenarioEventInformation > ScenarioEvents
Definition: scenarioEventManager.h:187
The DtRwScenarioEvent class will define the contents of a scenario event and it's current status...
Definition: rwScenarioEvent.h:68
DtSimulationServices * mySimulationServices
Definition: scenarioEventManager.h:165
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
const EventsThatNeedUpdate & eventsThatNeedUpdate() const
Definition: scenarioEventManager.h:135
ObjectEvents myObjectEvents
Definition: scenarioEventManager.h:191
DtCallbackList< const DtUUID & > ScenarioEventCallbacks
Definition: scenarioEventManager.h:168
ScenarioEvents myScenarioEvents
Definition: scenarioEventManager.h:188
ScenarioEventCallbacks myScenarioEventStartedCallbacks
Definition: scenarioEventManager.h:169
char * dest
Definition: lz4.h:440
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