Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "User:Bugman/subsystems"

From FlightGear wiki
Jump to: navigation, search
(All subsystems: Update for the text output of the script.)
(All subsystems: Update for the XML output of the script.)
Line 852: Line 852:
 
| lang  = c
 
| lang  = c
 
| script =  
 
| script =  
 
 
Primary subsystems (90):
 
Primary subsystems (90):
 
     <AbstractInstrument : SGSubsystem declared in "src/Instrumentation/AbstractInstrument.hxx", implemented in "src/Instrumentation/AbstractInstrument.cxx">
 
     <AbstractInstrument : SGSubsystem declared in "src/Instrumentation/AbstractInstrument.hxx", implemented in "src/Instrumentation/AbstractInstrument.cxx">
Line 1,018: Line 1,017:
 
<?xml version="1.0"?>
 
<?xml version="1.0"?>
 
<subsystems>
 
<subsystems>
   <primary_subsystems count="94">
+
   <primary_subsystems count="90">
     <ADF>
+
     <AbstractInstrument>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>adf</staticSubsystemClassId>
+
       <declaration>src/Instrumentation/AbstractInstrument.hxx</declaration>
       <declaration>src/Instrumentation/adf.hxx</declaration>
+
       <implementation>src/Instrumentation/AbstractInstrument.cxx</implementation>
       <implementation>src/Instrumentation/adf.cxx</implementation>
+
     </AbstractInstrument>
     </ADF>
+
 
     <AirportDynamicsManager>
 
     <AirportDynamicsManager>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
Line 1,066: Line 1,064:
 
       <implementation>src/Instrumentation/clock.cxx</implementation>
 
       <implementation>src/Instrumentation/clock.cxx</implementation>
 
     </Clock>
 
     </Clock>
    <CommRadio>
 
      <inheritance>SGSubsystem</inheritance>
 
      <staticSubsystemClassId>comm-radio</staticSubsystemClassId>
 
      <declaration>src/Instrumentation/commradio.hxx</declaration>
 
    </CommRadio>
 
 
     <Component>
 
     <Component>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
Line 1,076: Line 1,069:
 
       <implementation>src/Autopilot/component.cxx</implementation>
 
       <implementation>src/Autopilot/component.cxx</implementation>
 
     </Component>
 
     </Component>
    <DCLGPS>
 
      <inheritance>SGSubsystem</inheritance>
 
      <declaration>src/Instrumentation/dclgps.hxx</declaration>
 
      <implementation>src/Instrumentation/dclgps.cxx</implementation>
 
    </DCLGPS>
 
    <DME>
 
      <inheritance>SGSubsystem</inheritance>
 
      <staticSubsystemClassId>dme</staticSubsystemClassId>
 
      <declaration>src/Instrumentation/dme.hxx</declaration>
 
      <implementation>src/Instrumentation/dme.cxx</implementation>
 
    </DME>
 
 
     <Ephemeris>
 
     <Ephemeris>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
Line 1,169: Line 1,151:
 
       <implementation>src/Main/fg_io.cxx</implementation>
 
       <implementation>src/Main/fg_io.cxx</implementation>
 
     </FGIO>
 
     </FGIO>
 +
    <FGInstrumentMgr>
 +
      <inheritance>SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>instrumentation</staticSubsystemClassId>
 +
      <declaration>src/Instrumentation/instrument_mgr.hxx</declaration>
 +
      <implementation>src/Instrumentation/instrument_mgr.cxx</implementation>
 +
    </FGInstrumentMgr>
 
     <FGInterface>
 
     <FGInterface>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
Line 1,210: Line 1,198:
 
       <implementation>src/Environment/magvarmanager.cxx</implementation>
 
       <implementation>src/Environment/magvarmanager.cxx</implementation>
 
     </FGMagVarManager>
 
     </FGMagVarManager>
    <FGMarkerBeacon>
 
      <inheritance>SGSubsystem</inheritance>
 
      <staticSubsystemClassId>marker-beacon</staticSubsystemClassId>
 
      <declaration>src/Instrumentation/marker_beacon.hxx</declaration>
 
      <implementation>src/Instrumentation/marker_beacon.cxx</implementation>
 
    </FGMarkerBeacon>
 
 
     <FGModelMgr>
 
     <FGModelMgr>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
