]> git.mxchange.org Git - flightgear.git/blob - src/Instrumentation/instrument_mgr.hxx
Merge branch 'luff/kln89'
[flightgear.git] / src / Instrumentation / instrument_mgr.hxx
1 // instrument_mgr.hxx - manage aircraft instruments.
2 // Written by David Megginson, started 2002.
3 //
4 // This file is in the Public Domain and comes with no warranty.
5
6
7 #ifndef __INSTRUMENT_MGR_HXX
8 #define __INSTRUMENT_MGR_HXX 1
9
10 #ifndef __cplusplus
11 # error This library requires C++
12 #endif
13
14 #ifdef HAVE_CONFIG_H
15 #  include <config.h>
16 #endif
17
18 #include <simgear/compiler.h>
19 #include <simgear/structure/subsystem_mgr.hxx>
20
21
22 /**
23  * Manage aircraft instruments.
24  *
25  * In the initial draft, the instruments present are hard-coded, but they
26  * will soon be configurable for individual aircraft.
27  */
28 class FGInstrumentMgr : public SGSubsystemGroup
29 {
30 public:
31
32     FGInstrumentMgr ();
33     virtual ~FGInstrumentMgr ();
34     bool build ();
35
36 private:
37     SGPropertyNode *config_props;
38     bool _explicitGps;
39 };
40
41 #endif // __INSTRUMENT_MGR_HXX