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

Detailed Description

DtPilotSimLogic manages aircraft simulation behavior including flight controls, weapons systems, sensors, and aircraft-specific functionality. It provides methods for controlling aircraft systems and responding to simulation events while acting as the main control logic for pilot entities.

#include <pilotSimLogic.h>

Inheritance diagram for makVre::DtPilotSimLogic:
[legend]

Classes

struct  CmLaunchParameters
 

Public Member Functions

 DtPilotSimLogic ()
 
virtual ~DtPilotSimLogic () override
 
virtual bool initialize (DtPlayerStation *player, DtInitTable &config) override
 
virtual void tick (double dt) override
 
virtual void shutdown () override
 
virtual const char * type () const override
 
virtual void sendJoystickMessage (const std::string &functionGroup, const std::string &function, double val, double delay=0)
 
virtual bool useRTD ()
 
virtual DtFlightControlsInputLogicflightControls ()
 
virtual DtPilotInstrumentsInputLogicinstrumentControls ()
 
virtual bool isHelo ()
 
virtual bool isCargoDoorOpen ()
 
virtual void openCargoDoor ()
 
virtual void closeCargoDoor ()
 
virtual bool isSlidingDoorOpen ()
 
virtual void openSlidingDoor ()
 
virtual void closeSlidingDoor ()
 
virtual bool isSlingLoadDoorOpen ()
 
virtual void openSlingLoadDoor ()
 
virtual void closeSlingLoadDoor ()
 
virtual bool isLandingGearDown ()
 
virtual void requestSarImage ()
 
virtual void gimbalTrackLaserCode (int laserCode, bool continuousTrack)
 
virtual void gimbalTrackMgrsCoord (const std::string &mgrsCoord)
 
virtual void cycleGimbalSensorMode ()
 
virtual void setAutopilot (const std::string &newMode, bool stayDisabledIfOff=false)
 
virtual void toggleAutopilot ()
 
virtual void resetInPlace (float val=1) override
 
virtual void setFlap (int flap)
 
virtual void setAutopilotMode (const std::string &value)
 
virtual void setAutopilotHeading (const std::string &value)
 
virtual void setAutopilotAltitude (const std::string &value)
 
virtual void setAutopilotSpeed (const std::string &value)
 
virtual void setAutopilotRoute (const std::string &value)
 
virtual void suppressWarnings ()
 
Joystick Function Processing

Methods for processing joystick inputs. The input value range is typically 0.0 to 1.0 and can represent either an axis value or a button value.

virtual void trigger (double val)
 
virtual void toggleObserverAttachMode (double val)
 
virtual void toggleLasingState ()
 
virtual void setLaserCode (int val)
 
virtual void setBullseye (const DtEntityIdentifier &target)
 
virtual void gimbalTrackDesignatedRadarTrack ()
 
virtual CmLaunchParameters countermeasuresLaunchParameters (const std::string &countermeasuresName)
 
virtual void clearTrackingLocation ()
 
virtual void toggleNorthReference (double val)
 
- Public Member Functions inherited from makVre::DtEntityControlLogic
 DtEntityControlLogic ()
 
virtual ~DtEntityControlLogic () override
 
virtual bool postInitialize () override
 
virtual void setExtendedData (const std::string &key, const std::string &value, DtEntityIdentifier entity=DtEntityIdentifier::nullId())
 
virtual void setMouseControlEnabled (bool enabled)
 
virtual bool isMouseControlEnabled ()
 
virtual bool isMouseControlSupportAllowed () const
 
virtual void setMouseControlSupportAllowed (bool enable)
 
virtual const std::vector< std::string > & joystickGroups () const
 
virtual makVre::DtVreMessageResult handleStateMessages (makVre::DtVreMessage *message)
 
virtual makVre::DtVreMessageResult handleReset (makVre::DtVreMessage *message)
 
virtual void reset (float val)
 
virtual void toggleMouseControl (float val)
 
virtual void enableMouseControl (float val)
 
virtual makVre::DtVreMessageResult handleFocusMessage (makVre::DtVreMessage *message)
 
- Public Member Functions inherited from makVre::DtPlayerComponent
 DtPlayerComponent ()
 
virtual ~DtPlayerComponent ()
 
virtual void setName (const std::string &name)
 
virtual const std::string & name ()
 
virtual DtPlayerStationplayer ()
 
