#include <string>
-#include <simgear/math/point3d.hxx>
#include <simgear/props/props.hxx>
#include <simgear/structure/subsystem_mgr.hxx>
#include <Sound/morse.hxx>
-SG_USING_STD(string);
+using std::string;
+class SGSampleGroup;
+
/**
* Model an ADF radio.
*
public:
ADF ( SGPropertyNode *node );
- ADF ();
virtual ~ADF ();
virtual void init ();
void search (double frequency, double longitude_rad,
double latitude_rad, double altitude_m);
+ string _name;
+ unsigned int _num;
+
SGPropertyNode_ptr _longitude_node;
SGPropertyNode_ptr _latitude_node;
SGPropertyNode_ptr _altitude_node;
FGMorse morse;
int _ident_count;
time_t _last_ident_time;
- double _last_volume;
+ float _last_volume;
+ string _adf_ident;
- string name;
- int num;
- string adf_ident;
+ SGSharedPtr<SGSampleGroup> _sgr;
};