1 // cockpitDisplayManager.hxx -- manage cockpit displays, typically
2 // rendered using a sub-camera or render-texture
4 // Copyright (C) 2012 James Turner zakalawe@mac.com
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.
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.
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.
20 #ifndef COCKPIT_DISPLAY_MGR_HXX
21 #define COCKPIT_DISPLAY_MGR_HXX 1
23 #include <simgear/compiler.h>
26 #include <simgear/structure/subsystem_mgr.hxx>
34 * Manage aircraft displays.
36 class CockpitDisplayManager : public SGSubsystemGroup
40 CockpitDisplayManager ();
41 virtual ~CockpitDisplayManager ();
44 virtual InitStatus incrementalInit();
47 bool build (SGPropertyNode* config_props);
49 std::vector<std::string> _displays;
52 } // of namespace lfightgear
54 #endif // COCKPIT_DISPLAY_MGR_HXX