virtual DtAttributeHandleplayerAttributeStore ()
 
virtual const DtAttributeHandleplayerAttributeStore () const
 

Protected Member Functions

virtual DtVreMessageResult handleCycleSelectedWeaponMessage (DtVreMessage *msg)
 
virtual DtVreMessageResult handleToggleAutoCountermeasuresMessage (DtVreMessage *msg)
 
virtual DtVreMessageResult handleDesignatedTargetsUpdate (DtVreMessage *msg)
 
virtual DtVreMessageResult handleWindowCreated (DtVreMessage *msg)
 
virtual void addRwrSound (const std::string &key, const std::string &soundFile, double pitch, double volume, bool repeatSound)
 
virtual void playRwrSound (const std::string &key)
 
virtual void stopRwrSounds ()
 
virtual void stopLasingLocation ()
 
virtual void startLasingLocation ()
 
Message Handler Methods

Methods for handling various message types from the message manager

virtual DtVreMessageResult handleSimState (DtVreMessage *msg) override
 
virtual DtVreMessageResult handleCockpitInitialized (DtVreMessage *msg)
 
virtual DtVreMessageResult handleRwrCatalogRequest (DtVreMessage *msg)
 
virtual DtVreMessageResult handleRwrPlaySound (DtVreMessage *msg)
 
virtual DtVreMessageResult handleEntityStateStringMessage (DtVreMessage *msg)
 
virtual DtVreMessageResult handleSetRwrSoundsEnabledMessage (DtVreMessage *msg)
 
virtual DtVreMessageResult handleGimbalCycleSensorModeMessage (DtVreMessage *msg)
 
- Protected Member Functions inherited from makVre::DtEntityControlLogic
virtual void takeControlOfPlayerEntity ()
 
virtual void releaseControlOfPlayerEntity ()
 
- Protected Member Functions inherited from makVre::DtPlayerComponent
virtual void initializeStateAttributes ()
 

Protected Attributes

bool myUseRTD
 
DtFlightControlsInputLogicmyFlightControlsInputLogic
 
DtPilotInstrumentsInputLogicmyInstrumentsInputLogic
 
int myAttachType
 
DtVector myAttachOffset
 
DtTaitBryan myAttachOrientation
 
std::map< std::string, makAudio::DtSound * > myRwrSoundMap
 
DtInitTable myRwrConfig
 
bool myHelo
 
std::string myCachedAutopilotMode
 
double myLowAltitudeThreshold
 
double myStallThreshold
 
double myWarningsSuppressed
 
std::string myGimbalWindowName
 
std::string myGimbalChannelName
 
std::string mySensorName
 
std::vector< std::string > myGimbalSensorModes
 
makVrv::DtObserver * myObserver
 
DtEntityIdentifier myDesginatedRadarTarget
 
std::map< std::string, CmLaunchParametersmyCmLaunchParameters
 
- Protected Attributes inherited from makVre::DtEntityControlLogic
std::vector< std::string > myJoystickFunctionGroups
 
DtInputLogic myCommonInputLogic
 
std::string myInputConfigFile
 
bool myMouseControlEnabled
 
bool myMouseControlSupportAllowed
 
- Protected Attributes inherited from makVre::DtPlayerComponent
std::string myName
 
DtInitTable myConfig
 
DtPlayerStationmyPlayer
 
makVrv::DtDe * myDe
 
DtEntityResolvermyResolver
 
DtAttributeCallbackManager myAttributeCallbacks
 

Constructor & Destructor Documentation

◆ DtPilotSimLogic()

makVre::DtPilotSimLogic::DtPilotSimLogic ( )

Default constructor.

◆ ~DtPilotSimLogic()

virtual makVre::DtPilotSimLogic::~DtPilotSimLogic ( )
overridevirtual

Virtual destructor.

Member Function Documentation

◆ initialize()

virtual bool makVre::DtPilotSimLogic::initialize ( DtPlayerStation * player,
DtInitTable & config )
overridevirtual

Initializes the pilot simulation logic component.

Parameters
playerPointer to the player station
configConfiguration settings for initialization
Returns
True if initialization was successful, false otherwise

Reimplemented from makVre::DtEntityControlLogic.

References makVre::DtPlayerComponent::player().

◆ tick()

virtual void makVre::DtPilotSimLogic::tick ( double dt)
overridevirtual

