2002-09-23 19:55:10 +00:00
|
|
|
// 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>
|
2004-10-16 12:37:39 +00:00
|
|
|
#include <simgear/props/props.hxx>
|
2003-09-24 17:20:55 +00:00
|
|
|
#include <simgear/structure/subsystem_mgr.hxx>
|
2002-09-23 19:55:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Manage aircraft systems.
|
|
|
|
*
|
2004-10-16 12:37:39 +00:00
|
|
|
* Multiple aircraft systems can be configured for each aircraft.
|
2002-09-23 19:55:10 +00:00
|
|
|
*/
|
2003-09-24 17:20:55 +00:00
|
|
|
class FGSystemMgr : public SGSubsystemGroup
|
2002-09-23 19:55:10 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
FGSystemMgr ();
|
|
|
|
virtual ~FGSystemMgr ();
|
2010-01-26 16:19:17 +00:00
|
|
|
bool build (SGPropertyNode* config_props);
|
2004-10-16 12:37:39 +00:00
|
|
|
|
2002-09-23 19:55:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __SYSTEM_MGR_HXX
|