VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
DtDefaultDatabaseEvents Namespace Reference

Functions

std::string theScenarioRunTableName ("ScenarioRun")
 
std::string theSimEngineTableName ("SimEngine")
 
std::string theFireTableName ("Fire")
 
std::string theDetonationTableName ("Detonation")
 
std::string theDamageTableName ("Damage")
 
std::string theObjectTableName ("Object")
 
std::string theFuelResourceTableName ("FuelResource")
 
std::string theWeaponResourceTableName ("WeaponResource")
 
std::string theOtherResourceTableName ("OtherResource")
 
std::string theDetectionTableName ("Detection")
 
std::map
< DtVrfDatabaseEvent::EventType,
std::string > 
eventTypes ()
 
std::map
< DtVrfDatabaseEvent::EventType,
DtVrfDatabaseEvent
eventPrototypes ()
 
std::string theUnknownTableName ("Unknown")
 
std::string theInternalStatsTableName ("InternalStats")
 

Variables

const DtString stringParam
 
const DtUUID uuidParam
 
const DtEntityType entityTypeParam
 
const DtEntityIdentifier entityIdParam
 
const DtVector vectorParam
 
const DtEntityIdentifier simAddressParam
 
const int intParam = 0
 
const double doubleParam = 0
 
const bool boolParam = 0
 
auto theScenarioRunPrototype
 
auto theSimEnginePrototype
 
auto theFirePrototype
 
auto theDetonationPrototype
 
auto theDamagePrototype
 
auto theObjectPrototype
 
auto theFuelResourcePrototype
 
auto theWeaponResourcePrototype
 
auto theOtherResourcePrototype
 
auto theDetectionPrototype
 

Function Documentation

std::string DtDefaultDatabaseEvents::theScenarioRunTableName ( "ScenarioRun"  )

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theSimEngineTableName ( "SimEngine"  )

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theFireTableName ( "Fire"  )

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theDetonationTableName ( "Detonation"  )

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theDamageTableName ( "Damage"  )

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theObjectTableName ( "Object"  )

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theFuelResourceTableName ( "FuelResource"  )

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theWeaponResourceTableName ( "WeaponResource"  )

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theOtherResourceTableName ( "OtherResource"  )

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theDetectionTableName ( "Detection"  )

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theUnknownTableName ( "Unknown"  )

Internal use only.

Referenced by eventTypes().

std::string DtDefaultDatabaseEvents::theInternalStatsTableName ( "InternalStats"  )

Internal use only.

Referenced by eventTypes().

std::map<DtVrfDatabaseEvent::EventType, std::string> DtDefaultDatabaseEvents::eventTypes ( )
std::map<DtVrfDatabaseEvent::EventType, DtVrfDatabaseEvent> DtDefaultDatabaseEvents::eventPrototypes ( )

Variable Documentation

const DtString DtDefaultDatabaseEvents::stringParam

Placeholders to indicate data types of parameters in prototypes.

const DtUUID DtDefaultDatabaseEvents::uuidParam
const DtEntityType DtDefaultDatabaseEvents::entityTypeParam
const DtEntityIdentifier DtDefaultDatabaseEvents::entityIdParam
const DtVector DtDefaultDatabaseEvents::vectorParam
const DtEntityIdentifier DtDefaultDatabaseEvents::simAddressParam
const int DtDefaultDatabaseEvents::intParam = 0
const double DtDefaultDatabaseEvents::doubleParam = 0
const bool DtDefaultDatabaseEvents::boolParam = 0
auto DtDefaultDatabaseEvents::theScenarioRunPrototype
Initial value:
= [=]() {
.addParameter("scenarioName", stringParam)
.addParameter("dateAndTimeStart", doubleParam)
.addParameter("realWorldTimeStart", doubleParam)
.addParameter("simAddress", simAddressParam); }
const DtEntityIdentifier simAddressParam
Definition: vrfDefaultDatabaseEvents.h:18
virtual DtVrfDatabaseEvent & addParameter(const DtString &name, bool p, bool isPrimaryKey=false)
Adds a new parameter to this event. Parameters can be of many types, and are then converted into type...
const double doubleParam
Definition: vrfDefaultDatabaseEvents.h:20
const int intParam
Definition: vrfDefaultDatabaseEvents.h:19
const DtString stringParam
Placeholders to indicate data types of parameters in prototypes.
Definition: vrfDefaultDatabaseEvents.h:13
Represents a single event to be recorded in the database. Anytime something occurs that requires data...
Definition: vrfDatabaseEvent.h:22
static const bool PrimaryKey
Definition: vrfDatabaseEvent.h:49

Referenced by eventPrototypes().