Updates simulation state for the current frame.

Parameters
dtDelta time since the last frame in seconds

Reimplemented from makVre::DtEntityControlLogic.

◆ shutdown()

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

Cleans up resources when the component is being shut down.

Reimplemented from makVre::DtEntityControlLogic.

◆ type()

virtual const char * makVre::DtPilotSimLogic::type ( ) const
overridevirtual

Returns the component type identifier.

Returns
The component type string

Reimplemented from makVre::DtEntityControlLogic.

◆ sendJoystickMessage()

virtual void makVre::DtPilotSimLogic::sendJoystickMessage ( const std::string & functionGroup,
const std::string & function,
double val,
double delay = 0 )
virtual

Sends a joystick control message to the simulation.

Parameters
functionGroupFunction group name for the joystick control
functionFunction name for the joystick control
valInput value for the function
delayOptional delay in seconds before the message is processed

◆ useRTD()

virtual bool makVre::DtPilotSimLogic::useRTD ( )
virtual

Checks if real-time dynamics are enabled.

Returns
True if real-time dynamics are enabled, false otherwise

◆ flightControls()

virtual DtFlightControlsInputLogic & makVre::DtPilotSimLogic::flightControls ( )
virtual

Gets a reference to the flight controls input logic.

Returns
Reference to the flight controls input logic component

◆ instrumentControls()

virtual DtPilotInstrumentsInputLogic & makVre::DtPilotSimLogic::instrumentControls ( )
virtual

Gets a reference to the instrument controls input logic.

Returns
Reference to the instrument controls input logic component

◆ isHelo()

virtual bool makVre::DtPilotSimLogic::isHelo ( )
inlinevirtual

Checks if the aircraft is a helicopter.

Returns
True if the aircraft is a helicopter, false if it's fixed-wing

References myHelo.

◆ isCargoDoorOpen()

virtual bool makVre::DtPilotSimLogic::isCargoDoorOpen ( )
virtual

Checks if the cargo door is open.

Returns
True if the cargo door is open, false otherwise

◆ openCargoDoor()

virtual void makVre::DtPilotSimLogic::openCargoDoor ( )
virtual

Opens the cargo door.

◆ closeCargoDoor()

virtual void makVre::DtPilotSimLogic::closeCargoDoor ( )
virtual

Closes the cargo door.

◆ isSlidingDoorOpen()

virtual bool makVre::DtPilotSimLogic::isSlidingDoorOpen ( )
virtual

Checks if the sliding door is open.

Returns
True if the sliding door is open, false otherwise

◆ openSlidingDoor()

virtual void makVre::DtPilotSimLogic::openSlidingDoor ( )
virtual

Opens the sliding door.

◆ closeSlidingDoor()

virtual void makVre::DtPilotSimLogic::closeSlidingDoor ( )
virtual

Closes the sliding door.

◆ isSlingLoadDoorOpen()

virtual bool makVre::DtPilotSimLogic::isSlingLoadDoorOpen ( )
virtual

Checks if the sling load door is open.

Returns
True if the sling load door is open, false otherwise

◆ openSlingLoadDoor()

virtual void makVre::DtPilotSimLogic::openSlingLoadDoor ( )
virtual

Opens the sling load door.

◆ closeSlingLoadDoor()

virtual void makVre::DtPilotSimLogic::closeSlingLoadDoor ( )
virtual

Closes the sling load door.

◆ isLandingGearDown()

virtual bool makVre::DtPilotSimLogic::isLandingGearDown ( )
virtual

Checks if the landing gear is down.

Returns
True if the landing gear is down, false if it's up

◆ requestSarImage()

virtual void makVre::DtPilotSimLogic::requestSarImage ( )
virtual

Requests a Synthetic Aperture Radar (SAR) image.

◆ gimbalTrackLaserCode()

virtual void makVre::DtPilotSimLogic::gimbalTrackLaserCode ( int laserCode,
bool continuousTrack )
virtual

Commands the gimbal sensor to track a laser code.

Parameters
laserCodeThe laser code to track
continuousTrackFlag indicating whether to continuously track the code

◆ gimbalTrackMgrsCoord()

virtual void makVre::DtPilotSimLogic::gimbalTrackMgrsCoord ( const std::string & mgrsCoord)
virtual

Commands the gimbal sensor to track an MGRS coordinate.

