Class used for storing a given vessel's data. More...
#include <MFDDataLaunchMFD.hpp>
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_ORB & | GetTgtParam () |
bool | IsInAtmosphere () const |
double | GetTargetPitch () |
double | GetTimeSinceLaunch () const |
bool | IsStopConditionPitch () const |
double | GetTMECO () const |
NavMode | GetNavMode () const |
OffPlaneCorrector * | GetOffPlaneCorrector () |
char * | GetTargetStr () const |
const std::string & | GetTargetStdStr () const |
const MovementParams & | GetMovParams () const |
void | SetTargetStr (const std::string &tgt) |
OBJHANDLE | GetTargetBody () const |
VESSEL * | GetTargetVessel () const |
const ShipVariables & | GetShipVariables () const |
ShipVariables & | GetShipVariablesRW () |
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 |
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.
MFDDataLaunchMFD::MFDDataLaunchMFD | ( | VESSEL * | vessel | ) |
Default constructor.
Constructs MFDData object for a given vessel.
Should only be called from within Plugin::AssociateMFDData().
vessel | passed by Plugin::AssociateMFDData() |
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.