]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/atis.hxx
Modified Files:
[flightgear.git] / src / ATC / atis.hxx
index b46d1b47d88c72a31632ded520f35e64167722de..05835d4a7975503a1873b3b56dd5099da19bacf5 100644 (file)
@@ -17,7 +17,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
 #ifndef _FG_ATIS_HXX
@@ -53,8 +53,6 @@ SG_USING_STD(string);
 class FGATIS : public FGATC {
        
        //atc_type type;
-       bool display;           // Flag to indicate whether we should be outputting to the ATC display.
-       bool displaying;                // Flag to indicate whether we are outputting to the ATC display.
        string transmission;    // The actual ATIS transmission
        // This is not stored in default.atis but is generated
        // from the prevailing conditions when required.
@@ -68,9 +66,9 @@ class FGATIS : public FGATC {
        // or the whereabouts of the aircraft it is transmitting to.  However, to ensure consistancy of
        // operation with the other ATC classes the ATIS class must calculate range to the aircraft in order
        // to decide whether to render the transmission - hence the users plane details must be stored.
-       //SGPropertyNode *airplane_lon_node; 
-       //SGPropertyNode *airplane_lat_node;
-       //SGPropertyNode *airplane_elev_node; 
+       //SGPropertyNode_ptr airplane_lon_node; 
+       //SGPropertyNode_ptr airplane_lat_node;
+       //SGPropertyNode_ptr airplane_elev_node; 
        
        public:
        
@@ -80,16 +78,9 @@ class FGATIS : public FGATC {
        //run the ATIS instance
        void Update(double dt);
        
-       //Indicate that this instance should be outputting to the ATC display
-       inline void SetDisplay(void) {display = true;}
-       
-       //Indicate that this instance should not be outputting to the ATC display
-       inline void SetNoDisplay(void) {display = false;}
-       
-       inline atc_type GetType() { return ATIS; }
        //inline void set_type(const atc_type tp) {type = tp;}
-       inline string get_trans_ident() { return trans_ident; }
-       inline void set_refname(string r) { refname = r; } 
+       inline const string& get_trans_ident() { return trans_ident; }
+       inline void set_refname(const string& r) { refname = r; } 
        
        private: