FlightGear next
instrument_mgr.hxx
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: CC0-1.0
3 *
4 * instrument_mgr.hxx - manage aircraft instruments.
5 * Written by David Megginson, started 2002.
6 *
7 * This file is in the Public Domain and comes with no warranty.
8*/
9
10#pragma once
11
12#include <simgear/compiler.h>
13#include <simgear/structure/subsystem_mgr.hxx>
14
15
22class FGInstrumentMgr : public SGSubsystemGroup
23{
24public:
26 virtual ~FGInstrumentMgr ();
27
28 // Subsystem API.
29 void init() override;
30 InitStatus incrementalInit() override;
31
32 // Subsystem identification.
33 static const char* staticSubsystemClassId() { return "instrumentation"; }
34
35private:
36 bool build (SGPropertyNode* config_props, const SGPath& path);
37
38 bool _explicitGps = false;
39
40 std::vector<std::string> _instruments;
41};
virtual ~FGInstrumentMgr()
InitStatus incrementalInit() override
void init() override
static const char * staticSubsystemClassId()