2002-09-24 14:51:37 +00:00
|
|
|
// instrument_mgr.hxx - manage aircraft instruments.
|
|
|
|
// Written by David Megginson, started 2002.
|
|
|
|
//
|
|
|
|
// This file is in the Public Domain and comes with no warranty.
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __INSTRUMENT_MGR_HXX
|
|
|
|
#define __INSTRUMENT_MGR_HXX 1
|
|
|
|
|
|
|
|
#ifndef __cplusplus
|
|
|
|
# error This library requires C++
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include <config.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <simgear/compiler.h>
|
2003-09-24 17:20:55 +00:00
|
|
|
#include <simgear/structure/subsystem_mgr.hxx>
|
2002-09-24 14:51:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Manage aircraft instruments.
|
|
|
|
*
|
|
|
|
* In the initial draft, the instruments present are hard-coded, but they
|
|
|
|
* will soon be configurable for individual aircraft.
|
|
|
|
*/
|
2003-09-24 17:20:55 +00:00
|
|
|
class FGInstrumentMgr : public SGSubsystemGroup
|
2002-09-24 14:51:37 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
FGInstrumentMgr ();
|
|
|
|
virtual ~FGInstrumentMgr ();
|
2010-01-26 16:19:17 +00:00
|
|
|
bool build (SGPropertyNode* config_props);
|
2004-10-16 12:37:39 +00:00
|
|
|
|
|
|
|
private:
|
2009-10-13 22:01:48 +00:00
|
|
|
bool _explicitGps;
|
2002-09-24 14:51:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __INSTRUMENT_MGR_HXX
|