|
VR-Engage
2.3
|
This page provides an overview of the most important classes in VR-Engage development. Classes may operate in the frontend (player station), backend (simulation engine), or both contexts.
Classes that run in the player station process, handling user interaction, input processing, UI, and client-side logic.
Base classes that form the foundation of the player station architecture:
| DtPlayerComponent | Base class for Player Station role components; plugins register their creators |
| DtEntityControlLogic | Base class for entity-control role components |
| DtPlayerStationApp | Main application class managing Player Station lifecycle |
Specialized classes for different vehicle roles and control stations:
| DtDriverControlLogic | Control logic for ground vehicle driver stations |
| DtPilotSimLogic | Frontend pilot-role logic that sends aircraft control requests to the backend |
| DtGunnerControlLogic | Control logic for weapon system operator stations |
| DtCommanderControlLogic | Control logic for commander stations |
The pilot component is declared in include/roles/pilot/vrePilotFrontend/pilotSimLogic.h. Despite its name, DtPilotSimLogic runs in the frontend and derives from DtEntityControlLogic.
Classes for handling user input and integrating with custom hardware devices:
| DtInputDevice | Base class for custom input device implementations |
| DtVreInputManager | Manages devices, mapping layers, and action dispatch |
| DtInputLogic | Loads component input mappings and manages action-handler registration and cleanup |
See include/framework/vreInput/vreInputManager.h and include/framework/vrePlayerStation/inputLogic.h for these interfaces.
Specialized classes for virtual reality and immersive hardware integration:
| DtOculusEventManager | Processes Oculus controller events through the VR-Vantage VR controller integration |
| DtOpenVREventManager | Processes OpenVR controller events through the VR-Vantage VR controller integration |
Classes for creating and managing user interfaces and visual displays:
| DtQtQuickRenderer | Renders QML-based user interfaces within the VR-Engage environment |
| DtHumanHudUpdater | Updates heads-up display elements for human-controlled entities |
DtSimEventConnector is the protocol-specific frontend connector base. It is declared in include/framework/vrePlayerStationConnector/simEventConnector.h. DtOwnshipControlConnector converts frontend entity-control messages to VR-Forces remote-control requests. Neither is a backend entity-component base. See Inter-Process Communication for command transport and Reflected Entity Attributes for received entity state.
Classes that run in the simulation engine process, handling entity behavior, physics, network communication, and authoritative simulation state.
Backend controllers operate on simulation entities and ports:
| DtVreJoystickController | Routes joystick group/function input to backend output ports |
| DtWeaponsStatusController | Handles weapon selection/configuration and publishes weapon status and ammunition updates |
These classes are declared in include/vrfExtensions/vreVrfmodel/vreJoystickController.h and include/vrfExtensions/vreVrfmodel/weaponsStatusController.h. Backend networking uses the corresponding VR-Forces and VR-Link interfaces. See VR-Forces Integration for backend component and plugin boundaries.
Classes used in both player station and simulation engine contexts.
The core messaging system that enables decoupled communication between components:
| DtVreMessage | Base class for VR-Engage messages |
| DtVreMessageManager | Process-local message dispatcher; cross-process delivery needs a connector or forwarder |
DtAttribute nodes hold typed values in a process-local hierarchy. Handles refer to nodes in application, Player Station, and reflected-entity scopes; persistence depends on the branch and interested handles.
| DtAttribute | Value and child-node operations |
| DtAttributeHandle | Handle to a node in an attribute store |
| DtAttributeCallbackManager | Owns change callbacks and their subscriptions |
Essential classes for debugging and development workflows:
| DtDebugDrawCommand | Commands for drawing debug visualizations in the 3D environment |
See also