FlightGear
next
instrument_mgr.hxx
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: CC0-1.0
3
*
4
* instrument_mgr.hxx - manage aircraft instruments.
5
* Written by David Megginson, started 2002.
6
*
7
* This file is in the Public Domain and comes with no warranty.
8
*/
9
10
#pragma once
11
12
#include <simgear/compiler.h>
13
#include <simgear/structure/subsystem_mgr.hxx>
14
15
22
class
FGInstrumentMgr
:
public
SGSubsystemGroup
23
{
24
public
:
25
FGInstrumentMgr
();
26
virtual
~FGInstrumentMgr
();
27
28
// Subsystem API.
29
void
init
()
override
;
30
InitStatus
incrementalInit
()
override
;
31
32
// Subsystem identification.
33
static
const
char
*
staticSubsystemClassId
() {
return
"instrumentation"
; }
34
35
private
:
36
bool
build (SGPropertyNode* config_props,
const
SGPath& path);
37
38
bool
_explicitGps =
false
;
39
40
std::vector<std::string> _instruments;
41
};
FGInstrumentMgr::~FGInstrumentMgr
virtual ~FGInstrumentMgr()
Definition
instrument_mgr.cxx:56
FGInstrumentMgr::FGInstrumentMgr
FGInstrumentMgr()
Definition
instrument_mgr.cxx:51
FGInstrumentMgr::incrementalInit
InitStatus incrementalInit() override
Definition
instrument_mgr.cxx:60
FGInstrumentMgr::init
void init() override
Definition
instrument_mgr.cxx:66
FGInstrumentMgr::staticSubsystemClassId
static const char * staticSubsystemClassId()
Definition
instrument_mgr.hxx:33
src
Instrumentation
instrument_mgr.hxx
Generated on Tue Jun 3 2025 12:58:39 for FlightGear by
1.13.2