FlightGear next
|
Encapsulate the FDM properties in some getter/setter helpers. More...
#include <flightProperties.hxx>
Public Member Functions | |
FlightProperties (SGPropertyNode *aRoot=NULL) | |
~FlightProperties () | |
double | get_V_north () const |
double | get_V_east () const |
double | get_V_down () const |
double | get_uBody () const |
double | get_vBody () const |
double | get_wBody () const |
double | get_A_X_pilot () const |
double | get_A_Y_pilot () const |
double | get_A_Z_pilot () const |
double | get_P_body () const |
double | get_Q_body () const |
double | get_R_body () const |
SGGeod | getPosition () const |
double | get_Latitude () const |
double | get_Longitude () const |
double | get_Altitude () const |
double | get_Altitude_AGL (void) const |
double | get_Track (void) const |
double | get_Latitude_deg () const |
double | get_Longitude_deg () const |
double | get_Phi_deg () const |
double | get_Theta_deg () const |
double | get_Psi_deg () const |
double | get_Phi () const |
double | get_Theta () const |
double | get_Psi () const |
double | get_Phi_dot () const |
double | get_Theta_dot () const |
double | get_Psi_dot () const |
double | get_Alpha () const |
double | get_Beta () const |
double | get_Phi_dot_degps () const |
double | get_Theta_dot_degps () const |
double | get_Psi_dot_degps () const |
double | get_V_ground_speed () const |
double | get_V_equiv_kts () const |
double | get_V_calibrated_kts () const |
double | get_Climb_Rate () const |
double | get_Runway_altitude_m () const |
double | get_Total_temperature () const |
double | get_Total_pressure () const |
double | get_Dynamic_pressure () const |
void | set_Longitude (double l) |
void | set_Latitude (double l) |
void | set_Altitude (double ft) |
void | set_Euler_Angles (double phi, double theta, double psi) |
void | set_Euler_Rates (double x, double y, double z) |
void | set_Alpha (double a) |
void | set_Beta (double b) |
void | set_Altitude_AGL (double ft) |
void | set_V_calibrated_kts (double kts) |
void | set_Climb_Rate (double fps) |
void | set_Velocities_Local (double x, double y, double z) |
void | set_Velocities_Body (double x, double y, double z) |
void | set_Accels_Pilot_Body (double x, double y, double z) |
Encapsulate the FDM properties in some getter/setter helpers.
This class intentionally mimics portions of @FGInterface, to permit easy migration of code outside the FDMs, to use properties instead of global variables.
Definition at line 43 of file flightProperties.hxx.
FlightProperties::FlightProperties | ( | SGPropertyNode * | aRoot = NULL | ) |
Definition at line 32 of file flightProperties.cxx.
FlightProperties::~FlightProperties | ( | ) |
Definition at line 40 of file flightProperties.cxx.
double FlightProperties::get_A_X_pilot | ( | ) | const |
Definition at line 74 of file flightProperties.cxx.
double FlightProperties::get_A_Y_pilot | ( | ) | const |
Definition at line 79 of file flightProperties.cxx.
double FlightProperties::get_A_Z_pilot | ( | ) | const |
Definition at line 84 of file flightProperties.cxx.
double FlightProperties::get_Alpha | ( | ) | const |
Definition at line 159 of file flightProperties.cxx.
double FlightProperties::get_Altitude | ( | ) | const |
Definition at line 104 of file flightProperties.cxx.
double FlightProperties::get_Altitude_AGL | ( | void | ) | const |
Definition at line 109 of file flightProperties.cxx.
double FlightProperties::get_Beta | ( | ) | const |
Definition at line 164 of file flightProperties.cxx.
double FlightProperties::get_Climb_Rate | ( | ) | const |
Definition at line 247 of file flightProperties.cxx.
double FlightProperties::get_Dynamic_pressure | ( | ) | const |
Definition at line 194 of file flightProperties.cxx.
double FlightProperties::get_Latitude | ( | ) | const |
Definition at line 94 of file flightProperties.cxx.
double FlightProperties::get_Latitude_deg | ( | ) | const |
Definition at line 114 of file flightProperties.cxx.
double FlightProperties::get_Longitude | ( | ) | const |
Definition at line 99 of file flightProperties.cxx.
double FlightProperties::get_Longitude_deg | ( | ) | const |
Definition at line 119 of file flightProperties.cxx.
double FlightProperties::get_P_body | ( | ) | const |
Definition at line 300 of file flightProperties.cxx.
|
inline |
Definition at line 80 of file flightProperties.hxx.
double FlightProperties::get_Phi_deg | ( | ) | const |
Definition at line 129 of file flightProperties.cxx.
double FlightProperties::get_Phi_dot | ( | ) | const |
Definition at line 144 of file flightProperties.cxx.
double FlightProperties::get_Phi_dot_degps | ( | ) | const |
Definition at line 169 of file flightProperties.cxx.
|
inline |
Definition at line 82 of file flightProperties.hxx.
double FlightProperties::get_Psi_deg | ( | ) | const |
Definition at line 139 of file flightProperties.cxx.
double FlightProperties::get_Psi_dot | ( | ) | const |
Definition at line 154 of file flightProperties.cxx.
double FlightProperties::get_Psi_dot_degps | ( | ) | const |
Definition at line 179 of file flightProperties.cxx.
double FlightProperties::get_Q_body | ( | ) | const |
Definition at line 305 of file flightProperties.cxx.
double FlightProperties::get_R_body | ( | ) | const |
Definition at line 310 of file flightProperties.cxx.
double FlightProperties::get_Runway_altitude_m | ( | ) | const |
Definition at line 252 of file flightProperties.cxx.
|
inline |
Definition at line 81 of file flightProperties.hxx.
double FlightProperties::get_Theta_deg | ( | ) | const |
Definition at line 134 of file flightProperties.cxx.
double FlightProperties::get_Theta_dot | ( | ) | const |
Definition at line 149 of file flightProperties.cxx.
double FlightProperties::get_Theta_dot_degps | ( | ) | const |
Definition at line 174 of file flightProperties.cxx.
double FlightProperties::get_Total_pressure | ( | ) | const |
Definition at line 189 of file flightProperties.cxx.
double FlightProperties::get_Total_temperature | ( | ) | const |
Definition at line 184 of file flightProperties.cxx.
double FlightProperties::get_Track | ( | void | ) | const |
Definition at line 124 of file flightProperties.cxx.
double FlightProperties::get_uBody | ( | ) | const |
Definition at line 59 of file flightProperties.cxx.
double FlightProperties::get_V_calibrated_kts | ( | ) | const |
Definition at line 237 of file flightProperties.cxx.
double FlightProperties::get_V_down | ( | ) | const |
Definition at line 54 of file flightProperties.cxx.
double FlightProperties::get_V_east | ( | ) | const |
Definition at line 49 of file flightProperties.cxx.
double FlightProperties::get_V_equiv_kts | ( | ) | const |
Definition at line 242 of file flightProperties.cxx.
double FlightProperties::get_V_ground_speed | ( | ) | const |
Definition at line 231 of file flightProperties.cxx.
double FlightProperties::get_V_north | ( | ) | const |
Definition at line 44 of file flightProperties.cxx.
double FlightProperties::get_vBody | ( | ) | const |
Definition at line 64 of file flightProperties.cxx.
double FlightProperties::get_wBody | ( | ) | const |
Definition at line 69 of file flightProperties.cxx.
SGGeod FlightProperties::getPosition | ( | ) | const |
Definition at line 89 of file flightProperties.cxx.
void FlightProperties::set_Accels_Pilot_Body | ( | double | x, |
double | y, | ||
double | z ) |
Definition at line 257 of file flightProperties.cxx.
void FlightProperties::set_Alpha | ( | double | a | ) |
Definition at line 285 of file flightProperties.cxx.
void FlightProperties::set_Altitude | ( | double | ft | ) |
Definition at line 209 of file flightProperties.cxx.
void FlightProperties::set_Altitude_AGL | ( | double | ft | ) |
Definition at line 295 of file flightProperties.cxx.
void FlightProperties::set_Beta | ( | double | b | ) |
Definition at line 290 of file flightProperties.cxx.
void FlightProperties::set_Climb_Rate | ( | double | fps | ) |
Definition at line 226 of file flightProperties.cxx.
void FlightProperties::set_Euler_Angles | ( | double | phi, |
double | theta, | ||
double | psi ) |
Definition at line 214 of file flightProperties.cxx.
void FlightProperties::set_Euler_Rates | ( | double | x, |
double | y, | ||
double | z ) |
Definition at line 278 of file flightProperties.cxx.
void FlightProperties::set_Latitude | ( | double | l | ) |
Definition at line 204 of file flightProperties.cxx.
void FlightProperties::set_Longitude | ( | double | l | ) |
Definition at line 199 of file flightProperties.cxx.
void FlightProperties::set_V_calibrated_kts | ( | double | kts | ) |
Definition at line 221 of file flightProperties.cxx.
void FlightProperties::set_Velocities_Body | ( | double | x, |
double | y, | ||
double | z ) |
Definition at line 271 of file flightProperties.cxx.
void FlightProperties::set_Velocities_Local | ( | double | x, |
double | y, | ||
double | z ) |
Definition at line 264 of file flightProperties.cxx.