Line 1,240: Line 1,222:
 
       <implementation>src/Scripting/NasalSys.cxx</implementation>
 
       <implementation>src/Scripting/NasalSys.cxx</implementation>
 
     </FGNasalSys>
 
     </FGNasalSys>
    <FGNavRadio>
 
      <inheritance>SGSubsystem</inheritance>
 
      <declaration>src/Instrumentation/navradio.hxx</declaration>
 
      <implementation>src/Instrumentation/navradio.cxx</implementation>
 
    </FGNavRadio>
 
 
     <FGPanel>
 
     <FGPanel>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
Line 1,253: Line 1,230:
 
     <FGPanelProtocol>
 
     <FGPanelProtocol>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>panel-protocol</staticSubsystemClassId>
 
       <declaration>utils/fgpanel/FGPanelProtocol.hxx</declaration>
 
       <declaration>utils/fgpanel/FGPanelProtocol.hxx</declaration>
 
       <implementation>utils/fgpanel/FGPanelProtocol.cxx</implementation>
 
       <implementation>utils/fgpanel/FGPanelProtocol.cxx</implementation>
Line 1,422: Line 1,400:
 
       <staticSubsystemClassId>nav-radio</staticSubsystemClassId>
 
       <staticSubsystemClassId>nav-radio</staticSubsystemClassId>
 
       <declaration>src/Instrumentation/newnavradio.hxx</declaration>
 
       <declaration>src/Instrumentation/newnavradio.hxx</declaration>
 +
      <implementation>src/Instrumentation/newnavradio.cxx</implementation>
 
     </NavRadio>
 
     </NavRadio>
 
     <NewGUI>
 
     <NewGUI>
Line 1,470: Line 1,449:
 
     <SGInterpolator>
 
     <SGInterpolator>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>interpolator</staticSubsystemClassId>
 
       <declaration>simgear/misc/interpolator.hxx</declaration>
 
       <declaration>simgear/misc/interpolator.hxx</declaration>
 
       <implementation>simgear/misc/interpolator.cxx</implementation>
 
       <implementation>simgear/misc/interpolator.cxx</implementation>
Line 1,486: Line 1,466:
 
     <SGSubsystemMgr>
 
     <SGSubsystemMgr>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>subsystem-mgr</staticSubsystemClassId>
 
       <declaration>simgear/structure/subsystem_mgr.hxx</declaration>
 
       <declaration>simgear/structure/subsystem_mgr.hxx</declaration>
 
       <implementation>simgear/structure/subsystem_mgr.cxx</implementation>
 
       <implementation>simgear/structure/subsystem_mgr.cxx</implementation>
Line 1,507: Line 1,488:
 
       <implementation>src/Systems/static.cxx</implementation>
 
       <implementation>src/Systems/static.cxx</implementation>
 
     </StaticSystem>
 
     </StaticSystem>
 +
    <SwiftConnection>
 +
      <inheritance>SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>swift</staticSubsystemClassId>
 +
      <declaration>src/Network/Swift/swift_connection.hxx</declaration>
 +
      <implementation>src/Network/Swift/swift_connection.cxx</implementation>
 +
    </SwiftConnection>
 
     <TACAN>
 
     <TACAN>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
Line 1,525: Line 1,512:
 
       <implementation>src/Time/TimeManager.cxx</implementation>
 
       <implementation>src/Time/TimeManager.cxx</implementation>
 
     </TimeManager>
 
     </TimeManager>
    <Transponder>
 
      <inheritance>SGSubsystem</inheritance>
 
      <staticSubsystemClassId>transponder</staticSubsystemClassId>
 
      <declaration>src/Instrumentation/transponder.hxx</declaration>
 
      <implementation>src/Instrumentation/transponder.cxx</implementation>
 
    </Transponder>
 
 
     <TurnIndicator>
 
     <TurnIndicator>
 
       <inheritance>SGSubsystem</inheritance>
 
       <inheritance>SGSubsystem</inheritance>
