#ifndef _FG_ATC_HXX
#define _FG_ATC_HXX
+#include <simgear/compiler.h>
+
+#include STL_IOSTREAM
+#include STL_STRING
+
+#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
+SG_USING_STD(ostream);
+#endif
+SG_USING_STD(string);
+
// Possible types of ATC type that the radios may be tuned to.
// INVALID implies not tuned in to anything.
-typedef enum atc_type {
+enum atc_type {
INVALID,
ATIS,
GROUND,
APPROACH,
DEPARTURE,
ENROUTE
-};
+};
+
+ostream& operator << (ostream& os, atc_type atc);
class FGATC {
// Run the internal calculations
virtual void Update();
+ // Add plane to a stack
+ virtual void AddPlane(string pid);
+
+ // Remove plane from stack
+ virtual int RemovePlane();
+
// Indicate that this instance should output to the display if appropriate
virtual void SetDisplay();
virtual atc_type GetType();
};
-#endif // _FG_ATC_HXX
\ No newline at end of file
+#endif // _FG_ATC_HXX