VR-Engage  2.2
Loading...
Searching...
No Matches
glsVreMessageUtil.h File Reference
Include dependency graph for glsVreMessageUtil.h:

Go to the source code of this file.

Namespaces

namespace  makVre
 

Functions

static void makVre::sendJoystickMessage (const DtEntityIdentifier &entity, const std::string &functionGroup, const std::string &function, double value, bool repeat=false)
 
static void makVre::sendSarRequest ()
 
static void makVre::raiseGate (const DtEntityIdentifier &entity)
 
static void makVre::lowerGate (const DtEntityIdentifier &entity)
 
static void makVre::setLightState (const DtEntityIdentifier &entity, int light, bool state)
 
static void makVre::requestSimState (const DtEntityIdentifier &entity)
 
static void makVre::createGimbalView (const DtEntityIdentifier &entity, int width, int height, const std::string &sensorMode)
 
static void makVre::destroyGimbalView (const DtEntityIdentifier &entity)
 
static void makVre::modifyGimbalView (const DtEntityIdentifier &entity, const std::string &sensorMode)
 
static void makVre::cycleGimbalView (const DtEntityIdentifier &entity)
 
static void makVre::createPlanView (const DtEntityIdentifier &entity, int width, int height)
 
static void makVre::destroyPlanView (const DtEntityIdentifier &entity)
 
static void makVre::takeControlOf (const DtEntityIdentifier &entity, const std::vector< std::string > &functionGroups, const std::vector< std::string > &roles)
 
static void makVre::releaseControlOf (const DtEntityIdentifier &entity)
 
static void makVre::sendCockpitInitialized (const std::string &cockpitName)
 
static void makVre::setOverlaySections (const std::vector< std::string > &sections)
 
static void makVre::restoreOverlaySections ()
 
static void makVre::startMapZoomIn (const DtEntityIdentifier &entity)
 
static void makVre::startMapZoomOut (const DtEntityIdentifier &entity)
 
static void makVre::stopMapZoomIn (const DtEntityIdentifier &entity)
 
static void makVre::stopMapZoomOut (const DtEntityIdentifier &entity)
 
static void makVre::requestGlsConfig (const DtEntityIdentifier &entity, const std::string &panelId)
 
static void makVre::sendSetRwrEnabledMessage (const DtEntityIdentifier &entity, bool enabled)
 
static void makVre::setRwrSoundsEnabled (bool enabled)
 
static void makVre::playRwrSound (const std::string &sound)
 
static void makVre::setRadarModeAndSubmode (const DtEntityIdentifier &hostId, const std::string &mode, const std::string &submode, int sttTarget=-1)
 
static void makVre::subscribeToBoss (const std::string &messageType)
 
static void makVre::unsubscribeFromBoss (const std::string &messageType)
 

Detailed Description

This file provides helper functions for sending common VR-Engage messages from GL Studio instrument panel code. It simplifies message creation and queuing for joystick inputs, SAR requests, radar controls, and other cockpit-related functionality.