1 #ifndef FG_POSITIONED_BINDING_HXX
2 #define FG_POSITIONED_BINDING_HXX
4 #include <simgear/props/tiedpropertylist.hxx>
6 #include "positioned.hxx"
19 class PositionedBinding
22 virtual ~PositionedBinding();
24 static void bind(FGPositioned* pos, SGPropertyNode* node);
27 PositionedBinding(const FGPositioned* pos, SGPropertyNode* node);
30 FGPositionedRef p; // bindings own a reference to their positioned
31 simgear::TiedPropertyList tied;
37 class NavaidBinding : public PositionedBinding
40 NavaidBinding(const FGNavRecord* nav, SGPropertyNode* node);
43 class RunwayBinding : public PositionedBinding
46 RunwayBinding(const FGRunway* rwy, SGPropertyNode* node);
49 class AirportBinding : public PositionedBinding
52 AirportBinding(const FGAirport* apt, SGPropertyNode* node);
55 class CommStationBinding : public PositionedBinding
58 CommStationBinding(const CommStation* sta, SGPropertyNode* node);
61 } // of namespace flightgear
63 #endif // of FG_POSITIONED_BINDING_HXX