auto DtDefaultDatabaseEvents::theSimEnginePrototype
Initial value:
= [=]() {
.addParameter("simAddress", simAddressParam)
.addParameter("startTime", doubleParam); }
const DtEntityIdentifier simAddressParam
Definition: vrfDefaultDatabaseEvents.h:18
virtual DtVrfDatabaseEvent & addParameter(const DtString &name, bool p, bool isPrimaryKey=false)
Adds a new parameter to this event. Parameters can be of many types, and are then converted into type...
const double doubleParam
Definition: vrfDefaultDatabaseEvents.h:20
const int intParam
Definition: vrfDefaultDatabaseEvents.h:19
const DtString stringParam
Placeholders to indicate data types of parameters in prototypes.
Definition: vrfDefaultDatabaseEvents.h:13
Represents a single event to be recorded in the database. Anytime something occurs that requires data...
Definition: vrfDatabaseEvent.h:22
static const bool PrimaryKey
Definition: vrfDatabaseEvent.h:49

Referenced by eventPrototypes().

auto DtDefaultDatabaseEvents::theFirePrototype
Initial value:
= [=]() {
.addParameter("firingObjectUuid", uuidParam)
.addParameter("targetObjectUuid", uuidParam)
.addParameter("munitionObjectUuid", uuidParam)
.addParameter("munitionType", entityTypeParam)
.addParameter("location", vectorParam); }
const DtUUID uuidParam
Definition: vrfDefaultDatabaseEvents.h:14
virtual DtVrfDatabaseEvent & addParameter(const DtString &name, bool p, bool isPrimaryKey=false)
Adds a new parameter to this event. Parameters can be of many types, and are then converted into type...
const int intParam
Definition: vrfDefaultDatabaseEvents.h:19
const DtVector vectorParam
Definition: vrfDefaultDatabaseEvents.h:17
const DtEntityType entityTypeParam
Definition: vrfDefaultDatabaseEvents.h:15
const DtString stringParam
Placeholders to indicate data types of parameters in prototypes.
Definition: vrfDefaultDatabaseEvents.h:13
Represents a single event to be recorded in the database. Anytime something occurs that requires data...
Definition: vrfDatabaseEvent.h:22
static const bool PrimaryKey
Definition: vrfDatabaseEvent.h:49

Referenced by eventPrototypes().

auto DtDefaultDatabaseEvents::theDetonationPrototype
Initial value:
= [=]() {
.addParameter("attackingObjectUuid", uuidParam)
.addParameter("targetObjectUuid", uuidParam)
.addParameter("munitionObjectUuid", uuidParam)
.addParameter("munitionType", entityTypeParam)
.addParameter("location", vectorParam)
.addParameter("result", intParam); }
const DtUUID uuidParam
Definition: vrfDefaultDatabaseEvents.h:14
virtual DtVrfDatabaseEvent & addParameter(const DtString &name, bool p, bool isPrimaryKey=false)
Adds a new parameter to this event. Parameters can be of many types, and are then converted into type...
const int intParam
Definition: vrfDefaultDatabaseEvents.h:19
const DtVector vectorParam
Definition: vrfDefaultDatabaseEvents.h:17
const DtEntityType entityTypeParam
Definition: vrfDefaultDatabaseEvents.h:15
const DtString stringParam
Placeholders to indicate data types of parameters in prototypes.
Definition: vrfDefaultDatabaseEvents.h:13
Represents a single event to be recorded in the database. Anytime something occurs that requires data...
Definition: vrfDatabaseEvent.h:22
static const bool PrimaryKey
Definition: vrfDatabaseEvent.h:49

Referenced by eventPrototypes().

auto DtDefaultDatabaseEvents::theDamagePrototype
Initial value:
= [=]() {
.addParameter("damagedObjectUuid", uuidParam)
.addParameter("munitionType", entityTypeParam)
.addParameter("directHit", boolParam)
.addParameter("destroyed", boolParam)
.addParameter("mobilityKilled", boolParam)
.addParameter("firepowerKilled", boolParam)
.addParameter("sensorKilled", boolParam); }
const bool boolParam
Definition: vrfDefaultDatabaseEvents.h:21
const DtUUID uuidParam
Definition: vrfDefaultDatabaseEvents.h:14
virtual DtVrfDatabaseEvent & addParameter(const DtString &name, bool p, bool isPrimaryKey=false)
Adds a new parameter to this event. Parameters can be of many types, and are then converted into type...
const DtEntityType entityTypeParam
Definition: vrfDefaultDatabaseEvents.h:15
const DtString stringParam
Placeholders to indicate data types of parameters in prototypes.
Definition: vrfDefaultDatabaseEvents.h:13
Represents a single event to be recorded in the database. Anytime something occurs that requires data...
Definition: vrfDatabaseEvent.h:22

Referenced by eventPrototypes().

