1
0
Fork 0
flightgear/src/Systems/system_mgr.hxx
ehofman f614545fc5 Roy Vegard Ovesen:
Instrumentation and systems are now configureable from xml files. The two
generic configurations generic-systems.xml and generic-instrumentation.xml
configures the systems and instrumentation as it was hardcoded. You can
override the generic configurations in a similar way as you override the
autopilot configuration.
2004-10-16 12:37:39 +00:00

42 lines
762 B
C++

// system_mgr.hxx - manage aircraft systems.
// Written by David Megginson, started 2002.
//
// This file is in the Public Domain and comes with no warranty.
#ifndef __SYSTEM_MGR_HXX
#define __SYSTEM_MGR_HXX 1
#ifndef __cplusplus
# error This library requires C++
#endif
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <simgear/compiler.h>
#include <simgear/props/props.hxx>
#include <simgear/structure/subsystem_mgr.hxx>
/**
* Manage aircraft systems.
*
* Multiple aircraft systems can be configured for each aircraft.
*/
class FGSystemMgr : public SGSubsystemGroup
{
public:
FGSystemMgr ();
virtual ~FGSystemMgr ();
bool build ();
private:
SGPropertyNode *config_props;
bool enabled;
};
#endif // __SYSTEM_MGR_HXX