VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtVrfRemoteControlConnector Class Reference

Detailed Description

DtVrfRemoteControlConnector provides a comprehensive interface for controlling and communicating with a VR-Forces backend. It handles session management, entity creation/removal, simulation control (run/pause/rewind), and processes various data types sent from the backend, including radar data, entity updates, and sensor information.

#include <vrfRemoteControlConnector.h>

Inheritance diagram for makVre::DtVrfRemoteControlConnector:
[legend]

Public Member Functions

 DtVrfRemoteControlConnector ()
 
virtual ~DtVrfRemoteControlConnector () override
 
virtual void install (DtPlayerStationApp *app, DtCommunicationManager *communicationManager, makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection *connection, int vrfSessionId)
 
virtual void tick () override
 
virtual void shutdown () override
 
virtual makVrf::DtVrlinkVrfRemoteController * vrfRemoteController ()
 
virtual DtReflectedEntityList * reflectedEntityList ()
 
virtual void handleLocalEntityCreated (const DtString &name, const DtEntityIdentifier &id, const DtUUID &uuid)
 
virtual void processResourceResponse (const makVrfEvents::DtEvent &evt)
 
virtual void handleSensorUpdate (DtIfSensorData *sensorData)
 
virtual void handleActionMenuControlObjectDiscovered (DtReflectedControlObject *obj)
 
virtual void handleActionMenuControlObjectRemoved (DtReflectedControlObject *obj)
 
virtual void handleEntityRemoved (const DtReflectedExtEntity *entity)
 
virtual void handleEntityAdded (const DtReflectedExtEntity *entity)
 
virtual void processVreStatusMessage (DtSimMessage *msg)
 
virtual void processTextReport (const DtVrfObjectMessage *msg)
 
virtual void processVreTdlTrackList (DtSimMessage *msg)
 
virtual void processVreTdlEngagementStatus (DtSimMessage *msg)
 
virtual void processLoadCompleteMessage (DtSimMessage *msg)
 
virtual void processChatEvent (const makVrfEvents::DtEvent &evt)
 
virtual DtVreMessageResult handleChatEvent (DtVreMessage *message)
 
virtual DtVreMessageResult handleVrfSessionStatusRequest (DtVreMessage *message)
 
virtual DtVreMessageResult handleSessionSmsListRequest (DtVreMessage *message)
 
virtual DtVreMessageResult handleSessionPlayStateRequest (DtVreMessage *message)
 
virtual DtVreMessageResult handleSetDefaultSmsList (DtVreMessage *message)
 
virtual DtVreMessageResult handleSetBackendConfig (DtVreMessage *message)
 
virtual DtVreMessageResult handleStartBackend (DtVreMessage *message)
 
virtual DtVreMessageResult handleStopBackend (DtVreMessage *message)
 
virtual DtVreMessageResult handleRequestBackendStatus (DtVreMessage *message)
 
virtual DtVreMessageResult handleLoadBackend (DtVreMessage *message)
 
virtual DtVreMessageResult handleVrfRun (DtVreMessage *message)
 
virtual DtVreMessageResult handleVrfPause (DtVreMessage *message)
 
virtual DtVreMessageResult handleVrfRewind (DtVreMessage *message)
 
virtual DtVreMessageResult handleCreateNewOwnship (DtVreMessage *message)
 
virtual DtVreMessageResult handleDestroyNewOwnship (DtVreMessage *message)
 
virtual DtVreMessageResult handleVrfTakeControlOf (DtVreMessage *message)
 
virtual DtVreMessageResult handleVrfReleaseControlOf (DtVreMessage *message)
 
virtual DtVreMessageResult handleJoystick (DtVreMessage *msg)
 