Line 1,562: Line 1,543:
 
     </wxRadarBg>
 
     </wxRadarBg>
 
   </primary_subsystems>
 
   </primary_subsystems>
   <primary_groups count="9">
+
   <primary_groups count="8">
 
     <Autopilot>
 
     <Autopilot>
 
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
 
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
Line 1,587: Line 1,568:
 
       <implementation>src/Input/input.cxx</implementation>
 
       <implementation>src/Input/input.cxx</implementation>
 
     </FGInput>
 
     </FGInput>
    <FGInstrumentMgr>
 
      <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
 
      <staticSubsystemClassId>instrumentation</staticSubsystemClassId>
 
      <declaration>src/Instrumentation/instrument_mgr.hxx</declaration>
 
      <implementation>src/Instrumentation/instrument_mgr.cxx</implementation>
 
    </FGInstrumentMgr>
 
 
     <FGSystemMgr>
 
     <FGSystemMgr>
 
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
 
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
Line 1,615: Line 1,590:
 
     </TerrainSampler>
 
     </TerrainSampler>
 
   </primary_groups>
 
   </primary_groups>
   <secondary_subsystems count="29">
+
   <secondary_subsystems count="32">
 +
    <ADF>
 +
      <inheritance>AbstractInstrument : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>adf</staticSubsystemClassId>
 +
      <declaration>src/Instrumentation/adf.hxx</declaration>
 +
      <implementation>src/Instrumentation/adf.cxx</implementation>
 +
    </ADF>
 
     <AnalogComponent>
 
     <AnalogComponent>
 
       <inheritance>Component : SGSubsystem</inheritance>
 
       <inheritance>Component : SGSubsystem</inheritance>
Line 1,631: Line 1,612:
 
       <implementation>simgear/canvas/CanvasMgr.cxx</implementation>
 
       <implementation>simgear/canvas/CanvasMgr.cxx</implementation>
 
     </CanvasMgr>
 
     </CanvasMgr>
     <CommRadioImpl>
+
     <CommRadio>
       <inheritance>CommRadio : SGSubsystem</inheritance>
+
       <inheritance>AbstractInstrument : SGSubsystem</inheritance>
       <declaration>src/Instrumentation/commradio.cxx</declaration>
+
      <staticSubsystemClassId>comm-radio</staticSubsystemClassId>
 +
       <declaration>src/Instrumentation/commradio.hxx</declaration>
 
       <implementation>src/Instrumentation/commradio.cxx</implementation>
 
       <implementation>src/Instrumentation/commradio.cxx</implementation>
     </CommRadioImpl>
+
     </CommRadio>
 +
    <DME>
 +
      <inheritance>AbstractInstrument : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>dme</staticSubsystemClassId>
 +
      <declaration>src/Instrumentation/dme.hxx</declaration>
 +
      <implementation>src/Instrumentation/dme.cxx</implementation>
 +
    </DME>
 
     <DigitalComponent>
 
     <DigitalComponent>
 
       <inheritance>Component : SGSubsystem</inheritance>
 
       <inheritance>Component : SGSubsystem</inheritance>
Line 1,655: Line 1,643:
 
     <FGAISim>
 
     <FGAISim>
 
       <inheritance>FGInterface : SGSubsystem</inheritance>
 
       <inheritance>FGInterface : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>aisim</staticSubsystemClassId>
 
       <declaration>src/FDM/SP/AISim.hpp</declaration>
 
       <declaration>src/FDM/SP/AISim.hpp</declaration>
 
       <implementation>src/FDM/SP/AISim.cpp</implementation>
 
       <implementation>src/FDM/SP/AISim.cpp</implementation>
