29 #include <vlutil/vlFilename.h>
30 #include <vlutil/vlPrint.h>
31 #include <vlutil/vlTime.h>
79 class DtJoyDeviceManager;
83 class DtCustomReportManager;
103 struct DtOrganizationManagerReadyCallbackInfo;
111 class DtApplicationSettings;
123 namespace makVrfEvents
126 class DtEventManager;
131 class DtStateDataManager;
166 DtCgf(
const DtSimulationAddress& addr,
const DtU32& capabilities = 0xffff);
208 virtual void sendFinalStatus(
bool sendImmediately =
false);
213 virtual bool importScenarioDescriptionFile(
const DtFilename& file,
const DtString& format,
216 const std::map<std::string, std::string>& importData);
221 virtual DtString exportScenarioDescriptionFile(
const DtFilename& file,
const DtString& format,
222 const std::map<std::string, std::string>& exportData);
225 virtual void setAppDataDir(
const DtString&);
226 virtual DtFilename appDataDir()
const;
229 virtual void setSimulationAddress(
const DtSimulationAddress&);
232 virtual void setUserDataDir(
const DtString&);
233 virtual DtFilename userDataDir()
const;
236 virtual void setDataDir(
const DtString&);
237 virtual DtFilename dataDir()
const;
242 virtual DtFilename sharedDataDir()
const;
243 virtual void setSharedDataDir(
const DtFilename& path);
245 virtual DtFilename sharedDataRoot()
const;
246 virtual void setSharedDataRoot(
const DtFilename& path);
248 virtual DtString sharedDataStem()
const;
249 virtual void setSharedDataStem(
const DtString& path);
252 virtual void setAppIdRangeMax(
int);
253 int appIdRangeMax()
const;
258 virtual bool loadScenario(
const DtFilename& name,
int scenarioRunId = 0,
259 bool isOrbatEnabled =
false,
bool createGlobalEnv =
false,
260 bool createGlobalDynamicTerrain =
false);
268 virtual bool loadScenario(
const DtScenario& scenario,
int scenarioRunId = 0,
269 bool isOrbatEnabled =
false,
bool createGlobalEnv =
false,
270 bool createGlobalDynamicTerrain =
false);
273 virtual void clearSimulationObjects(
const std::set<DtUUID>& except = std::set<DtUUID>());
277 virtual bool importScenario(
const DtScenario&);
279 const DtString& deconflictingName =
"");
287 virtual bool newScenario(
const DtFilename& dbname =
288 DtFilename::nullFilename(),
const DtFilename& simulationModelSet =
289 DtFilename::nullFilename(),
bool createGlobalEnv =
false,
290 bool createGlobalDynamicTerrain =
false);
296 virtual void sendScenarioStatusMessage();
303 virtual bool saveScenario(
const DtFilename& savename,
bool saveAsSip =
false);
311 virtual bool takeAndStoreSnapshot(
bool makeBase);
321 virtual void rollbackToSimTime(
double simTime);
326 virtual bool saveSimulationObjectGroup(DtFilename saveFolder,
const DtString& groupName,
327 int flags, std::set<DtUUID>& uuidsSaved,
bool& savAsZipFile);
334 virtual bool createSimulationObjectGroup(
const DtString& group,
int flags,
int force,
const DtVector& geocentricLocation,
335 double offsetRotation,
bool storedInZipFile =
false);
341 virtual void closeScenario(
const DtFilename& terrainToOpen =
"",
bool forceCloseAll =
false);
347 virtual bool loadAdditionalObjectParameters(
const DtFilename& paramsFileName,
356 virtual void pause();
359 virtual std::string protocol()
const;
362 virtual void setRejectMismatchedScenarioMessages(
bool);
363 virtual bool rejectMismatchedScenarioMessages()
const;
370 virtual void setForceParameterDbReload(
bool reload);
371 virtual bool forceParameterDbReload()
const;
378 virtual void setEnableResourceMonitor(
bool b);
379 virtual bool isResourceMonitorEnabled()
const;
388 virtual bool canSleep()
const;
396 virtual void setSmsValidationEnabled(
bool b);
410 virtual const DtFilename& defaultTerrainDirectory();
411 virtual void setDefaultTerrainDirectory(
const DtFilename& directory);
414 virtual bool logFrameRateStatistics()
const;
415 virtual void setLogFrameRateStatistics(
bool yesOrNo);
425 virtual const DtFilename& defaultSimulationModelSetFilename();
426 virtual void setDefaultSimulationModelSetFilename(
const DtFilename&
filename);
433 virtual const DtFilename& diGuyAnimationsFilename();
434 virtual void setDIGuyAnimationsFilename(
const DtFilename&
filename);
439 void setClockMode(
int clockMode);
444 virtual void setMsdlSidcMappingFile(
const DtFilename&);
445 virtual const DtFilename& msdlSidcMappingFile()
const;
450 virtual void setCountryCodesMappingFile(
const DtFilename&);
451 virtual const DtFilename& countryCodesMappingFile()
const;
462 virtual void deleteObject(
const DtUUID& name,
bool andRemoveFromOrbat =
true)
const;
477 virtual DtLocalObject* createWaypoint(
const DtVector& localPosition,
478 const DtString& uniqueName = DtString::nullString())
const;
493 const DtString& uniqueName = DtString::nullString())
const;
507 const DtVector& dbPoint1,
508 const DtVector& dbPoint2,
509 const DtString& uniqueName = DtString::nullString())
const;
523 const DtList& vertices,
524 const DtString& uniqueName = DtString::nullString())
const;
538 const DtList& vertices,
539 const DtString& uniqueName = DtString::nullString())
const;
569 const DtEntityType& entityType,
571 const DtVector& dbPosition,
573 const DtString& entityName = DtString::nullString(),
574 bool allowBlocking =
true,
575 std::list<DtAdminContent*>* initialAdminContent = 0,
576 bool addToOrbat =
true)
const;
609 const DtEntityType& aggregateType,
611 const DtVector& localPosition,
613 const std::vector<DtUUID>& subordinates = std::vector<DtUUID>(),
614 const DtString& aggregateName = DtString::nullString(),
615 bool addToOrbat =
true)
const;
629 const DtEntityType& aggregateType,
631 const DtVector& localPosition,
633 bool createSubordinates,
634 const DtString& aggregateName = DtString::nullString(),
635 bool allowBlocking =
true,
636 bool addToOrbat =
true)
const;
696 virtual void assignPlanByUUID(
const DtUUID&,
const DtPlan& plan,
bool sendPlan =
false);
719 DtFilename
filename = DtFilename::nullFilename());
722 virtual void stopLoggingObjectConsoleToFile(
DtLocalObject*
object);
727 virtual void setObjectConsoleNotificationLevel(
DtLocalObject*
object,
728 DtNotifyLevelType
level);
737 virtual bool reuseEntityIdentifiersOnScenarioLoad()
const;
738 virtual void setReuseEntityIdentifiersOnScenarioLoad(
bool);
744 virtual bool loadAllNavigationDataOnTerrainLoad()
const;
745 virtual void setLoadAllNavigationDataOnTerrainLoad(
bool);
757 virtual void setUseDrawControlForTaskVisualizations(
bool);
758 virtual bool useDrawControlForTaskVisualizations()
const;
899 virtual const DtSimulationAddress& simulationAddress()
const;
906 virtual int sessionId()
const;
914 virtual DtU32 scenarioCapabilities()
const;
915 virtual void setScenarioCapabilities(DtU32 v);
916 virtual void setScenarioCapability(DtU32 v,
bool);
920 virtual void setTimeMultiplier(
double);
925 virtual DtString applicationType()
const;
926 virtual void setApplicationType(
const DtString& type);
936 virtual void useMapDatum(
const DtMapDatum& mapDatum);
939 virtual void setParameterDbLoaded(
bool flag);
946 virtual void setDefaultParameterDbDirectory(
const DtFilename&
filename);
949 virtual DtFilename objectGroupsRoot()
const;
955 virtual bool reinitializeScenario();
958 virtual void reinitializeObjects(
const std::vector<DtUUID>&);
960 virtual void setFullyLoadTerrain(
bool yesOrNo);
961 virtual bool fullyLoadTerrain()
const;
967 virtual void setAssertOnBlockingTerrainCalls(
bool b);
968 virtual bool assertOnBlockingTerrainCalls()
const;
977 virtual void addPluginToLoad(
const DtString&);
981 virtual void setLoadPluginsIfVersionMismatch(
bool);
982 virtual bool loadPluginsIfVersionMismatch()
const;
985 virtual bool createAndInitPluginManager(
DtVrfCreator* creator);
989 virtual void initializePluginCommandLineArguments(DtApplicationSettings& appInitializer);
1001 virtual void addPreLoadTerrainCallback(
1003 virtual void removePreLoadTerrainCallback(
1011 virtual void addPostLoadTerrainCallback(
1013 virtual void removePostLoadTerrainCallback(
1019 virtual void runForDuration(
double);
1022 virtual void stopSimulationDurationTimer();
1025 static void runDurationCompleteCallback(
void*);
1026 virtual void processRunDurationComplete();
1029 virtual void setPublishingGlobalEnvironment(
bool);
1035 virtual void addPreLoadScenarioCallback(
1037 virtual void removePreLoadScenarioCallback(
1043 virtual void addPreScenarioReinitializeCallback(
1045 virtual void removePreScenarioReinitializeCallback(
1052 virtual void addPostScenarioReinitializeCallback(
1054 virtual void removePostScenarioReinitializeCallback(
1060 virtual void addPreCreateSimulationObjectGroupCallback(
1062 virtual void removePreCreateSimulationObjectGroupCallback(
1070 virtual void addPostLoadScenarioCallback(
1072 virtual void removePostLoadScenarioCallback(
1078 virtual void addPostCreateSimulationObjectGroupCallback(
1080 virtual void removePostCreateSimulationObjectGroupCallback(
1086 virtual void addPreImportScenarioCallback(
1088 virtual void removePreImportScenarioCallback(
1094 virtual void addPostImportScenarioCallback(
1096 virtual void removePostImportScenarioCallback(
1103 virtual void addPreSaveScenarioCallback(
1105 virtual void removePreSaveScenarioCallback(
1112 virtual void addPostSaveScenarioCallback(
1114 virtual void removePostSaveScenarioCallback(
1121 virtual void addPreCloseScenarioCallback(
1123 virtual void removePreCloseScenarioCallback(
1130 virtual void addPostParameterDatabaseLoadedCallback(
1132 virtual void removePostParameterDatabaseLoadedCallback(
1139 virtual void addCgfAboutToBeDestroyedCallback(
1141 virtual void removeCgfAboutToBeDestroyedCallback(
1148 virtual void addPostCloseScenarioCallback(
1150 virtual void removePostCloseScenarioCallback(
1156 virtual void addPreSaveSimulationObjectGroupsCallback(
1158 virtual void removePreSaveSimulationObjectGroupsCallback(
1164 virtual void addPostSaveSimulationObjectGroupsCallback(
1166 virtual void removePostSaveSimulationObjectGroupsCallback(
1173 virtual void addScenarioPauseCallback(
1175 virtual void removeScenarioPauseCallback(
1182 virtual void addScenarioRunCallback(
1184 virtual void removeScenarioRunCallback(
1193 virtual void addPreScenarioRollbackCallback(
1195 virtual void removePreScenarioRollbackCallback(
1202 virtual void addPostScenarioRollbackCallback(
1204 virtual void removePostScenarioRollbackCallback(
1211 virtual void addPostTickCallback(
1213 virtual void removePostTickCallback(
1219 virtual void setTimeToQuit(
bool);
1220 virtual bool timeToQuit()
const;
1234 virtual void setFrameRateMode(
const DtString&
mode, DtReal deltaTime = -1);
1239 virtual bool executeSimCommand(
const DtSimCommand& simCommand);
1243 virtual void unloadTerrain();
1246 virtual bool isOrbatEnabled()
const;
1249 virtual double timeScale()
const;
1251 virtual void setRunInTimeManagementMode(
bool);
1256 virtual void setAutomaticallyCreateGlobalEnvironment(
bool param1);
1258 virtual void setMaxAsynchronousTerrainThreads(
int threads);
1265 static void objectParametersOpCallback(
DtSimMessage* msg,
void* usr);
1268 static void BadLoadScenarioClose(
void* usr);
1269 virtual void handleBadScenarioLoad();
1272 static void scenarioDescriptionCallback(
DtSimMessage*,
void* usr);
1273 virtual void processScenarioDescription(
DtSimMessage*);
1276 static void setScenarioFilenameCallback(
DtSimMessage*,
void* usr);
1277 virtual void processSetScenarioFilename(
DtSimMessage*);
1280 static void setRunDurationCallback(
DtSimMessage*,
void* usr);
1284 static void actionCategoriesRequestCallback(
DtSimMessage* msg,
void* usr);
1285 virtual void processActionCategoriesRequest(
DtSimMessage* msg);
1288 static void scenarioStatusRequestCallback(
DtSimMessage* msg,
void* usr);
1289 virtual void processScenarioStatusRequest(
DtSimMessage* msg);
1294 virtual bool advanceFrame();
1308 virtual void loadAllPlugins();
1311 virtual bool loadComponentAttachmentTable(
const DtFilename&
filename);
1317 virtual bool loadTerrain(
const DtFilename&
filename);
1322 virtual DtFilename findTerrainFile(
const DtFilename& startFile,
const std::vector<DtFilename>& searchPaths,
1323 const std::string& extension)
const;
1330 virtual bool writeOrderOfBattle(
const DtScenario& scenario)
const;
1334 virtual bool loadScenarioScripts(
const DtFilename&
filename);
1335 virtual bool loadScenarioScriptsFromZipFile(
const DtFilename& scenarioZipFile,
const DtFilename&
filename);
1336 virtual bool loadScenarioScripts(
const std::string& buffer);
1339 virtual bool loadOrbat(
const DtFilename&
filename,
DtOrbatManager* intoOm = 0,
bool clearBeforeLoading =
true);
1340 virtual bool loadOrbatFromZipFile(
const DtFilename& scenarioZipFile,
const DtFilename&
filename,
DtOrbatManager* intoOm = 0,
bool clearBeforeLoading =
true);
1341 virtual bool loadOrbat(
const std::string& buffer,
DtOrbatManager* intoOm = 0,
bool clearBeforeLoading =
true);
1345 virtual void prepareForScenarioReinitialize();
1348 virtual bool isScenarioReinitializing()
const;
1353 virtual bool loadParameterDb(
const DtFilename&
filename,
1358 virtual bool loadObjectParametersDBFile(
const DtFilename& opdFile,
1364 virtual bool loadPhysicalWorldFile(
const DtFilename& file,
bool force =
false);
1369 virtual bool loadDetonationParametersFile(
const DtFilename& file,
bool force =
false);
1371 virtual bool loadTerrainDeformationParametersFile(
const DtFilename& file,
bool force =
false);
1376 virtual bool loadAmmunitionParametersFile(
const DtFilename& file,
bool force =
false);
1379 virtual bool loadPlans(
const DtFilename&
filename);
1380 virtual bool loadPlansFromZipFile(
const DtFilename& scenarioZipFile,
const DtFilename&
filename);
1381 virtual bool loadPlans(
const std::string& buffer);
1384 virtual bool loadGlobalPlans(
const DtFilename&
filename);
1385 virtual bool loadGlobalPlansFromZipFile(
const DtFilename& scenarioZipFile,
const DtFilename&
filename);
1389 virtual void loadHostilityAndExtrasFromZipFile(
const DtFilename& scenarioZipFile,
const DtScenarioExplorer& se);
1390 virtual void loadHostilityAndExtras(
const std::string& buffer);
1402 virtual void loadActionCategories(
const DtFilename& f);
1404 virtual bool loadForceHostility(
const DtFilename&
filename,
bool clear =
true);
1405 virtual bool loadForceHostilityFromZipFile(
const DtFilename& scenarioZipFile,
const DtFilename&
filename,
bool clear =
true);
1407 virtual bool loadScenarioExtras(
const DtFilename&
filename);
1408 virtual bool loadScenarioExtrasFromZipFile(
const DtFilename&,
const DtFilename&
filename);
1409 virtual bool loadScenarioExtras(
const std::string& buffer);
1413 virtual void processObjectParametersOp(
DtSimMessage * msg);
1416 virtual void createAndInitScenarioLoadManager();
1420 virtual void emptyParametersDB();
1423 virtual void setAutoReorganization(
bool onOff);
1437 virtual void updateReadyStatus();
1442 static void simCommandCallback(
DtSimMessage* msg,
void* usr);
1450 static void deferredLoadScenarioCallback(
void * data);
1451 virtual void processDeferredLoadScenario();
1460 static void deferredReinitializeScenarioCallback(
void * data);
1461 virtual void processDeferredReinitializeScenario();
1469 static void deferredRollbackCallback(
void * data);
1481 static void deferredImportScenarioCallback(
void * data);
1482 virtual void processDeferredImportScenario();
1487 virtual void clearAllSimulationModelSetInformation();
1490 virtual void initializeCgfConsoleCommands();
1496 virtual bool createDIGuyCharacterManager(
const DtFilename & diGuyAnimationsFile);
1685 bool ownVrfCreator()
const;
1686 void setOwnVrfCreator(
bool yesOrNo);
1690 virtual bool differingModelSets(
DtScenario*)
const;
1694 virtual void clearObjectsAwaitingDiscovery();
1695 virtual void processObjectsAwaitingDiscovery();
1697 virtual void terrainPaging(
bool);
1698 virtual void jobQueueStatusChanged(
bool);
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtObjectConsoleManager * myObjectConsoleManager
Definition: cgf.h:1564
bool myIsLoaded
Definition: cgf.h:1780
DtObjectGeometricModelsManager * myObjectModelsManager
Definition: cgf.h:1567
DtCommunicationManager * myCommunicationManager
The current exercise connection.
Definition: cgf.h:1533
DtSimManager * mySimManager
Pointer to the DtSimManager.
Definition: cgf.h:1536
bool myCreateGlobalEnvironment
Definition: cgf.h:1723
bool myPublishingGlobalEnvironment
Definition: cgf.h:1752
DtIfScenarioStatus * myScenarioStatus
Scenario status message to be sent out upon request.
Definition: cgf.h:1750
class DtLocalObjectManager:
Definition: localObjectManager.h:157
DtCommunicationManager * communicationManager()
Definition: cgf.h:385
Definition: simTerrainRequestManager.h:137
This class will be responsible for handling requests to return resources for a particular entity (or ...
Definition: resourceMonitor.h:60
DtAmmunitionManager * myAmmunitionManager
Definition: cgf.h:1557
DtGlobalPlanManager * myGlobalPlanManager
Definition: cgf.h:1596
bool myUseDrawControlForTaskVisualizations
Definition: cgf.h:1757
The DtAmmunitionManager is a clas that will maintain ammunition (that which is not published...
Definition: ammunitionManager.h:17
DtScriptedTaskManager * myScriptedTaskManager
Definition: cgf.h:1558
Instances of DtTimer are used to maintain the information needed to represent some kind of scheduled ...
Definition: timer.h:38
DtAdsbDataManager * myAdsbDataManager
Definition: cgf.h:1573
DtStealthCommandsManager * myStealthCommandsManager
Stealth commands manager.
Definition: cgf.h:1607
Instances of DtVrfParameterDb are the database of DtVrfObjectParameters objects used in the construct...
Definition: vrfParameterDb.h:41
DtNoArgumentCallbackList myScenarioPauseCallbacks
Definition: cgf.h:1666
DtCallbackList< DtScenario & > myPreLoadScenarioCallbacks
Definition: cgf.h:1648
DtCreateObjectServiceInterface * myCreateObjectService
Pointer to the create object service.
Definition: cgf.h:1539
DtAisDataManager * myAisDataManager
Definition: cgf.h:1571
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 organization hier...
Definition: createObjectServiceInterface.h:36
DtCallbackList< DtScenario & > myPreCreateSimulationObjectGroupCallbacks
Definition: cgf.h:1652
bool myOK
Flag indicating whether we have been successfully initialized.
Definition: cgf.h:1508
DtNoArgumentCallbackList myPreCloseScenarioCallbacks
Definition: cgf.h:1663
DtSimCommandDistributor * mySimCommandDistributor
Definition: cgf.h:1609
DtPhysicalWorld * myPhysicalWorld
The current physical world.
Definition: cgf.h:1522
DtFilename myDefaultSimulationModelSetFilename
Default simulation model set file to load.
Definition: cgf.h:1623
const DtIfScenarioStatus * scenarioStatus() const
Imports the specified scenario description file into the current scenario.
Definition: cgf.h:294
bool myFullyLoadTerrain
Flag indicating whether to fully load terrain subpages for paged terrain.
Definition: cgf.h:1707
void(* DtCallbackFunctionType)(void *)
The function signature of the callback function.
Definition: noArgumentCallbackList.h:155
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:1745
DtCallbackList< DtScenario & > myPreScenarioReinitializeCallbacks
Definition: cgf.h:1650
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:1601
class DtScenarioExplorer:
Definition: scenarioExplorer.h:26
bool mySmsValidationEnabled
Definition: cgf.h:1764
DtCallbackList< const DtScenario & > myPostCreateSimulationObjectGroupCallbacks
Definition: cgf.h:1653
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:24
class DtIfSaveScenario:
Definition: ifSaveScenario.h:23
DtScenario * myScenario
The current scenario.
Definition: cgf.h:1545
The manager for SimInternal messages on a single simulation engine. This class manages the passing of...
Definition: simInternalCommunicationManager.h:28
The DtEngagementZonesManager will keep track of all the engagement zones and their state...
Definition: engagementZonesManager.h:20
std::vector< DtFilename > myObjectGroupsRoot
Definition: cgf.h:1768
Definition: radarCoverageMonitor.h:30
DtFilename myVrfTerrainPathDirectory
Terrain data directory from environment variable VRF_TERRAIN_PATH. If specified, this is the 3rd plac...
Definition: cgf.h:1615
bool myTimeToQuit
Flag indicating whether or not the app should quit.
Definition: cgf.h:1511
Definition: terrainProfileRequestManager.h:31
DtNoArgumentCallbackList myPostCloseScenarioCallbacks
Definition: cgf.h:1664
DtNoArgumentCallbackList myPostTickCallbacks
Definition: cgf.h:1669
The DtAdsbDataManager loads and manages Automatic Dependent Surveillance - Broadcast (ADS-B) data...
Definition: adsbDataManager.h:41
DtResourceMonitor * myResourceMonitor
Pointer to the DtResourceMonitor.
Definition: cgf.h:1579
This class handles all requests as they pertain to viewing or modifying the ORBAT.
Definition: orbatManager.h:30
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:22
bool myCreateGlobalDynamicTerrain
Definition: cgf.h:1724
bool myCanSimulate
Definition: cgf.h:1779
DtVrfNavAreaManager * myVrfNavAreaManager
Definition: cgf.h:1524
Service interface for checking and altering scenario wide properties.
Definition: scenarioServiceInterface.h:30
Definition: luaObjectSerializer.h:24
std::vector< DtLoadOrderOfBattleHandler * > SimulationObjectGroupsToBeCreated
Definition: cgf.h:1794
bool myHasModelSetInformationLoadedAfterClose
Definition: cgf.h:1781
DtInMemorySnapshotPtr myQueuedRollback
Definition: cgf.h:1789
int myAppIdRangeMax
Definition: cgf.h:1785
Definition: influenceEventDispatcher.h:25
The DtFireManager class exists to centralize the process of sending and receiving of fire interaction...
Definition: fireManager.h:43
DtCommModelManager * myCommModelManager
Definition: cgf.h:1528
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:1726
Definition: ifScenarioStatus.h:28
DtVrfSimOptionsInterface * mySimOptions
Definition: cgf.h:1499
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:39
bool myLoadAllNavigationDataOnTerrainLoad
Definition: cgf.h:1761
This class represents a collection of object consoles that will be used to manage streams for individ...
Definition: objectConsoleManager.h:31
Definition: scenarioLoadManager.h:80
bool myReuseEntityIdentifiersOnScenarioLoad
Definition: cgf.h:1759
DtVrfStatusPublisher * myStatusPublisher
Pointer to the DtStatusPublisher.
Definition: cgf.h:1548
DtTaskVisualizationPublicationMode myTaskVisualizationPublicationMode
Definition: cgf.h:1756
DtFilename myDIGuyAnimationsFilename
DI_Guy animation configuration file to load.
Definition: cgf.h:1626
bool myRejectMismatchedScenarioMessages
Definition: cgf.h:1783
int myMaxAsynchronousTerrainThreads
Definition: cgf.h:1730
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:1801
DtVrfParameterDb * myParameterDatabase
Pointer to the DtVrfParameterDb.
Definition: cgf.h:1588
DtLocalObjectManager * myObjectManager
Pointer to the DtLocalObjectManager.
Definition: cgf.h:1551
DtCallbackList< DtScenario & > myPreSaveScenarioCallbacks
Definition: cgf.h:1656
Manages loading and destruction of the geometric models for objects. Will reference the object parame...
Definition: objectGeometricModelsManager.h:34
DtCallbackList< const DtFilename & > myPreLoadTerrainCallbacks
Definition: cgf.h:1646
std::vector< std::string * > OOB
Definition: snapshotManager.h:44
std::map< DtString, SimulationObjectGroupInformation > StoredSimulationObjectGroupInformation
Definition: cgf.h:1776
The scenario event manager will keep track of all scenario event objects and their state...
Definition: scenarioEventManager.h:36
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:1591
DtImportExportScenarioDescriptionManager * myImportScenarioDescriptionManager
The scenario description manager used to import scenario description files.
Definition: cgf.h:1739
bool myCreatedGlobalEnvironment
Definition: cgf.h:1725
The DtPhysicalWorld is the primary interface to and manager of all of the "physical" aspects of the s...
Definition: physicalWorld.h:112
DtDetonationManager * myDetonationManager
Definition: cgf.h:1556
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:1632
DtFilename myDefaultParameterDbDirectory
Default parameter database directory to search in when parameter database being specified is not an a...
Definition: cgf.h:1644
DtEmbeddedEntityInfoManager is the central point for information about embedded entities and their ca...
Definition: embeddedEntityInfoManager.h:36
DtScenarioEventManager * myScenarioEventManager
Definition: cgf.h:1559
DtScenarioServiceInterface * myScenarioService
Pointer to the scenario object service.
Definition: cgf.h:1542
DtTerrainProfileRequestManager * myTerrainProfileRequestManager
Pointer to the DtTerrainProfileRequestManager.
Definition: cgf.h:1585
The DtVrfNavAreaManager manages all of the nav areas currently created in the sim.
Definition: vrfNavAreaManager.h:65
std::shared_ptr< DtInMemorySnapshot > DtInMemorySnapshotPtr
Definition: snapshotManager.h:53
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:1800
Definition: importExportScenarioDescriptionManager.h:32
Definition: paperMapDatabase.h:20
The DtCommunicationManager class is a convenience class that will create both the DtNetworkInterfaceM...
Definition: communicationManager.h:54
DtDynamicFeaturesManager * myDynamicFeaturesManager
Definition: cgf.h:1674
DtCallbackList< const DtFilename & > myPostLoadTerrainCallbacks
Definition: cgf.h:1647
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:1777
DtNoArgumentCallbackList myScenarioRunCallbacks
Definition: cgf.h:1665
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:151
DtVrfPluginManager * myPluginManager
The current plugin manager.
Definition: cgf.h:1514
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
int myQueuedRollbackScenarioRunId
Definition: cgf.h:1790
bool myCreatedCharacterManager
Definition: cgf.h:1574
SimulationObjectGroupsToBeCreated mySimulationObjectGroupsToBeCreated
Definition: cgf.h:1795
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:1736
Definition: noArgumentCallbackList.h:90
DtIntelCollectionAreaManager * myIntelCollectionAreaManager
Definition: cgf.h:1561
bool myAssertOnBlockingTerrainCalls
If true, blocking terrain calls will cause an assert when a debug back-end is in run mode...
Definition: cgf.h:1712
DtCallbackList< DtScenario & > myPreSaveSimulationObjectGroupsCallbacks
Definition: cgf.h:1659
DtSyncMatrixManager * mySyncMatrixManager
Definition: cgf.h:1672
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:1660
DtSimulationModelSet * myDefaultModelSet
Default simulation model set. This is created when the default simulation model set filename is set o...
Definition: cgf.h:1716
DtNoArgumentCallbackList myPostScenarioRollbackCallbacks
Definition: cgf.h:1668
DtRwActivities myActivities
Definition: cgf.h:1763
Definition: vrfPluginManager.h:73
DtScenarioLoadManager * myScenarioLoadManager
Definition: cgf.h:1792
DtRadarCoverageMonitor * myRadarCoverageMonitor
Pointer to the DtRadarCoverageMonitor.
Definition: cgf.h:1582
A utility class for use with DtConsoleCommandManager. This class takes ownership of an arbitrary numb...
Definition: consoleCommandManager.h:168
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:93
DtFactoryManager * myFactoryManager
Pointer to the DtFactoryManager.
Definition: cgf.h:1604
ActionCategories myActionCategories
Definition: cgf.h:1747
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:1721
DtHazardAreaManager * myHazardAreaManager
Definition: cgf.h:1560
std::vector< DtString > myPluginsToLoad
Definition: cgf.h:1515
DtCallbackList< const DtScenario & > myPostSaveScenarioCallbacks
Definition: cgf.h:1657
bool myReinitializingScenario
Definition: cgf.h:1754
Definition: asyncJobServer.h:39
The DtSimOperationsInProgressManager can be used to keep track (by count) of sim services in operatio...
Definition: simOperationsInProgressManager.h:17
Instances of DtVrfCreator are responsible for creating all of the objects needed to create and manage...
Definition: vrfCreator.h:284
DtSimObjectManager * mySimObjectManager
Definition: cgf.h:1766
DtSimInternalCommunicationManager * mySimInternalCommunicationManager
Definition: cgf.h:1569
class DtPlan:
Definition: plan.h:92
DtInfluenceEventDispatcher * myInfluenceEventDispatcher
Definition: cgf.h:1673
DtOrbatManager * myOrbatManager
Definition: cgf.h:1566
DtNoArgumentCallbackList myCgfAboutToBeDestroyedCallbacks
Definition: cgf.h:1670
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:1654
Contains the DtTranslatableStream class declaration.
std::set< DtFilename > myLoadedModelSets
Definition: cgf.h:1787
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:47
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
bool myAboutToLoadOrRewindScenario
Definition: cgf.h:1753
This class is the central access point for all current-frame state of all objects in the simulation i...
Definition: simObjectManager.h:32
bool myForceParameterDbReload
Forces loadScenario to re-load the parameter database.
Definition: cgf.h:1594
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:1765
DtEngagementZonesManager * myEngagementZonesManager
Definition: cgf.h:1599
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:391
Definition: dynamicFeaturesManager.h:18
DtCallbackList< const DtScenario & > myPostImportScenarioCallbacks
Definition: cgf.h:1655
DtNoArgumentCallbackList myPostParameterDatabaseLoadedCallbacks
Definition: cgf.h:1662
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:1568
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
bool myAutomaticallyCreateGlobalEnvironment
Definition: cgf.h:1728
const char int mode
Definition: ioapi.h:38
DtSimTerrainRequestManager * mySimTerrainRequestManager
Definition: cgf.h:1530
DtCallbackList< const DtScenario & > myPostLoadScenarioCallbacks
Definition: cgf.h:1649
int myReloadDelay
Definition: cgf.h:1782
DtVrfCreator * myVrfCreator
Definition: cgf.h:1704
DtDiGuyCharacterDataManager * myCharacterMgr
Definition: cgf.h:1570
virtual bool canSimulate() const
Whether or not the cgf is ready to simulate.
Definition: cgf.h:383
DtFilename myCurrentParameterDatabaseFilename
Filename of currently loaded parameter database.
Definition: cgf.h:1639
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:137
Definition: snapshotManager.h:57
DtManagedObjectListManager * myFilteredObjectListManager
Definition: cgf.h:1565
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:1784
bool myOwnVrfCreatorFlag
These are essentially cached from the init call. This is necessary as the load terrain.
Definition: cgf.h:1703
DtIfScenarioStatus * scenarioStatus()
Returns the scenario status object.
Definition: cgf.h:293
bool myParameterDbLoaded
Set to true if parameter database has been loaded via loadParameterDatabase call. If you load a param...
Definition: cgf.h:1636
DtHostilityManager * myHostilityManager
Definition: cgf.h:1598
DtNoArgumentCallbackList myPreScenarioRollbackCallbacks
Definition: cgf.h:1667
The global plan manager maintains the list of "Global Plans." These are plans that are not specific t...
Definition: globalPlanManager.h:53
DtSpawnSinkManager * mySpawnSinkManager
Definition: cgf.h:1526
The top level class of a VR-Forces Simulation Engine, representing a Computer Generated Forces instan...
Definition: cgf.h:156
const int DtDefaultScenarioImportFlags
Default is not not import duplicate UUIDs. This will allow multiple scenarios that have the same base...
Definition: scenario.h:625
DtLuaObjectSerializer * myLuaObjectSerializer
Definition: cgf.h:1576
DtConsoleCommandOwner * myConsoleCommands
Definition: cgf.h:1741
The DtAisDataManager loads and manages Automatic Identification System (AIS) data, which is used to track and monitor real world ships. This data can be used to create and simulate clutter entities in a simulation.
Definition: aisDataManager.h:34
DtFireManager * myFireManager
Definition: cgf.h:1563
#define VRF4API_METHOD
Include this header file to allow for the definition/usage of the ability to mark something as deprec...
Definition: vrf4XAPI.h:23
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:1562
DtDebugDrawManager * myDebugDrawManager
Pointer to the DtDebugDrawManagert.
Definition: cgf.h:1554
DtCallbackList< const DtScenario & > myPostScenarioReinitializeCallbacks
Definition: cgf.h:1651
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:1519
DtU32 mySessionId
Session Id.
Definition: cgf.h:1505
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:1620
bool myLoadPluginsIfVersionMismatch
Definition: cgf.h:1516
DtSimulationAddress mySimulationAddress
Address for routing interface messages.
Definition: cgf.h:1502
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:1746
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.
Definition: localObject.h:98
DtFilename myMsdlSidcMappingFile
MSDL SDIC mapping file to load.
Definition: cgf.h:1629
DtTaskVisualizationPublicationMode
Defines how task visualizations will be published.
Definition: scenarioServiceInterface.h:22