1 #ifndef FG_ATC_COMM_STATION_HXX
2 #define FG_ATC_COMM_STATION_HXX
4 #include <Navaids/positioned.hxx>
11 class CommStation : public FGPositioned
14 CommStation(const std::string& name, FGPositioned::Type t, const SGGeod& pos, int range, int freq);
16 void setAirport(FGAirport* apt);
17 FGAirport* airport() const { return mAirport; }
19 virtual flightgear::PositionedBinding* createBinding(SGPropertyNode* nd) const;
27 double freqMHz() const;
29 static CommStation* findByFreq(int freqKhz, const SGGeod& pos, FGPositioned::Filter* filt = NULL);
36 } // of namespace flightgear
38 #endif // of FG_ATC_COMM_STATION_HXX