Line 1,718: Line 1,707:
 
       <implementation>src/FDM/SP/MagicCarpet.cxx</implementation>
 
       <implementation>src/FDM/SP/MagicCarpet.cxx</implementation>
 
     </FGMagicCarpet>
 
     </FGMagicCarpet>
 +
    <FGMarkerBeacon>
 +
      <inheritance>AbstractInstrument : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>marker-beacon</staticSubsystemClassId>
 +
      <declaration>src/Instrumentation/marker_beacon.hxx</declaration>
 +
      <implementation>src/Instrumentation/marker_beacon.cxx</implementation>
 +
    </FGMarkerBeacon>
 +
    <FGNavRadio>
 +
      <inheritance>AbstractInstrument : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>old-navradio</staticSubsystemClassId>
 +
      <declaration>src/Instrumentation/navradio.hxx</declaration>
 +
      <implementation>src/Instrumentation/navradio.cxx</implementation>
 +
    </FGNavRadio>
 
     <FGNullFDM>
 
     <FGNullFDM>
 
       <inheritance>FGInterface : SGSubsystem</inheritance>
 
       <inheritance>FGInterface : SGSubsystem</inheritance>
Line 1,726: Line 1,727:
 
     <FGReadablePanel>
 
     <FGReadablePanel>
 
       <inheritance>FGPanel : SGSubsystem</inheritance>
 
       <inheritance>FGPanel : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>readable-panel</staticSubsystemClassId>
 
       <declaration>utils/fgpanel/panel_io.hxx</declaration>
 
       <declaration>utils/fgpanel/panel_io.hxx</declaration>
 
       <implementation>utils/fgpanel/panel_io.cxx</implementation>
 
       <implementation>utils/fgpanel/panel_io.cxx</implementation>
Line 1,741: Line 1,743:
 
       <implementation>src/FDM/UFO.cxx</implementation>
 
       <implementation>src/FDM/UFO.cxx</implementation>
 
     </FGUFO>
 
     </FGUFO>
    <KLN89>
 
      <inheritance>DCLGPS : SGSubsystem</inheritance>
 
      <staticSubsystemClassId>kln89</staticSubsystemClassId>
 
      <declaration>src/Instrumentation/KLN89/kln89.hxx</declaration>
 
      <implementation>src/Instrumentation/KLN89/kln89.cxx</implementation>
 
    </KLN89>
 
 
     <LayerInterpolateControllerImplementation>
 
     <LayerInterpolateControllerImplementation>
 
       <inheritance>LayerInterpolateController : SGSubsystem</inheritance>
 
       <inheritance>LayerInterpolateController : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>layer-interpolate-controller</staticSubsystemClassId>
 
       <declaration>src/Environment/environment_ctrl.cxx</declaration>
 
       <declaration>src/Environment/environment_ctrl.cxx</declaration>
 
       <implementation>src/Environment/environment_ctrl.cxx</implementation>
 
       <implementation>src/Environment/environment_ctrl.cxx</implementation>
Line 1,754: Line 1,751:
 
     <MongooseHttpd>
 
     <MongooseHttpd>
 
       <inheritance>FGHttpd : SGSubsystem</inheritance>
 
       <inheritance>FGHttpd : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>mongoose-httpd</staticSubsystemClassId>
 
       <declaration>src/Network/http/httpd.cxx</declaration>
 
       <declaration>src/Network/http/httpd.cxx</declaration>
 
       <implementation>src/Network/http/httpd.cxx</implementation>
 
       <implementation>src/Network/http/httpd.cxx</implementation>
 
     </MongooseHttpd>
 
     </MongooseHttpd>
    <NavRadioImpl>
 
      <inheritance>NavRadio : SGSubsystem</inheritance>
 
      <declaration>src/Instrumentation/newnavradio.cxx</declaration>
 
      <implementation>src/Instrumentation/newnavradio.cxx</implementation>
 
    </NavRadioImpl>
 
 
     <StateMachineComponent>
 
     <StateMachineComponent>
 
       <inheritance>Component : SGSubsystem</inheritance>
 
       <inheritance>Component : SGSubsystem</inheritance>
