]> git.mxchange.org Git - flightgear.git/blob - src/Instrumentation/instrument_mgr.hxx
Make voiceplayer independent
[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     
35     virtual void init();
36     virtual void reinit();
37 private:
38     bool build (SGPropertyNode* config_props);
39     
40     bool _explicitGps;
41     
42     std::vector<std::string> _instruments;
43 };
44
45 #endif // __INSTRUMENT_MGR_HXX