/* * SPDX-License-Identifier: CC0-1.0 * * instrument_mgr.hxx - manage aircraft instruments. * Written by David Megginson, started 2002. * * This file is in the Public Domain and comes with no warranty. */ #pragma once #include #include /** * Manage aircraft instruments. * * In the initial draft, the instruments present are hard-coded, but they * will soon be configurable for individual aircraft. */ class FGInstrumentMgr : public SGSubsystemGroup { public: FGInstrumentMgr (); virtual ~FGInstrumentMgr (); // Subsystem API. void init() override; InitStatus incrementalInit() override; // Subsystem identification. static const char* staticSubsystemClassId() { return "instrumentation"; } private: bool build (SGPropertyNode* config_props, const SGPath& path); bool _explicitGps = false; std::vector _instruments; };