| 1 |
src/Instrumentation/ - gauge and avionics support code |
| 2 |
|
| 3 |
This directory contains code to support gauges, avionics, and other |
| 4 |
instruments in FlightGear. The file instrument_mgr.[ch]xx contains a |
| 5 |
subsystem group that holds all of the individual instruments. Every |
| 6 |
instrument should extend FGSubsystem (directly or via AbstractInstrument), |
| 7 |
and then should be added to the group in the FGInstrumentMgr constructor. |
| 8 |
|
| 9 |
Code is gradually moving into here from other areas, especially the |
| 10 |
src/Cockpit/ directory. |
| 11 |
|
| 12 |
Aircraft can select which instrumentation modules should be available |
| 13 |
using an XML configuration file loaded as |
| 14 |
<sim><instrumentation><path>. |
| 15 |
An example of such a configuration file can be found in FGData at |
| 16 |
Aircraft/Generic/generic-instrumentation.xml |
| 17 |
|