VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Attributes
DtDatasource::DtAggregateSnapshot Struct Reference

DtAggregateSnapshot- Complete state of an aggregate entity at a point in time. VRF-agnostic intermediate representation used by DtAggregateProcessor and DtJsonSerializer. Omits per-entity movement detail (ClimbRate, GroundSpeed) and adds aggregate-specific fields.

Public Attributes

std::string uuid
 
std::string objectType
 
::DtEntityIdentifier entityId
 
DtEntityType entityType
 
std::string marking
 
std::string label
 
int forceIdentifier = 0
 
std::string overlay
 
int aggregateState = 1
 
std::array< double, 3 > location = {0.0, 0.0, 0.0}
 
double heading = 0.0
 
double speed = 0.0
 
double movementDirection = 0.0
 
int damageState = 0
 
double health = -1
 
double baseHealth = -1
 
std::vector< std::string > subordinates
 
bool commandEnabled = true
 
std::vector< std::string > availableCommands
 
Json::Value currentTasks {Json::arrayValue}
 
std::vector< DtResourceEntry > resources
 
std::string sidc
 
std::string embarkedOn
 
double lastUpdateTime = 0.0
 

Member Data Documentation

std::string DtDatasource::DtAggregateSnapshot::uuid

Unique identifier (UUID string)

std::string DtDatasource::DtAggregateSnapshot::objectType

Always "AggregateEntity".

::DtEntityIdentifier DtDatasource::DtAggregateSnapshot::entityId
DtEntityType DtDatasource::DtAggregateSnapshot::entityType
std::string DtDatasource::DtAggregateSnapshot::marking

Unit name / callsign.

std::string DtDatasource::DtAggregateSnapshot::label

Secondary display label (distinct from marking)

int DtDatasource::DtAggregateSnapshot::forceIdentifier = 0

DIS force ID.

std::string DtDatasource::DtAggregateSnapshot::overlay

Overlay/layer identifier (optional)

int DtDatasource::DtAggregateSnapshot::aggregateState = 1

0=Other, 1=Aggregated, 2=Disaggregated

std::array<double, 3> DtDatasource::DtAggregateSnapshot::location = {0.0, 0.0, 0.0}

[lat_deg, lon_deg, alt_m] WGS-84

double DtDatasource::DtAggregateSnapshot::heading = 0.0

Facing direction, degrees clockwise from North [0, 360)

double DtDatasource::DtAggregateSnapshot::speed = 0.0

Approximate aggregate speed in m/s.

double DtDatasource::DtAggregateSnapshot::movementDirection = 0.0

Direction of travel, degrees clockwise from North [0, 360)

int DtDatasource::DtAggregateSnapshot::damageState = 0
double DtDatasource::DtAggregateSnapshot::health = -1

Aggregate Health, real value if it exists, otherwise -1.

double DtDatasource::DtAggregateSnapshot::baseHealth = -1

Aggregate Base Health, real value if it exists, otherwise -1.

std::vector<std::string> DtDatasource::DtAggregateSnapshot::subordinates

UUIDs of member entities.

bool DtDatasource::DtAggregateSnapshot::commandEnabled = true

True if the session's role allows commanding this aggregate.

std::vector<std::string> DtDatasource::DtAggregateSnapshot::availableCommands
Json::Value DtDatasource::DtAggregateSnapshot::currentTasks {Json::arrayValue}

Current tasks running on this aggregate, as a JSON array of {"CommandType": "...", "Parameters": {...}} objects. Pre-serialized here so SDK types do not leak into the data layer.

std::vector<DtResourceEntry> DtDatasource::DtAggregateSnapshot::resources

Consumable resources; populated only when the server is subscribed for resource updates.

std::string DtDatasource::DtAggregateSnapshot::sidc

MIL-STD-2525 SIDC.

std::string DtDatasource::DtAggregateSnapshot::embarkedOn

UUID of the host entity this aggregate is embarked on, empty if not embarked.

double DtDatasource::DtAggregateSnapshot::lastUpdateTime = 0.0

The documentation for this struct was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)