]> git.mxchange.org Git - flightgear.git/blob - src/Cockpit/cockpitDisplayManager.hxx
MapWidget: make partially use of the new colocated DME information.
[flightgear.git] / src / Cockpit / cockpitDisplayManager.hxx
1 // cockpitDisplayManager.hxx -- manage cockpit displays, typically
2 // rendered using a sub-camera or render-texture
3 //
4 // Copyright (C) 2012 James Turner  zakalawe@mac.com
5 //
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License as
8 // published by the Free Software Foundation; either version 2 of the
9 // License, or (at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful, but
12 // WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19
20 #ifndef COCKPIT_DISPLAY_MGR_HXX
21 #define COCKPIT_DISPLAY_MGR_HXX 1
22
23 #include <simgear/compiler.h>
24
25 #include <vector>
26 #include <simgear/structure/subsystem_mgr.hxx>
27
28 class SGPropertyNode;
29
30 namespace flightgear
31 {
32     
33 /**
34  * Manage aircraft displays.
35  */
36 class CockpitDisplayManager : public SGSubsystemGroup
37 {
38 public:
39
40     CockpitDisplayManager ();
41     virtual ~CockpitDisplayManager ();
42     
43     virtual void init();
44     virtual InitStatus incrementalInit();
45
46 private:
47     bool build (SGPropertyNode* config_props);
48         
49     std::vector<std::string> _displays;
50 };
51
52 } // of namespace lfightgear
53
54 #endif // COCKPIT_DISPLAY_MGR_HXX