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

Namespaces

 DtObjectTypes
 
 DtInteractionTypes
 

Classes

struct  DtLogEntry
 
struct  DtConnectMessage
 
struct  DtConnectResponseMessage
 
struct  DtConfigureMessage
 
struct  DtConfigureResponseMessage
 
struct  DtEntityAttributeUpdateMessage
 
struct  DtObjectDeletedMessage
 
struct  DtObjectDeletedMultipleMessage
 
struct  DtInteractionMessage
 
struct  DtLogRequestMessage
 
struct  DtLogResponseMessage
 
struct  DtEntityAttributeUpdateMultipleMessage
 
struct  DtAggregateAttributeUpdateMultipleMessage
 
struct  DtContactReportAttributeUpdateMultipleMessage
 
struct  DtGeometryRecord
 
struct  DtPingMessage
 
struct  DtEntityIdentifier
 
struct  DtEntityType
 
struct  DtCoordinates
 
struct  DtWebLvcObject
 

Enumerations

enum  DtMessageKind {
  DtMessageKind::Connect, DtMessageKind::ConnectResponse, DtMessageKind::Configure, DtMessageKind::ConfigureResponse,
  DtMessageKind::EntityAttributeUpdate, DtMessageKind::EntityAttributeUpdateMultiple, DtMessageKind::TacticalGraphicAttributeUpdate, DtMessageKind::TacticalGraphicAttributeUpdateMultiple,
  DtMessageKind::AggregateAttributeUpdate, DtMessageKind::AggregateAttributeUpdateMultiple, DtMessageKind::ContactReportAttributeUpdate, DtMessageKind::ContactReportAttributeUpdateMultiple,
  DtMessageKind::ObjectDeleted, DtMessageKind::ObjectDeletedMultiple, DtMessageKind::ResetObjects, DtMessageKind::Interaction,
  DtMessageKind::InteractionMultiple, DtMessageKind::LogRequest, DtMessageKind::LogResponse, DtMessageKind::Ping,
  DtMessageKind::ScenarioStatus, DtMessageKind::ScenarioRolesStatus, DtMessageKind::PlayerRolesStatus, DtMessageKind::SubscribeMessageTypes,
  DtMessageKind::Unknown
}
 
enum  DtMessageCategory {
  DtMessageCategory::Entities, DtMessageCategory::TacticalGraphics, DtMessageCategory::Aggregates, DtMessageCategory::Interactions,
  DtMessageCategory::ScenarioStatus, DtMessageCategory::Roles, DtMessageCategory::ContactReports, DtMessageCategory::Unknown
}
 
enum  DtTimestampFormat { DtTimestampFormat::HexASCII = 0, DtTimestampFormat::SecondsDouble = 1, DtTimestampFormat::MillisecondsInt = 2 }
 

Functions

std::string DtMessageCategoryToString (DtMessageCategory cat)
 
DtMessageCategory DtParseMessageCategory (const std::string &str)
 
std::string DtMessageKindToString (DtMessageKind kind)
 
DtMessageKind DtParseMessageKind (const std::string &str)
 
DtEntityAttributeUpdateMessage getEntityState (const std::string &uuid)
 
std::vector
< DtEntityAttributeUpdateMessage > 
getAllEntityStates ()
 
Json::Value DtFormatTimestamp (DtTimestampFormat format)
 
std::string getISO8601Timestamp ()
 

Enumeration Type Documentation

WebLVC DtMessageKind enum per message specification All WebLVC Messages shall include the DtMessageKind property as a string.

Enumerator
Connect 
ConnectResponse 
Configure 
ConfigureResponse 
EntityAttributeUpdate 
EntityAttributeUpdateMultiple 
TacticalGraphicAttributeUpdate 
TacticalGraphicAttributeUpdateMultiple 
AggregateAttributeUpdate 
AggregateAttributeUpdateMultiple 
ContactReportAttributeUpdate 
ContactReportAttributeUpdateMultiple 
ObjectDeleted 
ObjectDeletedMultiple 
ResetObjects 
Interaction 
InteractionMultiple 
LogRequest 
LogResponse 
Ping 
ScenarioStatus 
ScenarioRolesStatus 
PlayerRolesStatus 
SubscribeMessageTypes 
Unknown 

Logical categories of server-to-client push messages a client may subscribe to. A client that does not send SubscribeMessageTypes receives all categories (default).

Enumerator
Entities 

EntityAttributeUpdate / EntityAttributeUpdateMultiple / ObjectDeleted for entities.

TacticalGraphics 

TacticalGraphicAttributeUpdate / TacticalGraphicAttributeUpdateMultiple / ObjectDeleted for TGs.

Aggregates 

AggregateAttributeUpdate / AggregateAttributeUpdateMultiple / ObjectDeleted for aggregates.

Interactions 

Interaction / InteractionMultiple.

ScenarioStatus 

ScenarioStatus.

Roles 

ScenarioRolesStatus / PlayerRolesStatus.

ContactReports 

ContactReportAttributeUpdate / ContactReportAttributeUpdateMultiple / ObjectDeleted for contact reports.

Unknown 
Enumerator
HexASCII 
SecondsDouble 
MillisecondsInt 

Function Documentation

std::string DtWeblvc::DtMessageCategoryToString ( DtMessageCategory  cat)
inline

Convert DtMessageCategory enum to its wire string.

References Aggregates, ContactReports, Entities, Interactions, Roles, ScenarioStatus, TacticalGraphics, and Unknown.

DtMessageCategory DtWeblvc::DtParseMessageCategory ( const std::string &  str)
inline

Parse a wire string to DtMessageCategory.

References Aggregates, ContactReports, Entities, Interactions, Roles, ScenarioStatus, TacticalGraphics, and Unknown.

std::string DtWeblvc::DtMessageKindToString ( DtMessageKind  kind)
inline
DtMessageKind DtWeblvc::DtParseMessageKind ( const std::string &  str)
inline
DtEntityAttributeUpdateMessage DtWeblvc::getEntityState ( const std::string &  uuid)
inline

Get entity state from DtVrfManager TODO: Implement to retrieve actual entity data.

References DtWeblvc::DtEntityAttributeUpdateMessage::uuid.

std::vector<DtEntityAttributeUpdateMessage> DtWeblvc::getAllEntityStates ( )
inline

Get all entity states from DtVrfManager TODO: Implement to retrieve all entity data for batch updates.

Json::Value DtWeblvc::DtFormatTimestamp ( DtTimestampFormat  format)
inline

Format a timestamp according to the configured format.

References HexASCII, MillisecondsInt, SecondsDouble, and ImGui::Value().

std::string DtWeblvc::getISO8601Timestamp ( )
inline

Get ISO 8601 formatted timestamp for logging.

Referenced by DtWebLvcClientSession::addLog().


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)