virtual DtVreMessageResult handleResetPlayer (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetLocation (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetHeading (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetPitch (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetRoll (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetAltitude (DtVreMessage *msg)
 
virtual DtVreMessageResult handleEmbarkMessage (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetAppearanceMessage (DtVreMessage *msg)
 
virtual DtVreMessageResult handleRenameMessage (DtVreMessage *msg)
 
virtual DtVreMessageResult handleRequestSimulationStateMessage (DtVreMessage *msg)
 
virtual DtVreMessageResult handleVrfTaskMessages (DtVreMessage *msg)
 
virtual DtVreMessageResult handleVrfSetDataRequests (DtVreMessage *msg)
 
virtual DtVreMessageResult handleVrfSensorMessages (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetLaserCode (DtVreMessage *msg)
 
virtual DtVreMessageResult handleScriptedSet (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetRulesOfEngagement (DtVreMessage *msg)
 
virtual DtVreMessageResult handleTriggerEvent (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetLightState (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetHandItem (DtVreMessage *msg)
 
virtual DtVreMessageResult handleTrackLaserCode (DtVreMessage *msg)
 
virtual DtVreMessageResult handleRwrSubscription (DtVreMessage *msg)
 
virtual DtVreMessageResult handleRwrUnsubscription (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSensorSubscription (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSensorUnsubscription (DtVreMessage *msg)
 
virtual DtVreMessageResult handleRadarStateSubscription (DtVreMessage *msg)
 
virtual DtVreMessageResult handleRadarStateUnsubscription (DtVreMessage *msg)
 
virtual DtVreMessageResult handleDesignatedTargetsUpdate (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetModeAndSubmode (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetGimbalTrackLocation (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetGimbalTrackObject (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetGimbalTrackMode (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetAntennaSweep (DtVreMessage *msg)
 
virtual DtVreMessageResult handleWindRequest (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetStateProperties (DtVreMessage *msg)
 
virtual bool processEnvProcessDiscoveryCriteria (DtReflectedEnvironmentProcess *envProcess)
 
virtual DtVreMessageResult handleVreStatus (DtVreMessage *message)
 
virtual DtVreMessageResult handleRequestEntitiesByType (DtVreMessage *msg)
 
- Public Member Functions inherited from makVre::DT_PROTOCOL_NAMESPACE::DtSimEventConnector
 DtSimEventConnector ()
 
virtual ~DtSimEventConnector () override
 
virtual void install (DtPlayerStationApp *app, makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection *connection)
 
- Public Member Functions inherited from makVre::DtConnector
 DtConnector ()
 
virtual ~DtConnector ()
 
virtual DtConnectorType type ()
 
virtual std::string name ()
 

Static Public Member Functions

static void vreStatusMessageCallback (DtSimMessage *msg, void *usr)
 
static void textReportCallback (const DtVrfObjectMessage *msg, void *usr)
 
static void vreTdlTrackListCallback (DtSimMessage *msg, void *usr)
 
static void vreTdlEngagementStatusCallback (DtSimMessage *msg, void *usr)
 
static void ifLoadCompleteMessageCallback (DtSimMessage *msg, void *usr)
 
static bool backendRemapper (DtBackendMap *map, const std::set< DtSimulationAddress > &expectedBackends, void *usr)
 
- Static Public Member Functions inherited from makVre::DtConnector
static std::string extension (DtConnectorType type)
 

Protected Member Functions

virtual bool remapBackends (DtBackendMap *map, const std::set< DtSimulationAddress > &expectedBackends)
 
virtual DtReflectedExtEntityInfolookupReflectedEntityInfo (const DtEntityIdentifier &entityId)
 
virtual DtUUID lookupUUID (const DtEntityIdentifier &entityId)
 
virtual DtUUID findUUID (DtReflectedExtEntity *reflectedEntity)
 
virtual DtEntityIdentifier findEntityIdFromUUID (const DtUUID &uuid)
 
virtual void sendInterfaceContent (const DtSimInterfaceContent &content)
 
virtual bool doesVreBackendExist () const
 
virtual void processBackendDiscovered (const DtSimulationAddress &)
 
virtual void processBackendRemoved (const DtSimulationAddress &)
 
virtual ControlSetfindControlSet (const DtEntityIdentifier &entityId)
 
virtual ControlSetaddControlSet (const DtEntityIdentifier &entityId)
 
virtual bool removeControlSet (const DtEntityIdentifier &entityId)
 
virtual void updateBackendStatus ()
 
virtual void updateSessionStatus ()
 
virtual void sendBackendStatusMessage ()
 
virtual void sendSessionStatusMessage ()
 
virtual void sendSessionPlayState ()
 
virtual void sendSessionSmsUpdate ()
 
virtual void verifyNewOwnship ()
 
virtual void sendCreateNewOwnship ()
 
virtual void sendDeleteNewOwnship ()
 

Static Protected Member Functions

static void BackendDiscovered (const DtSimulationAddress &, void *usr)
 
static void BackendRemoved (const DtSimulationAddress &, void *usr)
 

Protected Attributes

DtVrfMessageInterface * myVrfMessageInterface
 
DtReflectedExtEntityList * myReflectedEntityList
 
makVrf::DtVrlinkVrfRemoteController * myVrfRemoteController
 
DtReflectedExtEntityInfomyCachedReflectedEntityInfo
 
DtReflectedControlObjectList * myReflectedControlObjectList
 
VrfSessionStatusMessage::VrfSessionStatusData mySessionStatus
 
bool mySessionIsPlaying
 
std::set< std::string > mySessionSmsList
 
DtSimulationAddress myVreBackend
 
bool myTookSnapshot
 
double mySnapshotSimTime
 
DtSimulationAddress myBackendStartingAddress
 
BackendStatusMessage::BackendStatusData myLastBackendStatus
 
bool myBackendIsHost
 
CreateNewOwnshipMessagemyDesiredCreateEntityMessage
 
DtReflectedExtEntityInfo myCreatedEntityInfo
 
bool myWaitingForOwnshipDelete
 
bool myWaitingForOwnshipCreate
 
bool myCreatedOwnshipNeedsReposition
 
int myLaserCode
 
std::vector< ControlSet * > myControlSets
 
double myLastWindSpeed
 
double myLastWindDirection
 
unsigned int myId
 
std::pair< DtEntityIdentifier, DtVector > myWaypointTarget
 
std::set< DtSimulationAddress > mySimulationAddresses
 
- Protected Attributes inherited from makVre::DT_PROTOCOL_NAMESPACE::DtSimEventConnector
DtPlayerStationAppmyApp
 
makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection * myConnection
 
- Protected Attributes inherited from makVre::DtConnector
std::string myName
 
DtConnectorType myType
 
virtual void processRwrDataMessage (DtSimMessage *msg)
 
virtual void processRadarDataMessage (DtSimMessage *msg)
 
virtual void processRadarStateDataMessage (DtSimMessage *msg)
 
virtual void processAssignRolePlayerMessage (DtSimMessage *msg)
 
virtual void processUnassignRolePlayerMessage (DtSimMessage *msg)
 
static void rwrDataMessageCallback (DtSimMessage *msg, void *usr)
 
static void radarDataMessageCallback (DtSimMessage *msg, void *usr)
 
static void radarStateDataMessageCallback (DtSimMessage *msg, void *usr)
 
static void assignRolePlayerMessageCallback (DtSimMessage *msg, void *usr)
 
static void unassignRolePlayerMessageCallback (DtSimMessage *msg, void *usr)
 

Additional Inherited Members

- Public Types inherited from makVre::DtConnector
enum  DtConnectorType {
  DIS , HLA13 , HLA1516 , HLA1516E ,
  HLA4
}
 

Constructor & Destructor Documentation

◆ DtVrfRemoteControlConnector()

makVre::DtVrfRemoteControlConnector::DtVrfRemoteControlConnector ( )

Default constructor.

◆ ~DtVrfRemoteControlConnector()

virtual makVre::DtVrfRemoteControlConnector::~DtVrfRemoteControlConnector ( )
overridevirtual

Virtual destructor.

Member Function Documentation

◆ install()

virtual void makVre::DtVrfRemoteControlConnector::install ( DtPlayerStationApp * app,
DtCommunicationManager * communicationManager,
makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection * connection,
int vrfSessionId )
virtual

Installs the VRF remote control connector with the application and connection.

Parameters
appPointer to the player station application
communicationManagerPointer to the communication manager
connectionPointer to the protocol-specific VR-Link connection
vrfSessionIdSession ID for the VRF backend

Initializes the connector with the provided application, communication manager, and connection, registers message handlers for various message types, and sets up the VRF remote controller

◆ tick()

virtual void makVre::DtVrfRemoteControlConnector::tick ( )
overridevirtual

Performs periodic processing of backend and session status.

Updates backend and session status information, and processes any pending entity creations or deletions

Reimplemented from makVre::DT_PROTOCOL_NAMESPACE::DtSimEventConnector.

◆ shutdown()

virtual void makVre::DtVrfRemoteControlConnector::shutdown ( )
overridevirtual

Shuts down the VRF remote control connector.

Removes message handlers and cleans up resources

Reimplemented from makVre::DT_PROTOCOL_NAMESPACE::DtSimEventConnector.

◆ vrfRemoteController()

virtual makVrf::DtVrlinkVrfRemoteController * makVre::DtVrfRemoteControlConnector::vrfRemoteController ( )
virtual

Gets the VRF remote controller.

Returns
Pointer to the VRF remote controller

◆ reflectedEntityList()

virtual DtReflectedEntityList * makVre::DtVrfRemoteControlConnector::reflectedEntityList ( )
virtual

Gets the reflected entity list.

Returns
Pointer to the reflected entity list

◆ handleLocalEntityCreated()

virtual void makVre::DtVrfRemoteControlConnector::handleLocalEntityCreated ( const DtString & name,
const DtEntityIdentifier & id,
const DtUUID & uuid )
virtual

Handles the creation of a local entity.

Parameters
nameThe name of the created entity
idThe entity identifier of the created entity
uuidThe universally unique identifier of the created entity

Called when a new local entity is created in the simulation. Updates internal entity tracking information and notifies listeners.

References makVre::DtConnector::name().

◆ processResourceResponse()

virtual void makVre::DtVrfRemoteControlConnector::processResourceResponse ( const makVrfEvents::DtEvent & evt)
virtual

Processes a resource response event.

Parameters
evtThe event containing resource response data

Handles resource response events from the VR-Forces backend, which typically include information about available resources like weapons, sensors, or other entity equipment.

◆ handleSensorUpdate()

virtual void makVre::DtVrfRemoteControlConnector::handleSensorUpdate ( DtIfSensorData * sensorData)
virtual

Handles sensor update data.

Parameters
sensorDataPointer to the sensor data interface

Processes updates from entity sensors, including detection information about other entities. Updates the local representation of sensor information and forwards relevant data to subscribed components.

◆ handleActionMenuControlObjectDiscovered()

virtual void makVre::DtVrfRemoteControlConnector::handleActionMenuControlObjectDiscovered ( DtReflectedControlObject * obj)
virtual

Handles discovery of an action menu control object.

Parameters
objPointer to the discovered control object

Called when an action menu control object is discovered in the simulation. These objects define available actions that can be performed by entities and are used to populate action menus in the user interface.

◆ handleActionMenuControlObjectRemoved()

virtual void makVre::DtVrfRemoteControlConnector::handleActionMenuControlObjectRemoved ( DtReflectedControlObject * obj)
virtual

Handles removal of an action menu control object.

Parameters
objPointer to the removed control object

Called when an action menu control object is removed from the simulation. Updates the UI to remove any corresponding action menu entries.

◆ handleEntityRemoved()

virtual void makVre::DtVrfRemoteControlConnector::handleEntityRemoved ( const DtReflectedExtEntity * entity)
virtual

Handles removal of an entity from the simulation.

Parameters
entityPointer to the removed entity

Called when an entity is removed from the simulation. Updates internal entity tracking information and notifies listeners of the removal.

◆ handleEntityAdded()

virtual void makVre::DtVrfRemoteControlConnector::handleEntityAdded ( const DtReflectedExtEntity * entity)
virtual

Handles addition of an entity to the simulation.

Parameters
entityPointer to the added entity

Called when a new entity is added to the simulation. Updates internal entity tracking information and notifies listeners of the addition.

◆ processChatEvent()

virtual void makVre::DtVrfRemoteControlConnector::processChatEvent ( const makVrfEvents::DtEvent & evt)
virtual

Chat message handling methods.

Processes a chat event from VR-Forces

Parameters
evtThe event containing the chat message data

Processes chat events from the VR-Forces backend and forwards them to the appropriate chat interface components.

◆ handleChatEvent()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleChatEvent ( DtVreMessage * message)
virtual

Handles a chat message from VR-Engage.

Parameters
messageThe chat message to process
Returns
Message result indicating how the message was handled

Processes chat messages from VR-Engage components and forwards them to the VR-Forces backend for distribution.

◆ handleVrfSessionStatusRequest()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleVrfSessionStatusRequest ( DtVreMessage * message)
virtual

Session status and configuration message handlers.

Handles a request for VRF session status

Parameters
messageThe session status request message
Returns
Message result indicating how the message was handled

Processes requests for the current session status and sends a response containing the session status information.

◆ handleSessionSmsListRequest()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSessionSmsListRequest ( DtVreMessage * message)
virtual

Handles a request for the session simulation model set list.

Parameters
messageThe SMS list request message
Returns
Message result indicating how the message was handled

Processes requests for the list of simulation model sets (SMS) in the current session and sends a response with the SMS list.

◆ handleSessionPlayStateRequest()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSessionPlayStateRequest ( DtVreMessage * message)
virtual

Handles a request for the session play state.

Parameters
messageThe play state request message
Returns
Message result indicating how the message was handled

Processes requests for the current play state (running, paused, etc.) of the session and sends a response with the play state information.

◆ handleSetDefaultSmsList()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetDefaultSmsList ( DtVreMessage * message)
virtual

Handles a request to set the default SMS list.

Parameters
messageThe set default SMS list message
Returns
Message result indicating how the message was handled

Processes requests to set the default list of simulation model sets (SMS) for the current session or for new sessions.

◆ handleSetBackendConfig()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetBackendConfig ( DtVreMessage * message)
virtual

Backend management message handlers.

Handles a request to set backend configuration

Parameters
messageThe set backend configuration message
Returns
Message result indicating how the message was handled

Processes requests to configure the VR-Forces backend, including settings for network communication, simulation parameters, and other backend-specific options.

◆ handleStartBackend()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleStartBackend ( DtVreMessage * message)
virtual

Handles a request to start the backend.

Parameters
messageThe start backend message
Returns
Message result indicating how the message was handled

Processes requests to start the VR-Forces backend process. This typically launches the backend executable and establishes a connection to it.

◆ handleStopBackend()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleStopBackend ( DtVreMessage * message)
virtual

Handles a request to stop the backend.

Parameters
messageThe stop backend message
Returns
Message result indicating how the message was handled

Processes requests to stop the VR-Forces backend process. This typically terminates the backend executable and releases any associated resources.

◆ handleRequestBackendStatus()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleRequestBackendStatus ( DtVreMessage * message)
virtual

Handles a request for backend status.

Parameters
messageThe backend status request message
Returns
Message result indicating how the message was handled

Processes requests for the current status of the VR-Forces backend and sends a response with the status information.

◆ handleLoadBackend()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleLoadBackend ( DtVreMessage * message)
virtual

Handles a request to load a scenario into the backend.

Parameters
messageThe load backend message
Returns
Message result indicating how the message was handled

Processes requests to load a specific scenario file into the VR-Forces backend, which initializes the simulation environment with predefined entities, settings, and initial conditions.

◆ handleVrfRun()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleVrfRun ( DtVreMessage * message)
virtual

Simulation control message handlers.

Handles a request to run the simulation

Parameters
messageThe run simulation message
Returns
Message result indicating how the message was handled

Processes requests to start or resume the simulation, which begins or continues the advancement of simulation time and entity dynamics.

◆ handleVrfPause()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleVrfPause ( DtVreMessage * message)
virtual

Handles a request to pause the simulation.

Parameters
messageThe pause simulation message
Returns
Message result indicating how the message was handled

Processes requests to pause the simulation, which freezes the advancement of simulation time and entity dynamics while maintaining the current state.

◆ handleVrfRewind()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleVrfRewind ( DtVreMessage * message)
virtual

Handles a request to rewind the simulation.

Parameters
messageThe rewind simulation message
Returns
Message result indicating how the message was handled

Processes requests to rewind the simulation to its initial state, resetting all entities and simulation time to their starting conditions.

◆ handleCreateNewOwnship()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleCreateNewOwnship ( DtVreMessage * message)
virtual

Entity control message handlers.

Handles a request to create a new ownship entity

Parameters
messageThe create new ownship message
Returns
Message result indicating how the message was handled

Processes requests to create a new entity in the simulation that will be directly controlled by the user. This typically creates the entity with specific attributes and assigns control of it to the requesting player station.

◆ handleDestroyNewOwnship()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleDestroyNewOwnship ( DtVreMessage * message)
virtual

Handles a request to destroy an ownship entity.

Parameters
messageThe destroy ownship message
Returns
Message result indicating how the message was handled

Processes requests to remove a user-controlled entity from the simulation. This releases control of the entity and removes it from the simulation.

◆ handleVrfTakeControlOf()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleVrfTakeControlOf ( DtVreMessage * message)
virtual

Handles a request to take control of an existing entity.

Parameters
messageThe take control message
Returns
Message result indicating how the message was handled

Processes requests to take control of an existing entity in the simulation. This assigns control of the specified entity to the requesting player station.

◆ handleVrfReleaseControlOf()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleVrfReleaseControlOf ( DtVreMessage * message)
virtual

Handles a request to release control of an entity.

Parameters
messageThe release control message
Returns
Message result indicating how the message was handled

Processes requests to release control of an entity. This removes the player station's control over the entity but leaves the entity in the simulation.

◆ handleJoystick()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleJoystick ( DtVreMessage * msg)
virtual

Entity manipulation message handlers.

Handles joystick input for entity control

Parameters
msgThe joystick input message
Returns
Message result indicating how the message was handled

Processes joystick input messages and applies the corresponding movement and control commands to the controlled entity.

◆ handleResetPlayer()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleResetPlayer ( DtVreMessage * msg)
virtual

Handles a request to reset a player entity.

Parameters
msgThe reset player message
Returns
Message result indicating how the message was handled

Processes requests to reset a player entity to its initial state, typically restoring its position, orientation, and other attributes.

◆ handleSetLocation()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetLocation ( DtVreMessage * msg)
virtual

Handles a request to set an entity's location.

Parameters
msgThe set location message
Returns
Message result indicating how the message was handled

Processes requests to set the position of an entity in the simulation.

◆ handleSetHeading()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetHeading ( DtVreMessage * msg)
virtual

Handles a request to set an entity's heading.

Parameters
msgThe set heading message
Returns
Message result indicating how the message was handled

Processes requests to set the heading (yaw) of an entity in the simulation.

◆ handleSetPitch()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetPitch ( DtVreMessage * msg)
virtual

Handles a request to set an entity's pitch.

Parameters
msgThe set pitch message
Returns
Message result indicating how the message was handled

Processes requests to set the pitch of an entity in the simulation.

◆ handleSetRoll()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetRoll ( DtVreMessage * msg)
virtual

Handles a request to set an entity's roll.

Parameters
msgThe set roll message
Returns
Message result indicating how the message was handled

Processes requests to set the roll of an entity in the simulation.

◆ handleSetAltitude()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetAltitude ( DtVreMessage * msg)
virtual

Handles a request to set an entity's altitude.

Parameters
msgThe set altitude message
Returns
Message result indicating how the message was handled

Processes requests to set the altitude of an entity in the simulation.

◆ handleEmbarkMessage()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleEmbarkMessage ( DtVreMessage * msg)
virtual

Handles an embark/disembark message.

Parameters
msgThe embark message
Returns
Message result indicating how the message was handled

Processes requests for an entity to embark into or disembark from another entity. This typically involves human entities entering or exiting vehicles.

◆ handleSetAppearanceMessage()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetAppearanceMessage ( DtVreMessage * msg)
virtual

Handles a request to set an entity's appearance.

Parameters
msgThe set appearance message
Returns
Message result indicating how the message was handled

Processes requests to change the visual appearance of an entity, such as its model, markings, or other visual attributes.

◆ handleRenameMessage()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleRenameMessage ( DtVreMessage * msg)
virtual

Handles a request to rename an entity.

Parameters
msgThe rename message
Returns
Message result indicating how the message was handled

Processes requests to change the name or marking text of an entity in the simulation.

◆ handleRequestSimulationStateMessage()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleRequestSimulationStateMessage ( DtVreMessage * msg)
virtual

Simulation state and task message handlers.

Handles requests for simulation state information

Parameters
msgThe request simulation state message
Returns
Message result indicating how the message was handled

Processes requests for the current state of the simulation and sends a response with comprehensive simulation state information.

◆ handleVrfTaskMessages()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleVrfTaskMessages ( DtVreMessage * msg)
virtual

Handles task-related messages.

Parameters
msgThe VRF task message
Returns
Message result indicating how the message was handled

Processes messages related to entity tasks, including task assignment, modification, and cancellation. These tasks define the behaviors and objectives for entities in the simulation.

◆ handleVrfSetDataRequests()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleVrfSetDataRequests ( DtVreMessage * msg)
virtual

Handles data request messages.

Parameters
msgThe set data requests message
Returns
Message result indicating how the message was handled

Processes messages that configure what data should be regularly sent from the VR-Forces backend to the VR-Engage client, such as entity updates, sensor data, or other simulation information.

◆ handleVrfSensorMessages()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleVrfSensorMessages ( DtVreMessage * msg)
virtual

Handles sensor-related messages.

Parameters
msgThe VRF sensor message
Returns
Message result indicating how the message was handled

Processes messages related to entity sensors, including sensor activation, configuration, and mode changes. These control how entities detect and track other entities in the simulation.

◆ handleSetLaserCode()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetLaserCode ( DtVreMessage * msg)
virtual

Handles requests to set a laser code.

Parameters
msgThe set laser code message
Returns
Message result indicating how the message was handled

Processes messages to set a laser designation code for a weapon system, which is used to guide laser-guided munitions to their targets.

◆ handleScriptedSet()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleScriptedSet ( DtVreMessage * msg)
virtual

Handles scripted set messages.

Parameters
msgThe scripted set message
Returns
Message result indicating how the message was handled

Processes messages that contain sets of scripted commands or parameters to be applied to entities or the simulation environment.

◆ handleSetRulesOfEngagement()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetRulesOfEngagement ( DtVreMessage * msg)
virtual

Entity action and equipment message handlers.

Handles requests to set rules of engagement

Parameters
msgThe set rules of engagement message
Returns
Message result indicating how the message was handled

Processes messages to configure an entity's rules of engagement, which define when and how it can engage targets or respond to threats.

◆ handleTriggerEvent()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleTriggerEvent ( DtVreMessage * msg)
virtual

Handles requests to trigger a simulation event.

Parameters
msgThe trigger event message
Returns
Message result indicating how the message was handled

Processes messages to trigger specific events in the simulation, such as scripted actions, effects, or environmental changes.

◆ handleSetLightState()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetLightState ( DtVreMessage * msg)
virtual

Handles requests to set an entity's light state.

Parameters
msgThe set light state message
Returns
Message result indicating how the message was handled

Processes messages to control an entity's lights, such as headlights, running lights, or interior lighting.

◆ handleSetHandItem()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetHandItem ( DtVreMessage * msg)
virtual

Handles requests to set a human entity's hand item.

Parameters
msgThe set hand item message
Returns
Message result indicating how the message was handled

Processes messages to change what item a human entity is holding, such as a weapon, tool, or other equipment.

◆ handleTrackLaserCode()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleTrackLaserCode ( DtVreMessage * msg)
virtual

Handles requests to track a specific laser code.

Parameters
msgThe track laser code message
Returns
Message result indicating how the message was handled

Processes messages to configure a weapon system to track a specific laser designation code, typically used for guiding laser-guided munitions.

◆ handleRwrSubscription()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleRwrSubscription ( DtVreMessage * msg)
virtual

Subscription management message handlers.

Handles requests to subscribe to radar warning receiver data

Parameters
msgThe RWR subscription message
Returns
Message result indicating how the message was handled

Processes requests to subscribe to radar warning receiver (RWR) data, which provides information about radar emissions detected by an entity.

◆ handleRwrUnsubscription()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleRwrUnsubscription ( DtVreMessage * msg)
virtual

Handles requests to unsubscribe from radar warning receiver data.

Parameters
msgThe RWR unsubscription message
Returns
Message result indicating how the message was handled

Processes requests to stop receiving radar warning receiver (RWR) data.

◆ handleSensorSubscription()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSensorSubscription ( DtVreMessage * msg)
virtual

Handles requests to subscribe to sensor data.

Parameters
msgThe sensor subscription message
Returns
Message result indicating how the message was handled

Processes requests to subscribe to entity sensor data, which includes information about detections and tracks from the entity's sensors.

◆ handleSensorUnsubscription()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSensorUnsubscription ( DtVreMessage * msg)
virtual

Handles requests to unsubscribe from sensor data.

Parameters
msgThe sensor unsubscription message
Returns
Message result indicating how the message was handled

Processes requests to stop receiving entity sensor data.

◆ handleRadarStateSubscription()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleRadarStateSubscription ( DtVreMessage * msg)
virtual

Handles requests to subscribe to radar state data.

Parameters
msgThe radar state subscription message
Returns
Message result indicating how the message was handled

Processes requests to subscribe to radar state data, which includes information about the operating parameters and mode of an entity's radar.

◆ handleRadarStateUnsubscription()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleRadarStateUnsubscription ( DtVreMessage * msg)
virtual

Handles requests to unsubscribe from radar state data.

Parameters
msgThe radar state unsubscription message
Returns
Message result indicating how the message was handled

Processes requests to stop receiving radar state data.

◆ handleDesignatedTargetsUpdate()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleDesignatedTargetsUpdate ( DtVreMessage * msg)
virtual

Targeting and weapon system message handlers.

Handles updates to designated targets

Parameters
msgThe designated targets update message
Returns
Message result indicating how the message was handled

Processes messages that update the list of designated targets for an entity's weapon systems or sensors.

◆ handleSetModeAndSubmode()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetModeAndSubmode ( DtVreMessage * msg)
virtual

Handles requests to set an entity's mode and submode.

Parameters
msgThe set mode and submode message
Returns
Message result indicating how the message was handled

Processes messages to change an entity's operating mode and submode, which affect its behavior, capabilities, and available actions.

◆ handleSetGimbalTrackLocation()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetGimbalTrackLocation ( DtVreMessage * msg)
virtual

Gimbal and sensor control message handlers.

Handles requests to track a location with a gimbal system

Parameters
msgThe set gimbal track location message
Returns
Message result indicating how the message was handled

Processes messages to direct a gimbal-mounted sensor or weapon to track a specific geographic location.

◆ handleSetGimbalTrackObject()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetGimbalTrackObject ( DtVreMessage * msg)
virtual

Handles requests to track an object with a gimbal system.

Parameters
msgThe set gimbal track object message
Returns
Message result indicating how the message was handled

Processes messages to direct a gimbal-mounted sensor or weapon to track a specific entity or object in the simulation.

◆ handleSetGimbalTrackMode()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetGimbalTrackMode ( DtVreMessage * msg)
virtual

Handles requests to set the tracking mode of a gimbal system.

Parameters
msgThe set gimbal track mode message
Returns
Message result indicating how the message was handled

Processes messages to change the tracking mode of a gimbal-mounted sensor or weapon, such as manual, auto-track, or scan modes.

◆ handleSetAntennaSweep()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetAntennaSweep ( DtVreMessage * msg)
virtual

Handles requests to set the sweep pattern of an antenna.

Parameters
msgThe set antenna sweep message
Returns
Message result indicating how the message was handled

Processes messages to configure the sweep pattern of a radar or other scanning antenna, including parameters like azimuth, elevation, and scan rate.

◆ handleWindRequest()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleWindRequest ( DtVreMessage * msg)
virtual

Environmental request handlers.

Handles requests for wind information

Parameters
msgThe wind request message
Returns
Message result indicating how the message was handled

Processes requests for current wind speed and direction information from the simulation environment.

◆ handleSetStateProperties()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleSetStateProperties ( DtVreMessage * msg)
virtual

Environmental request handlers.

Handles requests for wind information

Parameters
msgThe wind request message
Returns
Message result indicating how the message was handled

Processes requests for current wind speed and direction information from the simulation environment.

◆ processEnvProcessDiscoveryCriteria()

virtual bool makVre::DtVrfRemoteControlConnector::processEnvProcessDiscoveryCriteria ( DtReflectedEnvironmentProcess * envProcess)
virtual

Processes environment process discovery criteria.

Parameters
envProcessPointer to the environment process to evaluate
Returns
True if the process meets the discovery criteria, false otherwise

Evaluates whether an environment process (such as weather effects) should be discovered and made available to the client. This allows filtering of environment processes based on application-specific criteria.

◆ handleVreStatus()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleVreStatus ( DtVreMessage * message)
virtual

Status and query message handlers.

Handles VR-Engage status messages

Parameters
messageThe VRE status message
Returns
Message result indicating how the message was handled

Processes status messages from VR-Engage clients, which typically include information about the client's state, active entities, and other operational parameters.

◆ handleRequestEntitiesByType()

virtual DtVreMessageResult makVre::DtVrfRemoteControlConnector::handleRequestEntitiesByType ( DtVreMessage * msg)
virtual

Handles requests for entities by type.

Parameters
msgThe request entities by type message
Returns
Message result indicating how the message was handled

Processes requests to retrieve a list of entities of a specific type from the simulation. Returns information about matching entities to the requesting client.

◆ rwrDataMessageCallback()

static void makVre::DtVrfRemoteControlConnector::rwrDataMessageCallback ( DtSimMessage * msg,
void * usr )
static

Message callback methods.

Static callback for radar warning receiver data messages

Parameters
msgPointer to the simulation message containing RWR data
usrPointer to user data (typically the connector instance)

Static callback function registered with the messaging system to receive radar warning receiver data messages. Forwards the message to the appropriate instance method for processing.

◆ processRwrDataMessage()

virtual void makVre::DtVrfRemoteControlConnector::processRwrDataMessage ( DtSimMessage * msg)
virtual

Processes radar warning receiver data messages.

Parameters
msgPointer to the simulation message containing RWR data

Processes radar warning receiver data messages from the VR-Forces backend and forwards the information to subscribed clients.

◆ radarDataMessageCallback()

static void makVre::DtVrfRemoteControlConnector::radarDataMessageCallback ( DtSimMessage * msg,
void * usr )
static

Commented-out sensor data callback methods.

These methods are commented out but kept for reference in future implementations for handling VR-Forces sensor contact messages.

Static callback for radar data messages

Parameters
msgPointer to the simulation message containing radar data
usrPointer to user data (typically the connector instance)

Static callback function registered with the messaging system to receive extended Player Station radar contact messages. Forwards the message to the appropriate instance method for processing.

◆ processRadarDataMessage()

virtual void makVre::DtVrfRemoteControlConnector::processRadarDataMessage ( DtSimMessage * msg)
virtual

Processes radar data messages.

Parameters
msgPointer to the simulation message containing radar data

Processes radar data messages from the VR-Forces backend, which include information about radar contacts, and forwards the information to subscribed clients.

◆ radarStateDataMessageCallback()

static void makVre::DtVrfRemoteControlConnector::radarStateDataMessageCallback ( DtSimMessage * msg,
void * usr )
static

Static callback for radar state data messages.

Parameters
msgPointer to the simulation message containing radar state data
usrPointer to user data (typically the connector instance)

Static callback function registered with the messaging system to receive radar state messages. Forwards the message to the appropriate instance method for processing.

◆ processRadarStateDataMessage()

virtual void makVre::DtVrfRemoteControlConnector::processRadarStateDataMessage ( DtSimMessage * msg)
virtual

Processes radar state data messages.

Parameters
msgPointer to the simulation message containing radar state data

Processes radar state messages from the VR-Forces backend, which include information about radar operating parameters and modes, and forwards the information to subscribed clients.

◆ assignRolePlayerMessageCallback()

static void makVre::DtVrfRemoteControlConnector::assignRolePlayerMessageCallback ( DtSimMessage * msg,
void * usr )
static

Static callback for assign role player messages.

Parameters
msgPointer to the simulation message containing role assignment data
usrPointer to user data (typically the connector instance)

Static callback function registered with the messaging system to receive role player assignment messages. Forwards the message to the appropriate instance method for processing.

◆ processAssignRolePlayerMessage()

virtual void makVre::DtVrfRemoteControlConnector::processAssignRolePlayerMessage ( DtSimMessage * msg)
virtual

Processes assign role player messages.

Parameters
msgPointer to the simulation message containing role assignment data

Processes messages that assign a role to a player in the simulation, which typically grants control of an entity to a specific player station.

◆ unassignRolePlayerMessageCallback()

static void makVre::DtVrfRemoteControlConnector::unassignRolePlayerMessageCallback ( DtSimMessage * msg,
void * usr )
static

Static callback for unassign role player messages.

Parameters
msgPointer to the simulation message containing role unassignment data
usrPointer to user data (typically the connector instance)

Static callback function registered with the messaging system to receive role player unassignment messages. Forwards the message to the appropriate instance method for processing.

◆ processUnassignRolePlayerMessage()

virtual void makVre::DtVrfRemoteControlConnector::processUnassignRolePlayerMessage ( DtSimMessage * msg)
virtual

Processes unassign role player messages.

Parameters
msgPointer to the simulation message containing role unassignment data

Processes messages that remove a role assignment from a player in the simulation, which typically revokes control of an entity from a specific player station.

◆ vreStatusMessageCallback()

static void makVre::DtVrfRemoteControlConnector::vreStatusMessageCallback ( DtSimMessage * msg,
void * usr )
static

Static callback for VRE status messages.

Parameters
msgPointer to the simulation message containing VRE status data
usrPointer to user data (typically the connector instance)

Static callback function registered with the messaging system to receive VR-Engage status messages. Forwards the message to the appropriate instance method for processing.

◆ processVreStatusMessage()

virtual void makVre::DtVrfRemoteControlConnector::processVreStatusMessage ( DtSimMessage * msg)
virtual

Processes VRE status messages.

Parameters
msgPointer to the simulation message containing VRE status data

Processes VR-Engage status messages, which include information about the state of VR-Engage clients and their controlled entities.

◆ textReportCallback()

static void makVre::DtVrfRemoteControlConnector::textReportCallback ( const DtVrfObjectMessage * msg,
void * usr )
static

Static callback for text report messages.

Parameters
msgPointer to the VRF object message containing text report data
usrPointer to user data (typically the connector instance)

Static callback function registered with the messaging system to receive text report messages. Forwards the message to the appropriate instance method for processing.

◆ processTextReport()

virtual void makVre::DtVrfRemoteControlConnector::processTextReport ( const DtVrfObjectMessage * msg)
virtual

Processes text report messages.

Parameters
msgPointer to the VRF object message containing text report data

Processes text report messages from the VR-Forces backend, which typically contain status reports or notifications about simulation events.

◆ vreTdlTrackListCallback()

static void makVre::DtVrfRemoteControlConnector::vreTdlTrackListCallback ( DtSimMessage * msg,
void * usr )
static

Static callback for tactical data link track list messages.

Parameters
msgPointer to the simulation message containing TDL track list data
usrPointer to user data (typically the connector instance)

Static callback function registered with the messaging system to receive tactical data link track list messages. Forwards the message to the appropriate instance method for processing.

◆ processVreTdlTrackList()

virtual void makVre::DtVrfRemoteControlConnector::processVreTdlTrackList ( DtSimMessage * msg)
virtual

Processes tactical data link track list messages.

Parameters
msgPointer to the simulation message containing TDL track list data

Processes tactical data link track list messages, which contain information about tracks shared over tactical data links such as Link 16.

◆ vreTdlEngagementStatusCallback()

static void makVre::DtVrfRemoteControlConnector::vreTdlEngagementStatusCallback ( DtSimMessage * msg,
void * usr )
static

Static callback for tactical data link engagement status messages.

Parameters
msgPointer to the simulation message containing TDL engagement status data
usrPointer to user data (typically the connector instance)

Static callback function registered with the messaging system to receive tactical data link engagement status messages. Forwards the message to the appropriate instance method for processing.

◆ processVreTdlEngagementStatus()

virtual void makVre::DtVrfRemoteControlConnector::processVreTdlEngagementStatus ( DtSimMessage * msg)
virtual

Processes tactical data link engagement status messages.

Parameters
msgPointer to the simulation message containing TDL engagement status data

Processes tactical data link engagement status messages, which contain information about weapon engagements shared over tactical data links.

◆ ifLoadCompleteMessageCallback()

static void makVre::DtVrfRemoteControlConnector::ifLoadCompleteMessageCallback ( DtSimMessage * msg,
void * usr )
static

Static callback for interface load complete messages.

Parameters
msgPointer to the simulation message containing load complete data
usrPointer to user data (typically the connector instance)

Static callback function registered with the messaging system to receive interface load complete messages. Forwards the message to the appropriate instance method for processing.

◆ processLoadCompleteMessage()

virtual void makVre::DtVrfRemoteControlConnector::processLoadCompleteMessage ( DtSimMessage * msg)
virtual

Processes interface load complete messages.

Parameters
msgPointer to the simulation message containing load complete data

Processes messages indicating that a scenario has finished loading in the VR-Forces backend. This typically triggers follow-up actions such as verifying entity creation requests.

◆ backendRemapper()

static bool makVre::DtVrfRemoteControlConnector::backendRemapper ( DtBackendMap * map,
const std::set< DtSimulationAddress > & expectedBackends,
void * usr )
static

Static backend remapping callback.

Parameters
mapPointer to the backend map to update
expectedBackendsSet of expected backend simulation addresses
usrPointer to user data (typically the connector instance)
Returns
True if remapping was successful, false otherwise

Static callback function used to remap backend addresses in the simulation. This is typically used when backend addresses change or when redirecting communication to different backends.

◆ remapBackends()

virtual bool makVre::DtVrfRemoteControlConnector::remapBackends ( DtBackendMap * map,
const std::set< DtSimulationAddress > & expectedBackends )
protectedvirtual

Remaps backend addresses for redirection.

Parameters
mapPointer to the backend map to update
expectedBackendsSet of expected backend simulation addresses
Returns
True if remapping was successful, false otherwise

Updates the backend map to redirect communication to appropriate backend addresses. This is typically called when backend addresses change or when network topology is reconfigured.

◆ lookupReflectedEntityInfo()

virtual DtReflectedExtEntityInfo * makVre::DtVrfRemoteControlConnector::lookupReflectedEntityInfo ( const DtEntityIdentifier & entityId)
protectedvirtual

Looks up reflected entity information by entity identifier.

Parameters
entityIdThe entity identifier to search for
Returns
Pointer to the reflected entity info, or NULL if not found

Searches for and returns information about a reflected entity with the specified entity identifier. This provides access to essential entity information such as type, UUID, and marking text.

◆ lookupUUID()

virtual DtUUID makVre::DtVrfRemoteControlConnector::lookupUUID ( const DtEntityIdentifier & entityId)
protectedvirtual

Looks up a UUID by entity identifier.

Parameters
entityIdThe entity identifier to search for
Returns
The UUID associated with the entity, or a null UUID if not found

Retrieves the universally unique identifier (UUID) associated with the specified entity identifier. This is used to uniquely identify entities across distributed simulations.

◆ findUUID()

virtual DtUUID makVre::DtVrfRemoteControlConnector::findUUID ( DtReflectedExtEntity * reflectedEntity)
protectedvirtual

Finds a UUID for a reflected entity.

Parameters
reflectedEntityPointer to the reflected entity
Returns
The UUID associated with the entity, or a null UUID if not found

Retrieves the universally unique identifier (UUID) associated with the specified reflected entity object. This is used when only the entity object is available, not its identifier.

Note
Currently no easy accessor for this. TODO fix lookup for non-VRF simulated entities.

◆ findEntityIdFromUUID()

virtual DtEntityIdentifier makVre::DtVrfRemoteControlConnector::findEntityIdFromUUID ( const DtUUID & uuid)
protectedvirtual

Finds an entity identifier from a UUID.

Parameters
uuidThe UUID to search for
Returns
The entity identifier associated with the UUID, or a null identifier if not found

Performs the reverse lookup of lookupUUID, finding the entity identifier associated with a given universally unique identifier.

◆ sendInterfaceContent()

virtual void makVre::DtVrfRemoteControlConnector::sendInterfaceContent ( const DtSimInterfaceContent & content)
protectedvirtual

Sends interface content to the VR-Forces backend.

Parameters
contentThe interface content to send

Transmits interface content to the VR-Forces backend, which may include commands, queries, or data updates. This is a low-level method typically called by higher-level message handling methods.

◆ findControlSet()

virtual ControlSet * makVre::DtVrfRemoteControlConnector::findControlSet ( const DtEntityIdentifier & entityId)
protectedvirtual

Control set management methods.

Finds a control set for a specific entity

Parameters
entityIdThe entity identifier to search for
Returns
Pointer to the found control set, or NULL if not found

Searches for and returns the control set associated with the specified entity. A control set defines what capabilities are available for controlling the entity.

◆ addControlSet()

virtual ControlSet * makVre::DtVrfRemoteControlConnector::addControlSet ( const DtEntityIdentifier & entityId)
protectedvirtual

Adds a new control set for an entity.

Parameters
entityIdThe entity identifier to create a control set for
Returns
Pointer to the newly created control set

Creates and returns a new control set for the specified entity. This is typically called when an entity becomes available for control.

◆ removeControlSet()

virtual bool makVre::DtVrfRemoteControlConnector::removeControlSet ( const DtEntityIdentifier & entityId)
protectedvirtual

Removes a control set for an entity.

Parameters
entityIdThe entity identifier to remove the control set for
Returns
True if the control set was found and removed, false otherwise

Removes the control set associated with the specified entity. This is typically called when an entity is no longer available for control.

◆ updateBackendStatus()

virtual void makVre::DtVrfRemoteControlConnector::updateBackendStatus ( )
protectedvirtual

Status update methods.

Updates the internal backend status information

Retrieves and updates the current status of the VR-Forces backend, including connection state, load state, and operational parameters.

◆ updateSessionStatus()

virtual void makVre::DtVrfRemoteControlConnector::updateSessionStatus ( )
protectedvirtual

Updates the internal session status information.

Retrieves and updates the current status of the simulation session, including play state, time, and active entities.

◆ sendBackendStatusMessage()

virtual void makVre::DtVrfRemoteControlConnector::sendBackendStatusMessage ( )
protectedvirtual

Sends a message with current backend status.

Creates and sends a message containing the current backend status information to subscribed components.

◆ sendSessionStatusMessage()

virtual void makVre::DtVrfRemoteControlConnector::sendSessionStatusMessage ( )
protectedvirtual

Sends a message with current session status.

Creates and sends a message containing the current session status information to subscribed components.

◆ sendSessionPlayState()

virtual void makVre::DtVrfRemoteControlConnector::sendSessionPlayState ( )
protectedvirtual

Sends a message with the current session play state.

Creates and sends a message containing the current session play state (running, paused, or stopped) to subscribed components.

◆ sendSessionSmsUpdate()

virtual void makVre::DtVrfRemoteControlConnector::sendSessionSmsUpdate ( )
protectedvirtual

Sends a message with the current session SMS list.

Creates and sends a message containing the current list of simulation model sets (SMS) in the session to subscribed components.

◆ verifyNewOwnship()

virtual void makVre::DtVrfRemoteControlConnector::verifyNewOwnship ( )
protectedvirtual

Entity creation and management methods.

Verifies that a new ownship entity was created successfully

Checks whether a previously requested ownship entity creation was successful. If the entity exists, it clears any pending creation flags. If the entity does not exist but should, it may trigger a new creation request.

◆ sendCreateNewOwnship()

virtual void makVre::DtVrfRemoteControlConnector::sendCreateNewOwnship ( )
protectedvirtual

Sends a request to create a new ownship entity.

Creates and sends a message requesting the creation of a new ownship entity in the simulation based on previously stored creation parameters.

◆ sendDeleteNewOwnship()

virtual void makVre::DtVrfRemoteControlConnector::sendDeleteNewOwnship ( )
protectedvirtual

Sends a request to delete an ownship entity.

Creates and sends a message requesting the deletion of a previously created ownship entity from the simulation.

◆ doesVreBackendExist()

virtual bool makVre::DtVrfRemoteControlConnector::doesVreBackendExist ( ) const
protectedvirtual

Checks if the VR-Engage backend exists.

Returns
True if the VRE backend exists, false otherwise

Determines whether a VR-Engage backend is present in the simulation by checking for its simulation address.

◆ BackendDiscovered()

static void makVre::DtVrfRemoteControlConnector::BackendDiscovered ( const DtSimulationAddress & ,
void * usr )
staticprotected

Calls virtual method of similar name when backend is discovered.

Returns
None

◆ processBackendDiscovered()

virtual void makVre::DtVrfRemoteControlConnector::processBackendDiscovered ( const DtSimulationAddress & )
protectedvirtual

Adds to internal simulation addresses, and, if the backend we want to launch is using an already discovered address, change it.

Returns
None

◆ BackendRemoved()

static void makVre::DtVrfRemoteControlConnector::BackendRemoved ( const DtSimulationAddress & ,
void * usr )
staticprotected

Calls virtual method of similar name when backend is removed.

Returns
None

◆ processBackendRemoved()

virtual void makVre::DtVrfRemoteControlConnector::processBackendRemoved ( const DtSimulationAddress & )
protectedvirtual

Removes from internal simulation addresses.

Returns
None

Member Data Documentation

◆ myVrfMessageInterface

DtVrfMessageInterface* makVre::DtVrfRemoteControlConnector::myVrfMessageInterface
protected

Pointer to the VRF message interface.

◆ myReflectedEntityList

DtReflectedExtEntityList* makVre::DtVrfRemoteControlConnector::myReflectedEntityList
protected

Pointer to the reflected extended entity list.

◆ myVrfRemoteController

makVrf::DtVrlinkVrfRemoteController* makVre::DtVrfRemoteControlConnector::myVrfRemoteController
protected

Pointer to the VRF remote controller.

◆ myCachedReflectedEntityInfo

DtReflectedExtEntityInfo* makVre::DtVrfRemoteControlConnector::myCachedReflectedEntityInfo
protected

Cached information about the last reflected entity lookup.

◆ myReflectedControlObjectList

DtReflectedControlObjectList* makVre::DtVrfRemoteControlConnector::myReflectedControlObjectList
protected

Pointer to the reflected control object list.

◆ mySessionStatus

VrfSessionStatusMessage::VrfSessionStatusData makVre::DtVrfRemoteControlConnector::mySessionStatus
protected

Current session status data.

◆ mySessionIsPlaying

bool makVre::DtVrfRemoteControlConnector::mySessionIsPlaying
protected

Flag indicating whether the session is playing.

◆ mySessionSmsList

std::set<std::string> makVre::DtVrfRemoteControlConnector::mySessionSmsList
protected

Set of simulation model sets in the current session.

◆ myVreBackend

DtSimulationAddress makVre::DtVrfRemoteControlConnector::myVreBackend
protected

Simulation address of the VRE backend.

◆ myTookSnapshot

bool makVre::DtVrfRemoteControlConnector::myTookSnapshot
protected

◆ mySnapshotSimTime

double makVre::DtVrfRemoteControlConnector::mySnapshotSimTime
protected

◆ myBackendStartingAddress

DtSimulationAddress makVre::DtVrfRemoteControlConnector::myBackendStartingAddress
protected

Initial simulation address used when starting the backend.

◆ myLastBackendStatus

BackendStatusMessage::BackendStatusData makVre::DtVrfRemoteControlConnector::myLastBackendStatus
protected

Last known backend status data.

◆ myBackendIsHost

bool makVre::DtVrfRemoteControlConnector::myBackendIsHost
protected

Flag indicating whether this backend is the hosting backend.

◆ myDesiredCreateEntityMessage

CreateNewOwnshipMessage* makVre::DtVrfRemoteControlConnector::myDesiredCreateEntityMessage
protected

Message describing a new ownship entity to create.

◆ myCreatedEntityInfo

DtReflectedExtEntityInfo makVre::DtVrfRemoteControlConnector::myCreatedEntityInfo
protected

Information about the created entity.

◆ myWaitingForOwnshipDelete

bool makVre::DtVrfRemoteControlConnector::myWaitingForOwnshipDelete
protected

Flag indicating whether we're waiting for an ownship to be deleted.

◆ myWaitingForOwnshipCreate

bool makVre::DtVrfRemoteControlConnector::myWaitingForOwnshipCreate
protected

Flag indicating whether we're waiting for a new ownship to be created.

◆ myCreatedOwnshipNeedsReposition

bool makVre::DtVrfRemoteControlConnector::myCreatedOwnshipNeedsReposition
protected

Flag indicating whether a newly created ownship needs repositioning.

◆ myLaserCode

int makVre::DtVrfRemoteControlConnector::myLaserCode
protected

Current laser code for laser designation.

◆ myControlSets

std::vector<ControlSet*> makVre::DtVrfRemoteControlConnector::myControlSets
protected

Vector of control sets for managed entities.

◆ myLastWindSpeed

double makVre::DtVrfRemoteControlConnector::myLastWindSpeed
protected

Last recorded wind speed.

◆ myLastWindDirection

double makVre::DtVrfRemoteControlConnector::myLastWindDirection
protected

Last recorded wind direction.

◆ myId

unsigned int makVre::DtVrfRemoteControlConnector::myId
protected

Unique identifier for this connector instance.

◆ myWaypointTarget

std::pair<DtEntityIdentifier, DtVector> makVre::DtVrfRemoteControlConnector::myWaypointTarget
protected

Cached waypoint target information.

Stores entity ID and position for waypoint targets which may not be displayed, so their position will need to be updated manually

◆ mySimulationAddresses

std::set<DtSimulationAddress> makVre::DtVrfRemoteControlConnector::mySimulationAddresses
protected

list of existing back-end address. We will change our internal starting address if there is a similar one to prevent duplicates


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