17 #include <vlutil/vlFilename.h>
18 #include <vlutil/vlTime.h>
20 #include <vlutil/vlPrint.h>
30 #include <boost/unordered_set.hpp>
71 class DtJoyDeviceManager;
75 class DtCustomReportManager;
96 struct DtOrganizationManagerReadyCallbackInfo;
104 class DtApplicationSettings;
113 namespace makVrfEvents
116 class DtEventManager;
121 class DtStateDataManager;
154 DtCgf(
const DtSimulationAddress& addr,
const DtU32& capabilities = 0xffff);
196 virtual void sendFinalStatus();
201 virtual bool importScenarioDescriptionFile(
const DtFilename& file,
const DtString& format,
204 const std::map<std::string, std::string>& importData);
209 virtual DtString exportScenarioDescriptionFile(
const DtFilename& file,
const DtString& format,
210 const std::map<std::string, std::string>& exportData);
213 virtual void setAppDataDir(
const DtString&);
214 virtual DtFilename appDataDir()
const;
217 virtual void setSimulationAddress(
const DtSimulationAddress&);
220 virtual void setUserDataDir(
const DtString&);
221 virtual DtFilename userDataDir()
const;
224 virtual void setDataDir(
const DtString&);
225 virtual DtFilename
dataDir()
const;
230 virtual DtFilename sharedDataDir()
const;
231 virtual void setSharedDataDir(
const DtFilename& path);
233 virtual DtFilename sharedDataRoot()
const;
234 virtual void setSharedDataRoot(
const DtFilename& path);
236 virtual DtString sharedDataStem()
const;
237 virtual void setSharedDataStem(
const DtString& path);
240 virtual void setAppIdRangeMax(
int);
241 int appIdRangeMax()
const;
246 virtual bool loadScenario(
const DtFilename& name,
int scenarioRunId = 0,
247 bool isOrbatEnabled =
false,
bool createGlobalEnv =
false,
248 bool createGlobalDynamicTerrain =
false);
256 virtual bool loadScenario(
const DtScenario& scenario,
int scenarioRunId = 0,
257 bool isOrbatEnabled =
false,
bool createGlobalEnv =
false,
258 bool createGlobalDynamicTerrain =
false);
267 virtual void clearSimulationObjects();
271 virtual bool importScenario(
const DtScenario&);
272 virtual bool importScenario(
const DtFilename&);
280 virtual bool newScenario(
const DtFilename& dbname =
281 DtFilename::nullFilename(),
const DtFilename& simulationModelSet =
282 DtFilename::nullFilename());
288 virtual void sendScenarioStatusMessage();
293 virtual bool saveScenario(
const DtFilename& savename,
bool saveAsSip =
false);
300 virtual void rollbackToSimTime(
double simTime);
304 virtual void takeSnapshot(
bool makeBase);
308 virtual bool saveSnapshot(
const DtFilename& saveFolder,
314 virtual bool saveSimulationObjectGroup(DtFilename saveFolder,
const DtString& groupName,
315 int flags, std::set<DtUUID>& uuidsSaved,
bool& savAsZipFile);
322 virtual bool createSimulationObjectGroup(
const DtString& group,
int flags,
int force,
const DtVector& geocentricLocation,
323 double offsetRotation,
bool storedInZipFile =
false);
329 virtual void closeScenario(
const DtFilename& terrainToOpen =
"",
bool forceCloseAll =
false);
335 virtual bool loadAdditionalObjectParameters(
const DtFilename& paramsFileName,
344 virtual void pause();
347 virtual std::string protocol()
const;
354 virtual void rewind(
int scenarioRunId = 0);
357 virtual void setRejectMismatchedScenarioMessages(
bool);
358 virtual bool rejectMismatchedScenarioMessages()
const;
365 virtual void setForceParameterDbReload(
bool reload);
366 virtual bool forceParameterDbReload()
const;
373 virtual void setEnableResourceMonitor(
bool b);
374 virtual bool isResourceMonitorEnabled()
const;
383 virtual bool canSleep()
const;
391 virtual void setSmsValidationEnabled(
bool b);
405 virtual const DtFilename& defaultTerrainDirectory();
406 virtual void setDefaultTerrainDirectory(
const DtFilename& directory);
409 virtual bool logFrameRateStatistics()
const;
410 virtual void setLogFrameRateStatistics(
bool yesOrNo);
420 virtual const DtFilename& defaultSimulationModelSetFilename();
421 virtual void setDefaultSimulationModelSetFilename(
const DtFilename&
filename);
428 virtual const DtFilename& diGuyAnimationsFilename();
429 virtual void setDIGuyAnimationsFilename(
const DtFilename&
filename);
434 void setClockMode(
int clockMode);
439 virtual void setMsdlSidcMappingFile(
const DtFilename&);
440 virtual const DtFilename& msdlSidcMappingFile()
const;
445 virtual void setCountryCodesMappingFile(
const DtFilename&);
446 virtual const DtFilename& countryCodesMappingFile()
const;
457 virtual void deleteObject(
const DtUUID& name,
bool andRemoveFromOrbat =
true)
const;
473 const DtString& uniqueName = DtString::nullString())
const;
488 const DtString& uniqueName = DtString::nullString())
const;
504 const DtString& uniqueName = DtString::nullString())
const;
518 const DtList& vertices,
519 const DtString& uniqueName = DtString::nullString())
const;
533 const DtList& vertices,
534 const DtString& uniqueName = DtString::nullString())
const;
564 const DtEntityType& entityType,
568 const DtString& entityName = DtString::nullString(),
569 bool allowBlocking =
true,
570 std::list<DtAdminContent*>* initialAdminContent = 0,
571 bool addToOrbat =
true)
const;
604 const DtEntityType& aggregateType,
608 const std::vector<DtUUID>& subordinates = std::vector<DtUUID>(),
609 const DtString& aggregateName = DtString::nullString(),
610 bool addToOrbat =
true)
const;
624 const DtEntityType& aggregateType,
628 bool createSubordinates,
629 const DtString& aggregateName = DtString::nullString(),
630 bool allowBlocking =
true,
631 bool addToOrbat =
true)
const;
691 virtual void assignPlanByUUID(
const DtUUID&,
const DtPlan& plan);
714 DtFilename
filename = DtFilename::nullFilename());
717 virtual void stopLoggingObjectConsoleToFile(
DtLocalObject*
object);
722 virtual void setObjectConsoleNotificationLevel(
DtLocalObject*
object,
723 DtNotifyLevelType
level);
732 virtual bool reuseEntityIdentifiersOnScenarioLoad()
const;
733 virtual void setReuseEntityIdentifiersOnScenarioLoad(
bool);
745 virtual void setUseDrawControlForTaskVisualizations(
bool);
746 virtual bool useDrawControlForTaskVisualizations()
const;
881 virtual const DtSimulationAddress& simulationAddress()
const;
888 virtual int sessionId()
const;
896 virtual DtU32 scenarioCapabilities()
const;
897 virtual void setScenarioCapabilities(DtU32 v);
898 virtual void setScenarioCapability(DtU32 v,
bool);
902 virtual void setTimeMultiplier(
double);
907 virtual DtString applicationType()
const;
908 virtual void setApplicationType(
const DtString& type);
918 virtual void useMapDatum(
const DtMapDatum& mapDatum);
921 virtual void setParameterDbLoaded(
bool flag);
928 virtual void setDefaultParameterDbDirectory(
const DtFilename&
filename);
931 virtual DtFilename objectGroupsRoot()
const;
937 virtual bool reinitializeScenario();
939 virtual void setFullyLoadTerrain(
bool yesOrNo);
940 virtual bool fullyLoadTerrain()
const;
946 virtual void setAssertOnBlockingTerrainCalls(
bool b);
947 virtual bool assertOnBlockingTerrainCalls()
const;
954 virtual void setMetocEnable(
bool b);
955 virtual bool metocEnable()
const;
964 virtual void addPluginToLoad(
const DtString&);
968 virtual void setLoadPluginsIfVersionMismatch(
bool);
969 virtual bool loadPluginsIfVersionMismatch()
const;
972 virtual bool createAndInitPluginManager(
DtVrfCreator* creator);
976 virtual void initializePluginCommandLineArguments(DtApplicationSettings& appInitializer);
988 virtual void addPreLoadTerrainCallback(
990 virtual void removePreLoadTerrainCallback(
998 virtual void addPostLoadTerrainCallback(
1000 virtual void removePostLoadTerrainCallback(
1006 virtual void runForDuration(
double);
1009 virtual void stopSimulationDurationTimer();
1012 static void runDurationCompleteCallback(
void*);
1013 virtual void processRunDurationComplete();
1016 virtual void setPublishingGlobalEnvironment(
bool);
1022 virtual void addPreLoadScenarioCallback(
1024 virtual void removePreLoadScenarioCallback(
1030 virtual void addPreScenarioReinitializeCallback(
1032 virtual void removePreScenarioReinitializeCallback(
1039 virtual void addPostScenarioReinitializeCallback(
1041 virtual void removePostScenarioReinitializeCallback(
1047 virtual void addPreCreateSimulationObjectGroupCallback(
1049 virtual void removePreCreateSimulationObjectGroupCallback(
1057 virtual void addPostLoadScenarioCallback(
1059 virtual void removePostLoadScenarioCallback(
1065 virtual void addPostCreateSimulationObjectGroupCallback(
1067 virtual void removePostCreateSimulationObjectGroupCallback(
1073 virtual void addPreImportScenarioCallback(
1075 virtual void removePreImportScenarioCallback(
1081 virtual void addPostImportScenarioCallback(
1083 virtual void removePostImportScenarioCallback(
1090 virtual void addPreSaveScenarioCallback(
1092 virtual void removePreSaveScenarioCallback(
1099 virtual void addPostSaveScenarioCallback(
1101 virtual void removePostSaveScenarioCallback(
1108 virtual void addPreCloseScenarioCallback(
1110 virtual void removePreCloseScenarioCallback(
1117 virtual void addPostCloseScenarioCallback(
1119 virtual void removePostCloseScenarioCallback(
1125 virtual void addPreSaveSimulationObjectGroupsCallback(
1127 virtual void removePreSaveSimulationObjectGroupsCallback(
1133 virtual void addPostSaveSimulationObjectGroupsCallback(
1135 virtual void removePostSaveSimulationObjectGroupsCallback(
1142 virtual void addScenarioPauseCallback(
1144 virtual void removeScenarioPauseCallback(
1151 virtual void addScenarioRunCallback(
1153 virtual void removeScenarioRunCallback(
1162 virtual void addPreScenarioRewindCallback(
1164 virtual void removePreScenarioRewindCallback(
1171 virtual void addPostScenarioRewindCallback(
1173 virtual void removePostScenarioRewindCallback(
1180 virtual void addPostTickCallback(
1182 virtual void removePostTickCallback(
1188 virtual void setTimeToQuit(
bool);
1189 virtual bool timeToQuit()
const;
1203 virtual void setFrameRateMode(
const DtString&
mode, DtReal deltaTime = -1);
1208 virtual bool executeSimCommand(
const DtSimCommand& simCommand);
1212 virtual void unloadTerrain();
1215 virtual bool isOrbatEnabled()
const;
1218 virtual double timeScale()
const;
1220 virtual void setRunInTimeManagementMode(
bool);
1230 static void objectParametersOpCallback(
DtSimMessage* msg,
void* usr);
1234 static void scenarioDescriptionCallback(
DtSimMessage*,
void* usr);
1235 virtual void processScenarioDescription(
DtSimMessage*);
1238 static void setScenarioFilenameCallback(
DtSimMessage*,
void* usr);
1239 virtual void processSetScenarioFilename(
DtSimMessage*);
1242 static void setRunDurationCallback(
DtSimMessage*,
void* usr);
1246 static void actionCategoriesRequestCallback(
DtSimMessage* msg,
void* usr);
1247 virtual void processActionCategoriesRequest(
DtSimMessage* msg);
1250 static void scenarioStatusRequestCallback(
DtSimMessage* msg,
void* usr);
1251 virtual void processScenarioStatusRequest(
DtSimMessage* msg);
1255 virtual bool beginFrame();
1256 virtual bool advanceFrame();
1270 virtual void loadAllPlugins();
1273 virtual bool loadComponentAttachmentTable(
const DtFilename&
filename);
1279 virtual bool loadTerrain(
const DtFilename&
filename);
1284 virtual DtFilename findTerrainFile(
const DtFilename& startFile,
const std::vector<DtFilename>& searchPaths,
1285 const std::string& extension)
const;
1292 virtual bool writeOrderOfBattle(
const DtScenario& scenario)
const;
1296 virtual bool loadScenarioScripts(
const DtFilename&
filename);
1297 virtual bool loadScenarioScriptsFromZipFile(
const DtFilename& scenarioZipFile,
const DtFilename&
filename);
1298 virtual bool loadScenarioScripts(
const std::string& buffer);
1301 virtual bool loadOrbat(
const DtFilename&
filename,
DtOrbatManager* intoOm = 0,
bool clearBeforeLoading =
true);
1302 virtual bool loadOrbatFromZipFile(
const DtFilename& scenarioZipFile,
const DtFilename&
filename,
DtOrbatManager* intoOm = 0,
bool clearBeforeLoading =
true);
1303 virtual bool loadOrbat(
const std::string& buffer,
DtOrbatManager* intoOm = 0,
bool clearBeforeLoading =
true);
1307 virtual void prepareForScenarioReinitialize();
1310 virtual bool isScenarioReinitializing()
const;
1315 virtual bool loadParameterDb(
const DtFilename&
filename,
1320 virtual bool loadObjectParametersDBFile(
const DtFilename& opdFile,
1326 virtual bool loadPhysicalWorldFile(
const DtFilename& file,
bool force =
false);
1331 virtual bool loadDetonationParametersFile(
const DtFilename& file,
bool force =
false);
1333 virtual bool loadTerrainDeformationParametersFile(
const DtFilename& file,
bool force =
false);
1338 virtual bool loadAmmunitionParametersFile(
const DtFilename& file,
bool force =
false);
1341 virtual bool loadPlans(
const DtFilename&
filename);
1342 virtual bool loadPlansFromZipFile(
const DtFilename& scenarioZipFile,
const DtFilename&
filename);
1343 virtual bool loadPlans(
const std::string& buffer);
1346 virtual bool loadGlobalPlans(
const DtFilename&
filename);
1347 virtual bool loadGlobalPlansFromZipFile(
const DtFilename& scenarioZipFile,
const DtFilename&
filename);
1351 virtual void loadHostilityAndExtrasFromZipFile(
const DtFilename& scenarioZipFile,
const DtScenarioExplorer& se);
1352 virtual void loadHostilityAndExtras(
const std::string& buffer);
1364 virtual void loadActionCategories(
const DtFilename& f);
1366 virtual bool loadForceHostility(
const DtFilename&
filename,
bool clear =
true);
1367 virtual bool loadForceHostilityFromZipFile(
const DtFilename& scenarioZipFile,
const DtFilename&
filename,
bool clear =
true);
1369 virtual bool loadScenarioExtras(
const DtFilename&
filename);
1370 virtual bool loadScenarioExtrasFromZipFile(
const DtFilename&,
const DtFilename&
filename);
1371 virtual bool loadScenarioExtras(
const std::string& buffer);
1375 virtual void processObjectParametersOp(
DtSimMessage * msg);
1378 virtual void createAndInitScenarioLoadManager();
1382 virtual void emptyParametersDB();
1385 virtual void setAutoReorganization(
bool onOff);
1399 virtual void updateReadyStatus();
1404 static void simCommandCallback(
DtSimMessage* msg,
void* usr);
1412 static void deferredLoadScenarioCallback(
void * data);
1413 virtual void processDeferredLoadScenario();
1422 static void deferredReinitializeScenarioCallback(
void * data);
1423 virtual void processDeferredReinitializeScenario();
1431 static void deferredRollbackCallback(
void * data);
1432 virtual void processDeferredRollback();
1439 static void deferredImportScenarioCallback(
void * data);
1440 virtual void processDeferredImportScenario();
1447 static void deferredRewindCallback(
void * data);
1448 virtual void processDeferredRewind();
1453 virtual void clearAllSimulationModelSetInformation();
1456 virtual void initializeCgfConsoleCommands();
1462 virtual bool createDIGuyCharacterManager(
const DtFilename & diGuyAnimationsFile);
1645 bool ownVrfCreator()
const;
1646 void setOwnVrfCreator(
bool yesOrNo);
1650 virtual bool differingModelSets(
DtScenario*)
const;
1654 virtual void clearObjectsAwaitingDiscovery();
1655 virtual void processObjectsAwaitingDiscovery();
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
DtObjectConsoleManager * myObjectConsoleManager
Definition: cgf.h:1530
bool myIsLoaded
Definition: cgf.h:1734
DtObjectGeometricModelsManager * myObjectModelsManager
Definition: cgf.h:1533
DtCommunicationManager * myCommunicationManager
The current exercise connection.
Definition: cgf.h:1499
DtSimManager * mySimManager
Pointer to the DtSimManager.
Definition: cgf.h:1502
bool myCreateGlobalEnvironment
Definition: cgf.h:1680
bool myPublishingGlobalEnvironment
Definition: cgf.h:1705
DtIfScenarioStatus * myScenarioStatus
Scenario status message to be sent out upon request.
Definition: cgf.h:1703
class DtLocalObjectManager:
Definition: localObjectManager.h:151
DtCommunicationManager * communicationManager()
Definition: cgf.h:380
Definition: simTerrainRequestManager.h:34
This class will be responsible for handling requests to return resources for a particular entity (or ...
Definition: resourceMonitor.h:54
DtAmmunitionManager * myAmmunitionManager
Definition: cgf.h:1523
DtGlobalPlanManager * myGlobalPlanManager
Definition: cgf.h:1559
bool myUseDrawControlForTaskVisualizations
Definition: cgf.h:1712
The DtAmmunitionManager is a clas that will maintain ammunition (that which is not published...
Definition: ammunitionManager.h:17
DtScriptedTaskManager * myScriptedTaskManager
Definition: cgf.h:1524
Instances of DtTimer are used to maintain the information needed to represent some kind of scheduled ...
Definition: timer.h:38
DtStealthCommandsManager * myStealthCommandsManager
Stealth commands manager.
Definition: cgf.h:1570
Instances of DtVrfParameterDb are the database of DtVrfObjectParameters objects used in the construct...
Definition: vrfParameterDb.h:38
DtNoArgumentCallbackList myScenarioPauseCallbacks
Definition: cgf.h:1628
DtCallbackList< DtScenario & > myPreLoadScenarioCallbacks
Definition: cgf.h:1611
DtCreateObjectServiceInterface * myCreateObjectService
Pointer to the create object service.
Definition: cgf.h:1505
Structure holds a complete single-backend snapshot state in memory.
Definition: snapshotManager.h:31
Definition: scenario.h:52
Service interface for creating and removing simulation objects as well as adjusting orgainization hie...
Definition: createObjectServiceInterface.h:35
DtCallbackList< DtScenario & > myPreCreateSimulationObjectGroupCallbacks
Definition: cgf.h:1615
bool myOK
Flag indicating whether we have been successfully initialized.
Definition: cgf.h:1474
DtNoArgumentCallbackList myPreCloseScenarioCallbacks
Definition: cgf.h:1625
DtSimCommandDistributor * mySimCommandDistributor
Definition: cgf.h:1572
DtPhysicalWorld * myPhysicalWorld
The current physical world.
Definition: cgf.h:1488
DtFilename myDefaultSimulationModelSetFilename
Default simulation model set file to load.
Definition: cgf.h:1586
const DtIfScenarioStatus * scenarioStatus() const
Imports the specified scenario description file into the current scenario.
Definition: cgf.h:286
bool myFullyLoadTerrain
Flag indicating whether to fully load terrain subpages for paged terrain.
Definition: cgf.h:1664
void(* DtCallbackFunctionType)(void *)
The function signature of the callback function.
Definition: noArgumentCallbackList.h:156
std::pair< std::string, bool > ActionCategory
Map of ID and screen string for action categories. Only used by the front-end Not currently set up fo...
Definition: cgf.h:1698
DtCallbackList< DtScenario & > myPreScenarioReinitializeCallbacks
Definition: cgf.h:1613
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
DtScenarioExtrasMgr * myScenarioExtrasManager
Definition: cgf.h:1564
class DtScenarioExplorer:
Definition: scenarioExplorer.h:26
bool mySmsValidationEnabled
Definition: cgf.h:1717
DtCallbackList< const DtScenario & > myPostCreateSimulationObjectGroupCallbacks
Definition: cgf.h:1616
Manage scripted tasks (primarily Lua tasks) known by VR-Forces.
Definition: scriptedTaskManager.h:76
Holds all radio networks (comm models, implemented by DtCommModel) for the current exercise...
Definition: commModelManager.h:26
The DtEventManager handles the sending and receipt of system events (fire, detonate, command, etc). It provides a thread-safe way for the sim engine to send and receive such events, between both components within this sim engine and other remote applications.
Definition: eventManager.h:33
Options for the configuring the sim.
Definition: vrfSimOptionsInterface.h:20
Manages all of the spawn points, sink points, and spawn templates in the current scenario.
Definition: spawnSinkManager.h:23
class DtIfSaveScenario:
Definition: ifSaveScenario.h:23
DtScenario * myScenario
The current scenario.
Definition: cgf.h:1511
The manager for SimInternal messages on a single simulation engine. This class manages the passing of...
Definition: simInternalCommunicationManager.h:27
The DtEngagementZonesManager will keep track of all the engagement zones and their state...
Definition: engagementZonesManager.h:20
std::vector< DtFilename > myObjectGroupsRoot
Definition: cgf.h:1721
Definition: radarCoverageMonitor.h:32
DtFilename myVrfTerrainPathDirectory
Terrain data directory from environment variable VRF_TERRAIN_PATH. If specified, this is the 3rd plac...
Definition: cgf.h:1578
bool myTimeToQuit
Flag indicating whether or not the app should quit.
Definition: cgf.h:1477
Definition: terrainProfileRequestManager.h:31
DtNoArgumentCallbackList myPostCloseScenarioCallbacks
Definition: cgf.h:1626
DtNoArgumentCallbackList myPostTickCallbacks
Definition: cgf.h:1631
DtResourceMonitor * myResourceMonitor
Pointer to the DtResourceMonitor.
Definition: cgf.h:1542
This class handles all requests as they pertain to viewing or modifying the ORBAT.
Definition: orbatManager.h:28
The DtHazardAreaManager will keep track of all hazard area objects and their state. Hazard areas are predefined as part of this class. Call the add/remove methods to add or remove areas to watch.
Definition: hazardAreaManager.h:21
bool myCreateGlobalDynamicTerrain
Definition: cgf.h:1681
bool myCanSimulate
Definition: cgf.h:1733
DtVrfNavAreaManager * myVrfNavAreaManager
Definition: cgf.h:1490
Service interface for checking and altering scenario wide properties.
Definition: scenarioServiceInterface.h:29
Definition: luaObjectSerializer.h:24
std::vector< DtLoadOrderOfBattleHandler * > SimulationObjectGroupsToBeCreated
Definition: cgf.h:1748
bool myHasModelSetInformationLoadedAfterClose
Definition: cgf.h:1735
int myAppIdRangeMax
Definition: cgf.h:1739
Definition: influenceEventDispatcher.h:25
The DtFireManager class exists to centralize the process of sending and receiving of fire interaction...
Definition: fireManager.h:42
DtInMemorySnapshot * myQueuedRollback
Definition: cgf.h:1743
DtCommModelManager * myCommModelManager
Definition: cgf.h:1494
The synchronization matrix manager maintains the list of synchronization matrices. These are locally simulated objects that manage a list of phases where during each phase, scenario entities can be assigned with plans.
Definition: syncMatrixManager.h:40
bool myCreatedGlobalDynamicTerrain
Definition: cgf.h:1683
Definition: ifScenarioStatus.h:28
DtVrfSimOptionsInterface * mySimOptions
Definition: cgf.h:1465
This class keeps track of which forces are hostile to which other forces in the simulation. It maintains state for each force type, and which other forces types are considered hostile by that force. It can be queried for this data any time during the simulation. Supports force enumerations from 0 to 255.
Definition: hostilityManager.h:34
Debug Draw Manager (back end) that receive (DIS/HLA) messages from a VRF GUI and then connect to the ...
Definition: debugDrawManager.h:37
This class represents a collection of object consoles that will be used to manage streams for individ...
Definition: objectConsoleManager.h:29
Definition: scenarioLoadManager.h:80
bool myReuseEntityIdentifiersOnScenarioLoad
Definition: cgf.h:1714
DtVrfStatusPublisher * myStatusPublisher
Pointer to the DtStatusPublisher.
Definition: cgf.h:1514
DtTaskVisualizationPublicationMode myTaskVisualizationPublicationMode
Definition: cgf.h:1711
DtFilename myDIGuyAnimationsFilename
DI_Guy animation configuration file to load.
Definition: cgf.h:1589
Definition: objectType.h:27
bool myRejectMismatchedScenarioMessages
Definition: cgf.h:1737
VRF4API_METHOD DtCommunicationManager * exerciseConn()
These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header fi...
Definition: cgf.h:1755
DtVrfParameterDb * myParameterDatabase
Pointer to the DtVrfParameterDb.
Definition: cgf.h:1551
DtLocalObjectManager * myObjectManager
Pointer to the DtLocalObjectManager.
Definition: cgf.h:1517
DtCallbackList< DtScenario & > myPreSaveScenarioCallbacks
Definition: cgf.h:1619
Manages loading and destruction of the geometric models for objects. Will reference the object parame...
Definition: objectGeometricModelsManager.h:29
DtCallbackList< const DtFilename & > myPreLoadTerrainCallbacks
Definition: cgf.h:1609
std::vector< std::string * > OOB
Definition: snapshotManager.h:44
std::map< DtString, SimulationObjectGroupInformation > StoredSimulationObjectGroupInformation
Definition: cgf.h:1729
The scenario event manager will keep track of all scenario event objects and their state...
Definition: scenarioEventManager.h:33
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
DtEmbeddedEntityInfoManager * myEmbeddedEntityInfoManager
Pointer to the DtEmbeddedEntityInfoManager.
Definition: cgf.h:1554
DtImportExportScenarioDescriptionManager * myImportScenarioDescriptionManager
The scenario description manager used to import scenario description files.
Definition: cgf.h:1692
bool myCreatedGlobalEnvironment
Definition: cgf.h:1682
The DtPhysicalWorld is the primary interface to and manager of all of the "physical" aspects of the s...
Definition: physicalWorld.h:102
DtDetonationManager * myDetonationManager
Definition: cgf.h:1522
The plugin manager will load external loadable objects in order to provide additional functionality t...
Definition: vrfPluginManager.h:33
DtFilename myCountryCodesMappingFile
Country codes mapping file.
Definition: cgf.h:1595
DtFilename myDefaultParameterDbDirectory
Default parameter database directory to search in when parameter database being specified is not an a...
Definition: cgf.h:1607
DtEmbeddedEntityInfoManager is the central point for information about embedded entities and their ca...
Definition: embeddedEntityInfoManager.h:36
DtScenarioEventManager * myScenarioEventManager
Definition: cgf.h:1525
DtScenarioServiceInterface * myScenarioService
Pointer to the scenario object service.
Definition: cgf.h:1508
DtTerrainProfileRequestManager * myTerrainProfileRequestManager
Pointer to the DtTerrainProfileRequestManager.
Definition: cgf.h:1548
The DtVrfNavAreaManager manages all of the nav areas currently created in the sim.
Definition: vrfNavAreaManager.h:50
VRF4API_METHOD DtLocalObjectManager * vrfObjectManager()
These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header fi...
Definition: cgf.h:1754
Definition: importExportScenarioDescriptionManager.h:32
Definition: paperMapDatabase.h:20
The DtCommunicationManager class is a convenience class that will create both the DtNetworkInterfaceM...
Definition: communicationManager.h:50
DtCallbackList< const DtFilename & > myPostLoadTerrainCallbacks
Definition: cgf.h:1610
File: simMsg.h.
Definition: simMessage.h:35
Contains data describing the available attributes and animations for each DI-Guy character type...
Definition: diGuyCharacterDataManager.h:33
StoredSimulationObjectGroupInformation myStoredSimulationObjectGroupInformation
Definition: cgf.h:1730
DtNoArgumentCallbackList myScenarioRunCallbacks
Definition: cgf.h:1627
This class works just as DtCalllbackTable, but manages callbacks that have no arguments, and therefore don't fit in the template defined by DtCallbackList.
Definition: noArgumentCallbackList.h:152
DtVrfPluginManager * myPluginManager
The current plugin manager.
Definition: cgf.h:1480
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
int myQueuedRollbackScenarioRunId
Definition: cgf.h:1744
bool myCreatedCharacterManager
Definition: cgf.h:1537
SimulationObjectGroupsToBeCreated mySimulationObjectGroupsToBeCreated
Definition: cgf.h:1749
Definition: compressedFileTransporter.h:24
This is a two way structure. It will contain read data (import) and output dat objects created...
Definition: loadScenarioData.h:39
bool myWasPaused
Used to hold the paused state during a rewindScenario operation. The act of rewinding a scenario star...
Definition: cgf.h:1689
Definition: noArgumentCallbackList.h:91
DtIntelCollectionAreaManager * myIntelCollectionAreaManager
Definition: cgf.h:1527
bool myAssertOnBlockingTerrainCalls
If true, blocking terrain calls will cause an assert when a debug back-end is in run mode...
Definition: cgf.h:1669
DtCallbackList< DtScenario & > myPreSaveSimulationObjectGroupsCallbacks
Definition: cgf.h:1622
DtSyncMatrixManager * mySyncMatrixManager
Definition: cgf.h:1633
Instances of DtVrfStatusPublisher are used to send information about a VR-Forces simulation engine to...
Definition: vrfStatusPublisher.h:30
DtCallbackList< const DtScenario & > myPostSaveSimulationObjectGroupsCallbacks
Definition: cgf.h:1623
DtSimulationModelSet * myDefaultModelSet
Default simulation model set. This is created when the default simulation model set filename is set o...
Definition: cgf.h:1673
DtRwActivities myActivities
Definition: cgf.h:1716
Definition: vrfPluginManager.h:73
DtScenarioLoadManager * myScenarioLoadManager
Definition: cgf.h:1746
DtRadarCoverageMonitor * myRadarCoverageMonitor
Pointer to the DtRadarCoverageMonitor.
Definition: cgf.h:1545
A utility class for use with DtConsoleCommandManager. This class takes ownership of an arbitrary numb...
Definition: consoleCommandManager.h:166
Instances of DtFactoryManager are responsible for maintaining all the factories.
Definition: factoryManager.h:73
DtTerrainInterface allows access to common terrain calls without having to know the terrain implement...
Definition: terrainInterface.h:99
DtFactoryManager * myFactoryManager
Pointer to the DtFactoryManager.
Definition: cgf.h:1567
ActionCategories myActionCategories
Definition: cgf.h:1700
DtSimCommand is an abstract base class from which commands can derive. It manages the read/write capa...
Definition: simCommand.h:32
DtScenario myScenarioToLoad
Used to contain the scenario we want to during loadScenario operation. The act of loading a scenario ...
Definition: cgf.h:1678
DtHazardAreaManager * myHazardAreaManager
Definition: cgf.h:1526
std::vector< DtString > myPluginsToLoad
Definition: cgf.h:1481
DtCallbackList< const DtScenario & > myPostSaveScenarioCallbacks
Definition: cgf.h:1620
bool myReinitializingScenario
Definition: cgf.h:1707
Definition: asyncJobServer.h:39
Instances of DtVrfCreator are responsible for creating all of the objects needed to create and manage...
Definition: vrfCreator.h:276
DtSimObjectManager * mySimObjectManager
Definition: cgf.h:1719
DtSimInternalCommunicationManager * mySimInternalCommunicationManager
Definition: cgf.h:1535
class DtPlan:
Definition: plan.h:92
DtInfluenceEventDispatcher * myInfluenceEventDispatcher
Definition: cgf.h:1634
DtOrbatManager * myOrbatManager
Definition: cgf.h:1532
The intel collection area manager will keep track of all Intel Collection area objects and their stat...
Definition: intelCollectionAreaManager.h:20
The DtVrfObjectPlanAdministrator performs plan-related tasks that must be done in a centralized manne...
Definition: vrfObjectPlanAdministrator.h:44
DtCallbackList< DtScenario & > myPreImportScenarioCallbacks
Definition: cgf.h:1617
Contains the DtTranslatableStream class declaration.
std::set< DtFilename > myLoadedModelSets
Definition: cgf.h:1741
The DtNetworkInterfaceManager manages all network interfaces utilized by the sim engine. Often there is only one, but it is possible for there to be multiple. Each network interface is an instance of a subclass of DtNetworkManagerInterface. As state data is created or removed, the DtNetworkInterfaceManager will notify each of its network interfaces, so that they may create object network interfaces to output required state data to the network.
Definition: networkInterfaceManager.h:44
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
DtNoArgumentCallbackList myPostScenarioRewindCallbacks
Definition: cgf.h:1630
bool myAboutToLoadOrRewindScenario
Definition: cgf.h:1706
This class is the central access point for all current-frame state of all objects in the simulation i...
Definition: simObjectManager.h:42
bool myForceParameterDbReload
Forces loadScenario to re-load the parameter database.
Definition: cgf.h:1557
DtAdminContent.
Definition: adminContent.h:23
A simulation model set contains all the information that can be used to support a scenario either for...
Definition: simulationModelSet.h:31
DtSnapshotManager * mySnapshotManager
Definition: cgf.h:1718
DtEngagementZonesManager * myEngagementZonesManager
Definition: cgf.h:1562
Responsible for maintaining and executing stealth commands. The stealth commands are of the format (i...
Definition: stealthCommandsManager.h:35
virtual bool aboutToLoadOrRewindScenario() const
Whether or not this cgf is about to rewind, rollback or load.
Definition: cgf.h:386
DtCallbackList< const DtScenario & > myPostImportScenarioCallbacks
Definition: cgf.h:1618
bool myMetocEnabled
Definition: cgf.h:1709
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
DtVrfObjectPlanAdministrator * myPlanAdministrator
Definition: cgf.h:1534
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
const char int mode
Definition: ioapi.h:38
DtSimTerrainRequestManager * mySimTerrainRequestManager
Definition: cgf.h:1496
DtCallbackList< const DtScenario & > myPostLoadScenarioCallbacks
Definition: cgf.h:1612
int myReloadDelay
Definition: cgf.h:1736
DtVrfCreator * myVrfCreator
Definition: cgf.h:1661
DtDiGuyCharacterDataManager * myCharacterMgr
Definition: cgf.h:1536
DtNoArgumentCallbackList myPreScenarioRewindCallbacks
Definition: cgf.h:1629
virtual bool canSimulate() const
Whether or not the cgf is ready to simulate.
Definition: cgf.h:378
DtFilename myCurrentParameterDatabaseFilename
Filename of currently loaded parameter database.
Definition: cgf.h:1602
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:121
Definition: snapshotManager.h:55
DtManagedObjectListManager * myFilteredObjectListManager
Definition: cgf.h:1531
Service which provides managed lists of simulation objects that are filtered based on a given predica...
Definition: managedObjectListManager.h:22
DtU32 myScenarioCapabilities
Definition: cgf.h:1738
bool myOwnVrfCreatorFlag
These are essentially cached from the init call. This is necessary as the load terrain.
Definition: cgf.h:1660
DtIfScenarioStatus * scenarioStatus()
Returns the scenario status object.
Definition: cgf.h:285
bool myParameterDbLoaded
Set to true if parameter database has been loaded via loadParameterDatabase call. If you load a param...
Definition: cgf.h:1599
DtHostilityManager * myHostilityManager
Definition: cgf.h:1561
The global plan manager maintains the list of "Global Plans." These are plans that are not specific t...
Definition: globalPlanManager.h:45
DtSpawnSinkManager * mySpawnSinkManager
Definition: cgf.h:1492
The top level class of a VR-Forces Simulation Engine, representing a Computer Generated Forces instan...
Definition: cgf.h:144
DtLuaObjectSerializer * myLuaObjectSerializer
Definition: cgf.h:1539
DtConsoleCommandOwner * myConsoleCommands
Definition: cgf.h:1694
DtFireManager * myFireManager
Definition: cgf.h:1529
#define VRF4API_METHOD
Include this header file to allow for the definition/usage of the ability to mark something as deprec...
Definition: vrf4XAPI.h:22
A DtRwActivities list will contain a list of activities (key/value pair) by entity type that will sup...
Definition: rwActivities.h:20
#define DT_DLL_vrfcgf
This file is used to determine how to build.
Definition: vrfcgfDefines.h:25
DtScriptedObjectsMovementManager * myScriptedObjectsMovementManager
Definition: cgf.h:1528
DtDebugDrawManager * myDebugDrawManager
Pointer to the DtDebugDrawManagert.
Definition: cgf.h:1520
DtCallbackList< const DtScenario & > myPostScenarioReinitializeCallbacks
Definition: cgf.h:1614
The DtDetonationManager class exists to centralize the processing of detonation interactions. Components register with the detonation manager, providing a pointer to a DtSimObject as well as the objects global designator, and a damage adjudication function to call when the detonation affects the registered sim object. The detonation manager determines the entity or entities the detonation affects, and notifies them and only them through the supplied callback functions.
Definition: detonationManager.h:50
DtTerrainInterface * myTerrainInterface
The current terrain database.
Definition: cgf.h:1485
DtU32 mySessionId
Session Id.
Definition: cgf.h:1471
Contains the DtSimCommandDistributor class declaration.
Definition: simCommandDistributor.h:24
DtFilename myDefaultTerrainDirectory
Terrain database directory, initialized from VRF_defaultTerrainDatabasePath variable. This is the second place to look for a terrain database specified in a scenario file, if we can't locate it relative to the application path.
Definition: cgf.h:1583
bool myLoadPluginsIfVersionMismatch
Definition: cgf.h:1482
DtSimulationAddress mySimulationAddress
Address for routing interface messages.
Definition: cgf.h:1468
The scripted objects movement manager contains a list of all scripted movement objects that can be us...
Definition: scriptedObjectsMovementManager.h:22
std::map< std::string, ActionCategory > ActionCategories
Definition: cgf.h:1699
The DtLoadOrderOfBattleHandler will load an order of battle file (oob) and create all the local objec...
Definition: loadOrderOfBattleHandler.h:26
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
int myRollbackToId
Definition: cgf.h:1732
DtFilename myMsdlSidcMappingFile
MSDL SDIC mapping file to load.
Definition: cgf.h:1592
DtTaskVisualizationPublicationMode
Defines how task visualizations will be published.
Definition: scenarioServiceInterface.h:21