X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Finstrument_mgr.hxx;h=d7c9b2a07b66ef2474f4b6dcd7f402b30a7ba66d;hb=fe0a703a192a37b96aa4f6048c8e542c24671705;hp=6e0bf4d12a072e0cd6bc48b3272aa7af30a48581;hpb=682feb8f2d4803444b5a95d956de3979a7a7fcc7;p=flightgear.git diff --git a/src/Instrumentation/instrument_mgr.hxx b/src/Instrumentation/instrument_mgr.hxx index 6e0bf4d12..d7c9b2a07 100644 --- a/src/Instrumentation/instrument_mgr.hxx +++ b/src/Instrumentation/instrument_mgr.hxx @@ -16,12 +16,7 @@ #endif #include - -#include
- -#include - -SG_USING_STD(vector); +#include /** @@ -30,21 +25,21 @@ SG_USING_STD(vector); * In the initial draft, the instruments present are hard-coded, but they * will soon be configurable for individual aircraft. */ -class FGInstrumentMgr : public FGSubsystem +class FGInstrumentMgr : public SGSubsystemGroup { public: FGInstrumentMgr (); virtual ~FGInstrumentMgr (); - - virtual void init (); - virtual void bind (); - virtual void unbind (); - virtual void update (double dt); - + + virtual void init(); + virtual void reinit(); private: - vector _instruments; - + bool build (SGPropertyNode* config_props); + + bool _explicitGps; + + std::vector _instruments; }; #endif // __INSTRUMENT_MGR_HXX