void addDelegate(Delegate* d);
void removeDelegate(Delegate* d);
private:
+ void lockDelegate();
+ void unlockDelegate();
+
+ int _delegateLock;
+ bool _arrivalChanged,
+ _departureChanged,
+ _waypointsChanged,
+ _currentWaypointChanged;
bool loadPlainTextRoute(const SGPath& path);
FGAirportRef _departure, _destination;
FGRunway* _departureRunway, *_destinationRunway;
- SID* _sid;
- STAR* _star;
- Approach* _approach;
+ SGSharedPtr<SID> _sid;
+ SGSharedPtr<STAR> _star;
+ SGSharedPtr<Approach> _approach;
std::string _sidTransition, _starTransition;
double _totalDistance;