Parameters
mgrsCoordMGRS coordinate string to track

◆ cycleGimbalSensorMode()

virtual void makVre::DtPilotSimLogic::cycleGimbalSensorMode ( )
virtual

Cycles to the next gimbal sensor mode.

Cycles through available sensor modes which typically include IR (infrared), NVG (night vision), and OTW (out-the-window/normal vision).

◆ setAutopilot()

virtual void makVre::DtPilotSimLogic::setAutopilot ( const std::string & newMode,
bool stayDisabledIfOff = false )
virtual

Sets the autopilot mode.

Parameters
newModeNew autopilot mode to set ("OFF", "PATH", "ALT/HDG/SPD", "ALT", "HDG", "SPD")
stayDisabledIfOffIf true and the mode is set to "OFF", autopilot will remain off when toggled

Pass an empty string to cycle to the next setting.

◆ toggleAutopilot()

virtual void makVre::DtPilotSimLogic::toggleAutopilot ( )
virtual

Toggles the autopilot on/off.

◆ resetInPlace()

virtual void makVre::DtPilotSimLogic::resetInPlace ( float val = 1)
overridevirtual

Resets the aircraft in its current location.

Parameters
valInput value, typically 1.0 for activation

Overloaded to handle special case when the aircraft is on the ground

Reimplemented from makVre::DtEntityControlLogic.

◆ setFlap()

virtual void makVre::DtPilotSimLogic::setFlap ( int flap)
virtual

Sets the flap position.

Parameters
flapFlap position index to set

◆ setAutopilotMode()

virtual void makVre::DtPilotSimLogic::setAutopilotMode ( const std::string & value)
virtual

Sets the autopilot mode extended data.

Parameters
valueMode value as a string

◆ setAutopilotHeading()

virtual void makVre::DtPilotSimLogic::setAutopilotHeading ( const std::string & value)
virtual

Sets the autopilot heading extended data.

Parameters
valueHeading value as a string

◆ setAutopilotAltitude()

virtual void makVre::DtPilotSimLogic::setAutopilotAltitude ( const std::string & value)
virtual

Sets the autopilot altitude extended data.

Parameters
valueAltitude value as a string

◆ setAutopilotSpeed()

virtual void makVre::DtPilotSimLogic::setAutopilotSpeed ( const std::string & value)
virtual

Sets the autopilot speed extended data.

Parameters
valueSpeed value as a string

◆ setAutopilotRoute()

virtual void makVre::DtPilotSimLogic::setAutopilotRoute ( const std::string & value)
virtual

Sets the autopilot route extended data.

Parameters
valueRoute value as a string

◆ suppressWarnings()

virtual void makVre::DtPilotSimLogic::suppressWarnings ( )
virtual

Suppresses warning messages temporarily.

Suppresses audio and visual warnings for a configured duration

◆ trigger()

virtual void makVre::DtPilotSimLogic::trigger ( double val)
virtual

Handles joystick trigger input.

Parameters
valInput value, typically 1.0 for activation

◆ toggleObserverAttachMode()

virtual void makVre::DtPilotSimLogic::toggleObserverAttachMode ( double val)
virtual

Toggles between first-person and third-person view modes.

Parameters
valInput value, typically 1.0 for activation

◆ toggleLasingState()

virtual void makVre::DtPilotSimLogic::toggleLasingState ( )
virtual

Toggles the laser designator on/off.

◆ setLaserCode()

virtual void makVre::DtPilotSimLogic::setLaserCode ( int val)
virtual

Sets the laser designator code.

Parameters
valLaser code to set

◆ setBullseye()

virtual void makVre::DtPilotSimLogic::setBullseye ( const DtEntityIdentifier & target)
virtual

Sets the target as the bullseye reference point.

Parameters
targetEntity identifier of the target to set as bullseye

◆ gimbalTrackDesignatedRadarTrack()

virtual void makVre::DtPilotSimLogic::gimbalTrackDesignatedRadarTrack ( )
virtual

Commands the gimbal sensor to track a radar-detected entity.

Directs the gimbal sensor to slew to and track the currently designated radar target

◆ countermeasuresLaunchParameters()

virtual CmLaunchParameters makVre::DtPilotSimLogic::countermeasuresLaunchParameters ( const std::string & countermeasuresName)
virtual