Line 1,767: Line 1,760:
 
       <declaration>src/Autopilot/autopilot.cxx</declaration>
 
       <declaration>src/Autopilot/autopilot.cxx</declaration>
 
     </StateMachineComponent>
 
     </StateMachineComponent>
 +
    <Transponder>
 +
      <inheritance>AbstractInstrument : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>transponder</staticSubsystemClassId>
 +
      <declaration>src/Instrumentation/transponder.hxx</declaration>
 +
      <implementation>src/Instrumentation/transponder.cxx</implementation>
 +
    </Transponder>
 
     <YASim>
 
     <YASim>
 
       <inheritance>FGInterface : SGSubsystem</inheritance>
 
       <inheritance>FGInterface : SGSubsystem</inheritance>
Line 1,783: Line 1,782:
 
     <FGXMLAutopilotGroupImplementation>
 
     <FGXMLAutopilotGroupImplementation>
 
       <inheritance>FGXMLAutopilotGroup : SGSubsystemGroup : SGSubsystem</inheritance>
 
       <inheritance>FGXMLAutopilotGroup : SGSubsystemGroup : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>xml-autopilot-group</staticSubsystemClassId>
 
       <declaration>src/Autopilot/autopilotgroup.cxx</declaration>
 
       <declaration>src/Autopilot/autopilotgroup.cxx</declaration>
 
       <implementation>src/Autopilot/autopilotgroup.cxx</implementation>
 
       <implementation>src/Autopilot/autopilotgroup.cxx</implementation>
Line 1,788: Line 1,788:
 
     <TerrainSamplerImplementation>
 
     <TerrainSamplerImplementation>
 
       <inheritance>TerrainSampler : SGSubsystemGroup : SGSubsystem</inheritance>
 
       <inheritance>TerrainSampler : SGSubsystemGroup : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>terrain-sampler</staticSubsystemClassId>
 
       <declaration>src/Environment/terrainsampler.cxx</declaration>
 
       <declaration>src/Environment/terrainsampler.cxx</declaration>
 
       <implementation>src/Environment/terrainsampler.cxx</implementation>
 
       <implementation>src/Environment/terrainsampler.cxx</implementation>
Line 1,813: Line 1,814:
 
     <NoaaMetarRealWxController>
 
     <NoaaMetarRealWxController>
 
       <inheritance>BasicRealWxController : RealWxController : SGSubsystem</inheritance>
 
       <inheritance>BasicRealWxController : RealWxController : SGSubsystem</inheritance>
 +
      <staticSubsystemClassId>noaa-metar-real-wx-controller</staticSubsystemClassId>
 
       <declaration>src/Environment/realwx_ctrl.cxx</declaration>
 
       <declaration>src/Environment/realwx_ctrl.cxx</declaration>
 
       <implementation>src/Environment/realwx_ctrl.cxx</implementation>
 
       <implementation>src/Environment/realwx_ctrl.cxx</implementation>
Line 1,850: Line 1,852:
 
     </simgear>
 
     </simgear>
 
     <flightgear>
 
     <flightgear>
       <subsystem_classes>119</subsystem_classes>
+
       <subsystem_classes>118</subsystem_classes>
       <subsystem_groups>10</subsystem_groups>
+
       <subsystem_groups>9</subsystem_groups>
       <total>129</total>
+
       <total>127</total>
 
     </flightgear>
 
     </flightgear>
 
     <combined>
 
     <combined>
       <subsystem_classes>131</subsystem_classes>
+
       <subsystem_classes>130</subsystem_classes>
       <subsystem_groups>11</subsystem_groups>
+
       <subsystem_groups>10</subsystem_groups>
       <total>142</total>
+
       <total>140</total>
 
     </combined>
 
     </combined>
 
   </counts>
 
   </counts>

Revision as of 09:35, 1 July 2019

Tracking down subsystems

Script

The following script is for finding all FlightGear dependencies:

All subsystems

The result is:

Refactoring

To check that all subsystems on a branch have been updated or refactored:

Automated test suite test creation

This script was used to generate the instanced and non-instanced subsystem system tests: