All Classes Functions
Public Member Functions | Public Attributes | List of all members
MFDDataLaunchMFD Class Reference

Class used for storing a given vessel's data. More...

#include <MFDDataLaunchMFD.hpp>

Collaboration diagram for MFDDataLaunchMFD:
Collaboration graph
[legend]

Public Member Functions

 MFDDataLaunchMFD (VESSEL *vessel)
 Default constructor.
void Update ()
 Updates the vessel's state.
void ReactOnShipStatus ()
double GetCurrentAlt () const
double GetAzimuth () const
double GetAutomaticAlt (OBJHANDLE hRef)
void SwitchAutopilot (AutopilotType type)
AutopilotType GetAutopilotType () const
void MECO ()
void MainEngineOn (double level=1)
double GetYaw ()
void CheckLatitudeVsInclination ()
void UpdateTgtParam ()
void CheckPlanetChange ()
TGTPARAM_ORBGetTgtParam ()
bool IsInAtmosphere () const
double GetTargetPitch ()
double GetTimeSinceLaunch () const
bool IsStopConditionPitch () const
double GetTMECO () const
NavMode GetNavMode () const
OffPlaneCorrectorGetOffPlaneCorrector ()
char * GetTargetStr () const
const std::string & GetTargetStdStr () const
const MovementParamsGetMovParams () const
void SetTargetStr (const std::string &tgt)
OBJHANDLE GetTargetBody () const
VESSEL * GetTargetVessel () const
const ShipVariablesGetShipVariables () const
ShipVariablesGetShipVariablesRW ()
void ChangeCompassDisplayMode ()
void SetPEGApses ()
void SwitchAzimuth ()
double GetMi () const

Public Attributes

bool CutEngines
bool launched
bool half_ov_reached
bool tgt_set
bool hud
bool newAtmosphericModel
bool drawPitchError
double InclinationFactor
int AltitudeFactor
bool m_ManualAlt
double PeA
double ApA
int AzimuthLock
OBJHANDLE hRef
TGTPARAM_ORB m_tgtParam
BODYPHYS_ORB m_bodyPhys
FlightDirector flightDirector
PEGNormal peg
PEGDirectAscentStd pegDA
PEGDirectAscentSynchro pegDAS
PEGMulti pegMulti
GreatCircle m_greatCircle
double start_time
View pageView
PIDAP m_pidAP
PitchProgramReader m_pitchProgram
EnergyPitchProgram m_energyProgram
LaunchCompass::DisplayMode m_compassDisplayMode
bool m_daSynchroOrbit
bool m_useOffplaneCorrector

Detailed Description

Class used for storing a given vessel's data.

Stores a given vessel's data, that can be retrieved later, or updated on every MFD refresh, or every simulation step if needed.

Constructor & Destructor Documentation

MFDDataLaunchMFD::MFDDataLaunchMFD ( VESSEL *  vessel)

Default constructor.

Constructs MFDData object for a given vessel.

Should only be called from within Plugin::AssociateMFDData().

Parameters
vesselpassed by Plugin::AssociateMFDData()

Member Function Documentation

void MFDDataLaunchMFD::Update ( )

Updates the vessel's state.

Updates the vessel's state as in for example - position, velocity, reference planet, etc.

Should be called from MyMFD::Update() and on every simulation step from Plugin::UpdateClient() if necessary. This method should update all the required data of the vessel to be able operate properly without an opened MFD.


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