VR-Engage  2.3
Loading...
Searching...
No Matches
VreAppStatus Struct Reference

Detailed Description

Contains information about a VREngage application's identity, assigned entity, role, and operational status.

#include <vreListener.h>

Public Attributes

std::string myStationId
 
std::string myPlayerName
 
DtUUID myUUID
 
std::string myRoleName
 
bool mySpectatorMode = false
 
DtTime myLastUpdateTime
 

Member Data Documentation

◆ myStationId

std::string VreAppStatus::myStationId

Station identity string for the VREngage application.

This is the station's name string (from –stationName or hostname) and serves as its unique identifier. Must be unique across all VREngage stations in an exercise and does not change over the application lifetime.

◆ myPlayerName

std::string VreAppStatus::myPlayerName

Name of the player using the VREngage application.

Optional identifier for the human user of the application.

◆ myUUID

DtUUID VreAppStatus::myUUID

UUID of the entity being controlled.

Identifies the entity currently controlled by this VREngage station. May be a null UUID if no entity is currently controlled.

◆ myRoleName

std::string VreAppStatus::myRoleName

Engaged role name for the player.

The role the player has assumed at the VREngage station (defined in the .entity file, e.g., "driver", "gunner", "commander"). Empty when the station is connected but not engaged in a role.

◆ mySpectatorMode

bool VreAppStatus::mySpectatorMode = false

Flag indicating whether player is in spectator mode.

When true, the player can observe but not interact with the entity.

◆ myLastUpdateTime

DtTime VreAppStatus::myLastUpdateTime

Timestamp of the last status update.

Used for timeout tracking of heartbeat messages.


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