auto DtDefaultDatabaseEvents::theObjectPrototype
Initial value:
= [=]() {
.addParameter("globalId", stringParam)
.addParameter("markingText", stringParam)
.addParameter("objectType", entityTypeParam)
.addParameter("forceType", intParam)
.addParameter("createdBySimEngine", simAddressParam); }
const DtUUID uuidParam
Definition: vrfDefaultDatabaseEvents.h:14
const DtEntityIdentifier simAddressParam
Definition: vrfDefaultDatabaseEvents.h:18
virtual DtVrfDatabaseEvent & addParameter(const DtString &name, bool p, bool isPrimaryKey=false)
Adds a new parameter to this event. Parameters can be of many types, and are then converted into type...
const int intParam
Definition: vrfDefaultDatabaseEvents.h:19
const DtEntityIdentifier entityIdParam
Definition: vrfDefaultDatabaseEvents.h:16
const DtEntityType entityTypeParam
Definition: vrfDefaultDatabaseEvents.h:15
const DtString stringParam
Placeholders to indicate data types of parameters in prototypes.
Definition: vrfDefaultDatabaseEvents.h:13
Represents a single event to be recorded in the database. Anytime something occurs that requires data...
Definition: vrfDatabaseEvent.h:22
static const bool PrimaryKey
Definition: vrfDatabaseEvent.h:49

Referenced by eventPrototypes().

auto DtDefaultDatabaseEvents::theFuelResourcePrototype
Initial value:
= [=]() {
.addParameter("entity", uuidParam)
.addParameter("resourceName", stringParam)
.addParameter("fullAmount", doubleParam)
.addParameter("currentAmount", doubleParam); }
const DtUUID uuidParam
Definition: vrfDefaultDatabaseEvents.h:14
virtual DtVrfDatabaseEvent & addParameter(const DtString &name, bool p, bool isPrimaryKey=false)
Adds a new parameter to this event. Parameters can be of many types, and are then converted into type...
const double doubleParam
Definition: vrfDefaultDatabaseEvents.h:20
const DtString stringParam
Placeholders to indicate data types of parameters in prototypes.
Definition: vrfDefaultDatabaseEvents.h:13
Represents a single event to be recorded in the database. Anytime something occurs that requires data...
Definition: vrfDatabaseEvent.h:22

Referenced by eventPrototypes().

auto DtDefaultDatabaseEvents::theWeaponResourcePrototype
Initial value:
= [=]() {
.addParameter("entity", uuidParam)
.addParameter("resourceName", stringParam)
.addParameter("fullAmount", doubleParam)
.addParameter("currentAmount", doubleParam); }
const DtUUID uuidParam
Definition: vrfDefaultDatabaseEvents.h:14
virtual DtVrfDatabaseEvent & addParameter(const DtString &name, bool p, bool isPrimaryKey=false)
Adds a new parameter to this event. Parameters can be of many types, and are then converted into type...
const double doubleParam
Definition: vrfDefaultDatabaseEvents.h:20
const DtString stringParam
Placeholders to indicate data types of parameters in prototypes.
Definition: vrfDefaultDatabaseEvents.h:13
Represents a single event to be recorded in the database. Anytime something occurs that requires data...
Definition: vrfDatabaseEvent.h:22

Referenced by eventPrototypes().

auto DtDefaultDatabaseEvents::theOtherResourcePrototype
Initial value:
= [=]() {
.addParameter("entity", uuidParam)
.addParameter("resourceName", stringParam)
.addParameter("fullAmount", doubleParam)
.addParameter("currentAmount", doubleParam); }
const DtUUID uuidParam
Definition: vrfDefaultDatabaseEvents.h:14
virtual DtVrfDatabaseEvent & addParameter(const DtString &name, bool p, bool isPrimaryKey=false)
Adds a new parameter to this event. Parameters can be of many types, and are then converted into type...
const double doubleParam
Definition: vrfDefaultDatabaseEvents.h:20
const DtString stringParam
Placeholders to indicate data types of parameters in prototypes.
Definition: vrfDefaultDatabaseEvents.h:13
Represents a single event to be recorded in the database. Anytime something occurs that requires data...
Definition: vrfDatabaseEvent.h:22

Referenced by eventPrototypes().

auto DtDefaultDatabaseEvents::theDetectionPrototype
Initial value:
= [=]() {
.addParameter("detectingObjectUuid", uuidParam)
.addParameter("sensorName", stringParam)
.addParameter("sensorType", intParam)
.addParameter("sensorEnabled", boolParam)
.addParameter("contactObjectUuid", uuidParam)
.addParameter("combatIdentificationLevel", intParam)
.addParameter("contactForce", intParam)
.addParameter("contactType", entityTypeParam); }
const bool boolParam
Definition: vrfDefaultDatabaseEvents.h:21
const DtUUID uuidParam
Definition: vrfDefaultDatabaseEvents.h:14
virtual DtVrfDatabaseEvent & addParameter(const DtString &name, bool p, bool isPrimaryKey=false)
Adds a new parameter to this event. Parameters can be of many types, and are then converted into type...
const int intParam
Definition: vrfDefaultDatabaseEvents.h:19
const DtEntityType entityTypeParam
Definition: vrfDefaultDatabaseEvents.h:15
const DtString stringParam
Placeholders to indicate data types of parameters in prototypes.
Definition: vrfDefaultDatabaseEvents.h:13
Represents a single event to be recorded in the database. Anytime something occurs that requires data...
Definition: vrfDatabaseEvent.h:22

Referenced by eventPrototypes().


Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)