33#include <simgear/compiler.h>
34#include <simgear/structure/subsystem_mgr.hxx>
35#include <simgear/props/tiedpropertylist.hxx>
36#include <simgear/timing/timestamp.hxx>
45 SGPropertyNode_ptr bus_power;
46 SGPropertyNode_ptr serviceable;
52 std::string trans_ident;
59 double effective_range;
63 double goal_needle_deg;
86 bool last_set_rst_btn;
105 double _time_before_search_sec;
107 SGSharedPtr<SGSampleGroup> _sgr;
108 simgear::TiedPropertyList _tiedProperties;
111 FGKR_87( SGPropertyNode *node );
115 void bind()
override;
116 void init()
override;
119 void update(
double dt_sec)
override;
128 inline const std::string&
get_ident()
const {
return ident; }
136 return power_btn && (bus_power->getDoubleValue() > 1.0);
158 if ( val < 0.0 ) val = 0.0;
159 if ( val > 1.0 ) val = 1.0;
void set_set_rst_btn(bool val)
void set_elapsed_timer(double val)
void set_frq_btn(bool val)
double get_stn_lat() const
int get_timer_mode() const
bool get_audio_btn() const
void set_bfo_btn(bool val)
double get_stn_lon() const
void set_stby_freq(int f)
int get_stby_mode() const
double get_rotation() const
bool get_set_rst_btn() const
double get_needle_deg() const
bool get_power_btn() const
FGKR_87(SGPropertyNode *node)
bool get_flt_et_btn() const
void set_rotation(double rot)
static const char * staticSubsystemClassId()
void update(double dt_sec) override
void set_audio_btn(bool val)
double get_flight_timer() const
void set_power_btn(bool val)
double get_vol_btn() const
void set_vol_btn(double val)
int get_stby_freq() const
void set_adf_btn(bool val)
const std::string & get_ident() const
void set_flt_et_btn(bool val)
double get_heading() const
double get_elapsed_timer() const
int get_count_mode() const