VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Variables
scenario.h File Reference

Go to the source code of this file.

Classes

class  DtScenario
struct  DtScenario::ScenarioData
 Scenario data that can be read from the order of battle file. More...
class  DtLoadBalancingFcnInfo
class  DtScenarioLoadInformation
struct  DtSimulationObjectGroupSaveInformation

Typedefs

typedef bool(* DtPreserveMappingsFcn )(void *usr)
 class DtScenario:
typedef bool(* DtLoadBalancingFcn )(DtAddressMap *map, const DtList *backends, bool &remapped, void *usr)
 Return true from this function to signal success of load balancing, however, set remapped to true if the backend mapping has changed.
typedef bool(* DtRemappingFcn )(DtBackendMap *map, const std::set< DtSimulationAddress > &expectedBackends, void *usr)

Variables

const int DtImportScenarioCreateUniqueNamesOnImport = 0x00000001
const int DtImportScenarioImportScenarioEvents = 0x00000002
const int DtImportScenarioCreateSelectionGroup = 0x00000004
const int DtSimulationObjectGroupPreserveForceInformation = 0x00000008
const int DtSimulationObjectGroupUseGroupNameToDisambiguate = 0x00000010
const int DtSimulationObjectGroupAltitudesAreAboveTerrain = 0x00000020
const int DtSimulationObjectGroupCreationMode = 0x00000040
const int DtSimulationObjectGroupAllowAltitudePlacement = 0x00000080
const int DtImportScenarioKeepOnlyOriginalSimulationObjects = 0x00000100
const int DtImportScenarioDefaultFlags
const int DtSimulationObjectGroupDefaultFlags

Detailed Description

Typedef Documentation

typedef bool(* DtPreserveMappingsFcn)(void *usr)

class DtScenario:

Instances of DtScenario is the data declared in a .scn file It provides the capablility to read in a scenario file and access the data.Current scenario version is 3.2. For versions pre 3.2, the scenario exercise time will contain todays date/time as part of the exercise start time. For 3.2 and beyond this is assumed to be set as part of the exercise start time Used by saveScenario to determine if original (true) or new mappings should be saved.

typedef bool(* DtLoadBalancingFcn)(DtAddressMap *map, const DtList *backends, bool &remapped, void *usr)

Return true from this function to signal success of load balancing, however, set remapped to true if the backend mapping has changed.

Setting to false will not warn the user to preserve mappings

typedef bool(* DtRemappingFcn)(DtBackendMap *map, const std::set< DtSimulationAddress > &expectedBackends, void *usr)

Variable Documentation

const int DtImportScenarioCreateUniqueNamesOnImport = 0x00000001
const int DtImportScenarioImportScenarioEvents = 0x00000002
const int DtImportScenarioCreateSelectionGroup = 0x00000004
const int DtSimulationObjectGroupPreserveForceInformation = 0x00000008
const int DtSimulationObjectGroupUseGroupNameToDisambiguate = 0x00000010
const int DtSimulationObjectGroupAltitudesAreAboveTerrain = 0x00000020
const int DtSimulationObjectGroupCreationMode = 0x00000040
const int DtSimulationObjectGroupAllowAltitudePlacement = 0x00000080
const int DtImportScenarioKeepOnlyOriginalSimulationObjects = 0x00000100
const int DtImportScenarioDefaultFlags
const int DtSimulationObjectGroupDefaultFlags

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)