23 #include <vlutil/vlFilename.h>
25 #include <vl/startResumeInteraction.h>
26 #include <vl/stopFreezeInteraction.h>
49 int receivePort = 8000);
56 virtual void reinitializeScenario();
61 const DtSimulationAddress& requester);
66 const DtSimulationAddress& requester);
71 const DtSimulationAddress& requester);
85 const DtSimulationAddress& sender);
87 virtual void setEnableResourceMonitor(
bool b);
93 virtual void setTimeToQuit(
bool yesNo);
94 virtual bool timeToQuit()
const;
97 virtual void clearSimulationObjects();
103 virtual DtCgf* cgf()
const;
106 virtual int port()
const;
109 virtual const DtFilename& tempDirectory();
110 virtual void setTempDirectory(
const DtFilename& f);
115 virtual void cleanupSockets();
122 virtual unsigned int simMgmtPduProcessLevel()
const;
123 virtual void setSimMgmtPduProcessLevel(
unsigned int level);
125 virtual void processCapableTaskAndSetQuery(
DtSimMessage* msg);
126 virtual void processDIGuyAppearAndAnimationsQuery(
DtSimMessage* msg);
138 static void processMessageCb(
DtSimMessage* msg,
void* usr);
141 virtual void startResumeSimCb(
const DtEvent&);
144 virtual void stopFreezeSimCb(
const DtEvent&);
147 static void receiveFileCb(
const DtFilename& f,
void* usr);
155 static void runDurationCompleteCallback(
void* timer);
162 virtual bool shouldTryReload(
const DtScenario& scenario);
170 virtual void pause();
176 virtual void rewind(
int scenarioRunId = 0);
180 virtual void step(
const DtSimulationAddress& sender);
191 virtual void runForDuration(
double duration,
const DtSimulationAddress& sender);
Definition: ifImportScenarioDescriptionFile.h:25
DtIfLoadScenario is a composite message containing all the elements needed to begin a simulation...
Definition: ifLoadScenario.h:21
Instances of DtTimer are used to maintain the information needed to represent some kind of scheduled ...
Definition: timer.h:45
Definition: scenario.h:52
DtFilename myDir
Definition: cgfDispatcher.h:199
Message sent to start the Export of a scenario file.
Definition: ifExportScenarioDescriptionFile.h:24
DtVrfMessageInterface * myMessageIf
Definition: cgfDispatcher.h:198
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
This class handles messages from the front-end for loading and saving scenarios, and controlling the ...
Definition: cgfDispatcher.h:38
class DtIfSaveScenario:
Definition: ifSaveScenario.h:23
DtCgf * myCgf
Definition: cgfDispatcher.h:197
class DtIfSaveSimulationObjectGroup:
Definition: ifSaveSimulationObjectGroup.h:22
Definition: cgfDispatcher.h:130
File: DtIfCreateSimulationObjectGroup.h.
Definition: ifCreateSimulationObjectGroup.h:22
File: ifControl.h.
Definition: ifControl.h:32
File: simMsg.h.
Definition: simMessage.h:35
Definition: compressedFileTransporter.h:24
class DtIfCloseScenario:
Definition: ifCloseScenario.h:27
DtCgfDispatcher * cgfDispatcher
Definition: cgfDispatcher.h:132
DtIfLoadScenario * myPendingLoadScenario
This pointer is used to keep a scenario load message in queue for those times that a load scenario me...
Definition: cgfDispatcher.h:206
int myPort
Definition: cgfDispatcher.h:195
unsigned int mySimMgmtPduProcessLevel
Definition: cgfDispatcher.h:207
DtIfImportScenarioDescriptionFile * myPendingScenarioDescriptionImport
Definition: cgfDispatcher.h:209
An instance of DtCgf is an object representing a CGF (Computer Generated Forces). ...
Definition: cgf.h:115
#define DT_DLL_vrfcgf
This file is used to determine how to build.
Definition: vrfcgfDefines.h:25
DtSimulationAddress replyTo
Definition: cgfDispatcher.h:133
bool myTimeToQuit
Definition: cgfDispatcher.h:196
Definition: vrfMessageInterface.h:46
DtCompressedFileTransporter myTransporter
Definition: cgfDispatcher.h:200