+ inline double get_speed_select() const { return speed_select; }
+ inline double get_mach_select() const { return mach_select; }
+ inline int get_vertical_mode() const { return vertical_mode; }
+ inline int get_lateral_mode() const { return lateral_mode; }
+
+ // controls/autoflight/autopilot[n]/
+ inline bool get_autopilot_engage(int ap) const {
+ return autopilot_engage[ap];
+ }
+
+
+ // Update functions
+ // controls/flight/
+ void set_aileron( double pos );
+ void move_aileron( double amt );
+ void set_aileron_trim( double pos );
+ void move_aileron_trim( double amt );
+ void set_elevator( double pos );
+ void move_elevator( double amt );
+ void set_elevator_trim( double pos );
+ void move_elevator_trim( double amt );
+ void set_rudder( double pos );
+ void move_rudder( double amt );
+ void set_rudder_trim( double pos );
+ void move_rudder_trim( double amt );
+ void set_flaps( double pos );
+ void move_flaps( double amt );
+ void set_slats( double pos );
+ void move_slats( double amt );
+ void set_BLC( bool val );
+ void set_spoilers( double pos );
+ void move_spoilers( double amt );
+ void set_speedbrake( double pos );
+ void move_speedbrake( double amt );
+ void set_wing_sweep( double pos );
+ void move_wing_sweep( double amt );
+ void set_wing_fold( bool val );
+ void set_drag_chute( bool val );
+
+ // controls/engines/
+ void set_throttle_idle( bool val );
+
+ // controls/engines/engine[n]/
+ void set_throttle( int engine, double pos );
+ void move_throttle( int engine, double amt );
+ void set_starter( int engine, bool flag );
+ void set_fuel_pump( int engine, bool val );
+ void set_fire_switch( int engine, bool val );
+ void set_fire_bottle_discharge( int engine, bool val );
+ void set_cutoff( int engine, bool val );
+ void set_mixture( int engine, double pos );
+ void move_mixture( int engine, double amt );
+ void set_prop_advance( int engine, double pos );
+ void move_prop_advance( int engine, double amt );
+ void set_magnetos( int engine, int pos );
+ void move_magnetos( int engine, int amt );
+ void set_nitrous_injection( int engine, bool val );
+ void set_cowl_flaps_norm( int engine, double pos );
+ void move_cowl_flaps_norm( int engine, double amt );
+ void set_feather( int engine, bool val );
+ void set_ignition( int engine, int val );
+ void set_augmentation( int engine, bool val );
+ void set_reverser( int engine, bool val );
+ void set_water_injection( int engine, bool val );
+ void set_condition( int engine, int val );
+
+ // controls/fuel
+ void set_dump_valve( bool val );
+
+ // controls/fuel/tank[n]/
+ void set_fuel_selector( int tank, bool pos );
+ void set_to_engine( int tank, int engine );
+ void set_to_tank( int tank, int dest_tank );
+
+ // controls/fuel/tank[n]/pump[p]
+ void set_boost_pump( int index, bool val );
+
+ // controls/gear/
+ void set_parking_brake( double pos );
+ void set_steering( double pos );
+ void move_steering( double amt );
+ void set_gear_down( bool gear );
+ void set_antiskid( bool val );
+ void set_tailhook( bool val );
+ void set_tailwheel_lock( bool val );
+
+ // controls/gear/wheel[n]/
+ void set_brake( int wheel, double pos );
+ void move_brake( int wheel, double amt );
+ void set_alternate_extension( int wheel, bool val );
+
+ // controls/anti-ice/
+ void set_wing_heat( bool val );
+ void set_pitot_heat( bool val );
+ void set_wiper( int speed );
+ void set_window_heat( bool val );
+
+ // controls/anti-ice/engine[n]/
+ void set_carb_heat( int engine, bool val );
+ void set_inlet_heat( int engine, bool val );
+
+ // controls/hydraulic/system[n]/
+ void set_engine_pump( int system, bool val );
+ void set_electric_pump( int system, bool val );
+
+ // controls/electric/
+ void set_battery_switch( bool val );
+ void set_external_power( bool val );
+ void set_APU_generator( bool val );