Gets the launch parameters for a specific countermeasure type.

Parameters
countermeasuresNameName of the countermeasures type
Returns
Launch parameters for the specified countermeasures

◆ clearTrackingLocation()

virtual void makVre::DtPilotSimLogic::clearTrackingLocation ( )
virtual

Clears the cached location the gimbaled sensor is pointing at.

◆ toggleNorthReference()

virtual void makVre::DtPilotSimLogic::toggleNorthReference ( double val)
virtual

Toggles between true north and magnetic north reference.

Parameters
valInput value, typically 1.0 for activation

◆ handleSimState()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleSimState ( DtVreMessage * msg)
overrideprotectedvirtual

Handles simulation state messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

Updates state attributes based on ownship simulation state.

Reimplemented from makVre::DtEntityControlLogic.

◆ handleCockpitInitialized()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleCockpitInitialized ( DtVreMessage * msg)
protectedvirtual

Handles cockpit initialized messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

Updates the master warning enabled/disabled state on cockpit initialization.

◆ handleRwrCatalogRequest()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleRwrCatalogRequest ( DtVreMessage * msg)
protectedvirtual

Handles RWR catalog request messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

Updates the Radar Warning Receiver with the configured catalog when the RWR is initialized.

◆ handleRwrPlaySound()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleRwrPlaySound ( DtVreMessage * msg)
protectedvirtual

Handles RWR play sound messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

Plays the specified RWR sound or stops all sounds when "Stop" is specified.

◆ handleEntityStateStringMessage()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleEntityStateStringMessage ( DtVreMessage * msg)
protectedvirtual

Handles entity state string messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

Updates the "selectedWeaponLabel" state attribute when the "SelectedWeapon" state property is updated.

◆ handleSetRwrSoundsEnabledMessage()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleSetRwrSoundsEnabledMessage ( DtVreMessage * msg)
protectedvirtual

Handles RWR sounds enabled messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

Sets the "rwrSoundsEnabled" state attribute.

◆ handleGimbalCycleSensorModeMessage()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleGimbalCycleSensorModeMessage ( DtVreMessage * msg)
protectedvirtual

Handles gimbal cycle sensor mode messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

If this message is intended for this entity, cycles the gimbal view by calling cycleGimbalSensorMode(). This causes the gimbal view of the Multi-Functional Display to cycle to the next sensor view (typically IR, NVG, and Out-the-Window). This message can be received from a GL Studio mouse button click or controller input.

◆ handleCycleSelectedWeaponMessage()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleCycleSelectedWeaponMessage ( DtVreMessage * msg)
protectedvirtual

Handles cycle selected weapon messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

If this message is intended for this entity, cycles the selected weapon. This message is received from an MFD button click when the Weapons and Stores panel is activated.

◆ handleToggleAutoCountermeasuresMessage()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleToggleAutoCountermeasuresMessage ( DtVreMessage * msg)
protectedvirtual

Handles toggle auto countermeasures messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

If this message is intended for this entity, toggles automatic countermeasures on/off. This message is received from an MFD button click when the Weapons and Stores panel is activated.

◆ handleDesignatedTargetsUpdate()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleDesignatedTargetsUpdate ( DtVreMessage * msg)
protectedvirtual

Handles designated targets update messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

Handles radar target selection messages, which are received from a radar 'z' button click when in radar MFD or cursor select from joystick. Allows the gimbal sensor to track a radar-detected entity.

◆ handleWindowCreated()

virtual DtVreMessageResult makVre::DtPilotSimLogic::handleWindowCreated ( DtVreMessage * msg)
protectedvirtual

Handles window created messages.

Parameters
msgPointer to the message being processed
Returns
Message processing result

Caches the window and channel name for the gimbaled sensor when windows are created.

◆ addRwrSound()

virtual void makVre::DtPilotSimLogic::addRwrSound ( const std::string & key,
const std::string & soundFile,
double pitch,
double volume,
bool repeatSound )
protectedvirtual

Adds a sound to the RWR sound system.

Parameters
keyIdentifier key for the sound
soundFilePath to the sound file
pitchPitch adjustment for the sound
volumeVolume level for the sound
repeatSoundWhether the sound should loop

◆ playRwrSound()

virtual void makVre::DtPilotSimLogic::playRwrSound ( const std::string & key)
protectedvirtual

