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

Go to the source code of this file.

Classes

class  DtScenario
class  DtLoadBalancingFcnInfo
class  DtScenarioLoadInformation
struct  DtSimulationObjectGroupSaveInformation

Typedefs

typedef bool(* DtPreserveMappingsFcn )(void *usr)
 For DtFrameMode.
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, 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 DtImportScenarioDefaultFlags
const int DtSimulationObjectGroupDefaultFlags

Detailed Description

Typedef Documentation

typedef bool(* DtPreserveMappingsFcn)(void *usr)

For DtFrameMode.

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, 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 DtImportScenarioDefaultFlags
const int DtSimulationObjectGroupDefaultFlags

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)