Plays a specific RWR sound.

Parameters
keyIdentifier key of the sound to play

◆ stopRwrSounds()

virtual void makVre::DtPilotSimLogic::stopRwrSounds ( )
protectedvirtual

Stops all currently playing RWR sounds.

◆ stopLasingLocation()

virtual void makVre::DtPilotSimLogic::stopLasingLocation ( )
protectedvirtual

Stops the laser designator.

Deactivates the laser designator and stops lasing the current location

◆ startLasingLocation()

virtual void makVre::DtPilotSimLogic::startLasingLocation ( )
protectedvirtual

Starts the laser designator.

Activates the laser designator and begins lasing the current target location

Member Data Documentation

◆ myUseRTD

bool makVre::DtPilotSimLogic::myUseRTD
protected

Flag indicating if real-time dynamics are enabled.

◆ myFlightControlsInputLogic

DtFlightControlsInputLogic* makVre::DtPilotSimLogic::myFlightControlsInputLogic
protected

Pointer to the flight controls input logic component.

◆ myInstrumentsInputLogic

DtPilotInstrumentsInputLogic* makVre::DtPilotSimLogic::myInstrumentsInputLogic
protected

Pointer to the instruments input logic component.

◆ myAttachType

int makVre::DtPilotSimLogic::myAttachType
protected

Current observer attachment type.

◆ myAttachOffset

DtVector makVre::DtPilotSimLogic::myAttachOffset
protected

Offset vector for observer attachment.

◆ myAttachOrientation

DtTaitBryan makVre::DtPilotSimLogic::myAttachOrientation
protected

Orientation for observer attachment.

◆ myRwrSoundMap

std::map<std::string, makAudio::DtSound*> makVre::DtPilotSimLogic::myRwrSoundMap
protected

Map of RWR sounds indexed by sound key.

Sounds to play for various RWR events, such as when a new contact is added.

◆ myRwrConfig

DtInitTable makVre::DtPilotSimLogic::myRwrConfig
protected

Cached RWR configuration table.

Caches the Radar Warning Receiver catalog to send to the RWR once it's initialized.

◆ myHelo

bool makVre::DtPilotSimLogic::myHelo
protected

Flag indicating if the aircraft is a helicopter.

Referenced by isHelo().

◆ myCachedAutopilotMode

std::string makVre::DtPilotSimLogic::myCachedAutopilotMode
protected

Previously set autopilot mode.

◆ myLowAltitudeThreshold

double makVre::DtPilotSimLogic::myLowAltitudeThreshold
protected

Altitude threshold for low altitude warnings in meters.

◆ myStallThreshold

double makVre::DtPilotSimLogic::myStallThreshold
protected

Airspeed threshold for stall warnings in meters per second.

◆ myWarningsSuppressed

double makVre::DtPilotSimLogic::myWarningsSuppressed
protected

Time remaining for warning suppression in seconds.

◆ myGimbalWindowName

std::string makVre::DtPilotSimLogic::myGimbalWindowName
protected

Name of the window containing the gimbal display.

◆ myGimbalChannelName

std::string makVre::DtPilotSimLogic::myGimbalChannelName
protected

Name of the channel containing the gimbal display.

◆ mySensorName

std::string makVre::DtPilotSimLogic::mySensorName
protected

Name of the current sensor.

◆ myGimbalSensorModes

std::vector<std::string> makVre::DtPilotSimLogic::myGimbalSensorModes
protected

Vector of available gimbal sensor modes.

The different gimbal sensor modes (IR, NVG, Out-the-Window). The first element of the vector is the current mode. When cycling modes, the vector elements are rotated.

  • IR: infrared sensor view
  • NVG: night vision sensor view
  • Out-the-Window: regular view without special effects

◆ myObserver

makVrv::DtObserver* makVre::DtPilotSimLogic::myObserver
protected

Pointer to the observer for getting position and orientation.

Used in gun fire to get observer X,Y,Z & H,P,R

◆ myDesginatedRadarTarget

DtEntityIdentifier makVre::DtPilotSimLogic::myDesginatedRadarTarget
protected

Entity identifier of the currently designated radar target.

◆ myCmLaunchParameters

std::map<std::string, CmLaunchParameters> makVre::DtPilotSimLogic::myCmLaunchParameters
protected

Map of countermeasures launch parameters indexed by name.


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