User:Bugman/subsystems: Difference between revisions
Jump to navigation
Jump to search
m (→All subsystems) |
(→Tracking down subsystems: Update for the grep output.) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 36: | Line 36: | ||
"""Class for finding all subsystems and subsystem groups.""" | """Class for finding all subsystems and subsystem groups.""" | ||
def __init__(self): | def __init__(self, output=True): | ||
"""Find all subsystems and subsystem groups.""" | """Find all subsystems and subsystem groups. | ||
@keyword output: A flag which if False will suppress all output to STDOUT. | |||
@type output: bool | |||
""" | |||
# Command line options. | # Command line options. | ||
Line 57: | Line 61: | ||
# Add some problematic non-parsable classes. | # Add some problematic non-parsable classes. | ||
if self.category_subsystems: | if self.category_subsystems: | ||
self.subsystems[1].append(Subsystem("FGAISim", base_class=Subsystem("FGInterface", base_class=Subsystem("SGSubsystem")), declaration_file="src/FDM/SP/AISim.hpp", root_path=self.root_path("src/FDM/SP/AISim.hpp"), full_path=self.output_full_path, xml=self.output_xml)) | self.subsystems[1].append(Subsystem("FGAISim", base_class=Subsystem("FGInterface", base_class=Subsystem("SGSubsystem")), static_id="aisim", declaration_file="src/FDM/SP/AISim.hpp", root_path=self.root_path("src/FDM/SP/AISim.hpp"), full_path=self.output_full_path, xml=self.output_xml)) | ||
# Find all SGSubsystem and SGSubsystemGroup derived classes. | # Find all SGSubsystem and SGSubsystemGroup derived classes. | ||
Line 92: | Line 96: | ||
# Final summary. | # Final summary. | ||
self.summarise() | if output: | ||
self.summarise() | |||
Line 630: | Line 635: | ||
"""Object for storing the information for a specific subsystem.""" | """Object for storing the information for a specific subsystem.""" | ||
def __init__(self, name, base_class=None, declaration_file=None, implementation_file=None, root_path=None, full_path=False, xml=False): | def __init__(self, name, base_class=None, static_id=None, declaration_file=None, implementation_file=None, root_path=None, full_path=False, xml=False): | ||
"""Set up the object. | """Set up the object. | ||
Line 637: | Line 642: | ||
@keyword base_class: The name of the base class. | @keyword base_class: The name of the base class. | ||
@type base_class: str | @type base_class: str | ||
@keyword static_id: The value returned by staticSubsystemClassId(). | |||
@type static_id: str | |||
@keyword declaration_file: The name of the file containing the subsystem declaration. | @keyword declaration_file: The name of the file containing the subsystem declaration. | ||
@type declaration_file: str | @type declaration_file: str | ||
Line 648: | Line 655: | ||
@type xml: bool | @type xml: bool | ||
""" | """ | ||
# Store the data. | # Store the data. | ||
self.name = name | self.name = name | ||
self.base_class = base_class | self.base_class = base_class | ||
self.staticSubsystemClassId = static_id | |||
self.implementation_file = implementation_file | self.implementation_file = implementation_file | ||
self.declaration_file = declaration_file | self.declaration_file = declaration_file | ||
Line 847: | Line 852: | ||
| lang = c | | lang = c | ||
| script = | | script = | ||
Primary subsystems ( | Primary subsystems (90): | ||
< | <AbstractInstrument : SGSubsystem declared in "src/Instrumentation/AbstractInstrument.hxx", implemented in "src/Instrumentation/AbstractInstrument.cxx"> | ||
<AirportDynamicsManager : SGSubsystem staticSubsystemClassId is "airport-dynamics" declared in "src/Airports/airportdynamicsmanager.hxx", implemented in "src/Airports/airportdynamicsmanager.cxx"> | <AirportDynamicsManager : SGSubsystem staticSubsystemClassId is "airport-dynamics" declared in "src/Airports/airportdynamicsmanager.hxx", implemented in "src/Airports/airportdynamicsmanager.cxx"> | ||
<AirspeedIndicator : SGSubsystem staticSubsystemClassId is "airspeed-indicator" declared in "src/Instrumentation/airspeed_indicator.hxx", implemented in "src/Instrumentation/airspeed_indicator.cxx"> | <AirspeedIndicator : SGSubsystem staticSubsystemClassId is "airspeed-indicator" declared in "src/Instrumentation/airspeed_indicator.hxx", implemented in "src/Instrumentation/airspeed_indicator.cxx"> | ||
Line 856: | Line 861: | ||
<AttitudeIndicator : SGSubsystem staticSubsystemClassId is "attitude-indicator" declared in "src/Instrumentation/attitude_indicator.hxx", implemented in "src/Instrumentation/attitude_indicator.cxx"> | <AttitudeIndicator : SGSubsystem staticSubsystemClassId is "attitude-indicator" declared in "src/Instrumentation/attitude_indicator.hxx", implemented in "src/Instrumentation/attitude_indicator.cxx"> | ||
<Clock : SGSubsystem staticSubsystemClassId is "clock" declared in "src/Instrumentation/clock.hxx", implemented in "src/Instrumentation/clock.cxx"> | <Clock : SGSubsystem staticSubsystemClassId is "clock" declared in "src/Instrumentation/clock.hxx", implemented in "src/Instrumentation/clock.cxx"> | ||
<Component : SGSubsystem declared in "src/Autopilot/component.hxx", implemented in "src/Autopilot/component.cxx"> | <Component : SGSubsystem declared in "src/Autopilot/component.hxx", implemented in "src/Autopilot/component.cxx"> | ||
<Ephemeris : SGSubsystem staticSubsystemClassId is "ephemeris" declared in "src/Environment/ephemeris.hxx", implemented in "src/Environment/ephemeris.cxx"> | <Ephemeris : SGSubsystem staticSubsystemClassId is "ephemeris" declared in "src/Environment/ephemeris.hxx", implemented in "src/Environment/ephemeris.cxx"> | ||
<FDMShell : SGSubsystem staticSubsystemClassId is "flight" declared in "src/FDM/fdm_shell.hxx", implemented in "src/FDM/fdm_shell.cxx"> | <FDMShell : SGSubsystem staticSubsystemClassId is "flight" declared in "src/FDM/fdm_shell.hxx", implemented in "src/FDM/fdm_shell.cxx"> | ||
Line 874: | Line 876: | ||
<FGHttpd : SGSubsystem staticSubsystemClassId is "httpd" declared in "src/Network/http/httpd.hxx"> | <FGHttpd : SGSubsystem staticSubsystemClassId is "httpd" declared in "src/Network/http/httpd.hxx"> | ||
<FGIO : SGSubsystem staticSubsystemClassId is "io" declared in "src/Main/fg_io.hxx", implemented in "src/Main/fg_io.cxx"> | <FGIO : SGSubsystem staticSubsystemClassId is "io" declared in "src/Main/fg_io.hxx", implemented in "src/Main/fg_io.cxx"> | ||
<FGInstrumentMgr : SGSubsystem staticSubsystemClassId is "instrumentation" declared in "src/Instrumentation/instrument_mgr.hxx", implemented in "src/Instrumentation/instrument_mgr.cxx"> | |||
<FGInterface : SGSubsystem declared in "src/FDM/flight.hxx", implemented in "src/FDM/flight.cxx"> | <FGInterface : SGSubsystem declared in "src/FDM/flight.hxx", implemented in "src/FDM/flight.cxx"> | ||
<FGJoystickInput : SGSubsystem staticSubsystemClassId is "input-joystick" declared in "src/Input/FGJoystickInput.hxx", implemented in "src/Input/FGJoystickInput.cxx"> | <FGJoystickInput : SGSubsystem staticSubsystemClassId is "input-joystick" declared in "src/Input/FGJoystickInput.hxx", implemented in "src/Input/FGJoystickInput.cxx"> | ||
Line 881: | Line 884: | ||
<FGLogger : SGSubsystem staticSubsystemClassId is "logger" declared in "src/Main/logger.hxx", implemented in "src/Main/logger.cxx"> | <FGLogger : SGSubsystem staticSubsystemClassId is "logger" declared in "src/Main/logger.hxx", implemented in "src/Main/logger.cxx"> | ||
<FGMagVarManager : SGSubsystem staticSubsystemClassId is "magvar" declared in "src/Environment/magvarmanager.hxx", implemented in "src/Environment/magvarmanager.cxx"> | <FGMagVarManager : SGSubsystem staticSubsystemClassId is "magvar" declared in "src/Environment/magvarmanager.hxx", implemented in "src/Environment/magvarmanager.cxx"> | ||
<FGModelMgr : SGSubsystem staticSubsystemClassId is "model-manager" declared in "src/Model/modelmgr.hxx", implemented in "src/Model/modelmgr.cxx"> | <FGModelMgr : SGSubsystem staticSubsystemClassId is "model-manager" declared in "src/Model/modelmgr.hxx", implemented in "src/Model/modelmgr.cxx"> | ||
<FGMouseInput : SGSubsystem staticSubsystemClassId is "input-mouse" declared in "src/Input/FGMouseInput.hxx", implemented in "src/Input/FGMouseInput.cxx"> | <FGMouseInput : SGSubsystem staticSubsystemClassId is "input-mouse" declared in "src/Input/FGMouseInput.hxx", implemented in "src/Input/FGMouseInput.cxx"> | ||
<FGMultiplayMgr : SGSubsystem staticSubsystemClassId is "mp" declared in "src/MultiPlayer/multiplaymgr.hxx", implemented in "src/MultiPlayer/multiplaymgr.cxx"> | <FGMultiplayMgr : SGSubsystem staticSubsystemClassId is "mp" declared in "src/MultiPlayer/multiplaymgr.hxx", implemented in "src/MultiPlayer/multiplaymgr.cxx"> | ||
<FGNasalSys : SGSubsystem staticSubsystemClassId is "nasal" declared in "src/Scripting/NasalSys.hxx", implemented in "src/Scripting/NasalSys.cxx"> | <FGNasalSys : SGSubsystem staticSubsystemClassId is "nasal" declared in "src/Scripting/NasalSys.hxx", implemented in "src/Scripting/NasalSys.cxx"> | ||
<FGPanel : SGSubsystem staticSubsystemClassId is "panel" declared in "utils/fgpanel/FGPanel.hxx", implemented in "utils/fgpanel/FGPanel.cxx"> | <FGPanel : SGSubsystem staticSubsystemClassId is "panel" declared in "utils/fgpanel/FGPanel.hxx", implemented in "utils/fgpanel/FGPanel.cxx"> | ||
<FGPanelProtocol : SGSubsystem declared in "utils/fgpanel/FGPanelProtocol.hxx", implemented in "utils/fgpanel/FGPanelProtocol.cxx"> | <FGPanelProtocol : SGSubsystem staticSubsystemClassId is "panel-protocol" declared in "utils/fgpanel/FGPanelProtocol.hxx", implemented in "utils/fgpanel/FGPanelProtocol.cxx"> | ||
<FGPrecipitationMgr : SGSubsystem staticSubsystemClassId is "precipitation" declared in "src/Environment/precipitation_mgr.hxx", implemented in "src/Environment/precipitation_mgr.cxx"> | <FGPrecipitationMgr : SGSubsystem staticSubsystemClassId is "precipitation" declared in "src/Environment/precipitation_mgr.hxx", implemented in "src/Environment/precipitation_mgr.cxx"> | ||
<FGProperties : SGSubsystem staticSubsystemClassId is "properties" declared in "src/Main/fg_props.hxx", implemented in "src/Main/fg_props.cxx"> | <FGProperties : SGSubsystem staticSubsystemClassId is "properties" declared in "src/Main/fg_props.hxx", implemented in "src/Main/fg_props.cxx"> | ||
Line 917: | Line 918: | ||
<MySub1 : SGSubsystem staticSubsystemClassId is "mysub" declared in "simgear/structure/subsystem_test.cxx"> | <MySub1 : SGSubsystem staticSubsystemClassId is "mysub" declared in "simgear/structure/subsystem_test.cxx"> | ||
<NavDisplay : SGSubsystem staticSubsystemClassId is "navigation-display" declared in "src/Cockpit/NavDisplay.hxx", implemented in "src/Cockpit/NavDisplay.cxx"> | <NavDisplay : SGSubsystem staticSubsystemClassId is "navigation-display" declared in "src/Cockpit/NavDisplay.hxx", implemented in "src/Cockpit/NavDisplay.cxx"> | ||
<NavRadio : SGSubsystem staticSubsystemClassId is "nav-radio" declared in "src/Instrumentation/newnavradio.hxx"> | <NavRadio : SGSubsystem staticSubsystemClassId is "nav-radio" declared in "src/Instrumentation/newnavradio.hxx", implemented in "src/Instrumentation/newnavradio.cxx"> | ||
<NewGUI : SGSubsystem staticSubsystemClassId is "gui" declared in "src/GUI/new_gui.hxx", implemented in "src/GUI/new_gui.cxx"> | <NewGUI : SGSubsystem staticSubsystemClassId is "gui" declared in "src/GUI/new_gui.hxx", implemented in "src/GUI/new_gui.cxx"> | ||
<PerformanceDB : SGSubsystem staticSubsystemClassId is "aircraft-performance-db" declared in "src/AIModel/performancedb.hxx", implemented in "src/AIModel/performancedb.cxx"> | <PerformanceDB : SGSubsystem staticSubsystemClassId is "aircraft-performance-db" declared in "src/AIModel/performancedb.hxx", implemented in "src/AIModel/performancedb.cxx"> | ||
Line 926: | Line 927: | ||
<RealWxController : SGSubsystem declared in "src/Environment/realwx_ctrl.hxx", implemented in "src/Environment/realwx_ctrl.cxx"> | <RealWxController : SGSubsystem declared in "src/Environment/realwx_ctrl.hxx", implemented in "src/Environment/realwx_ctrl.cxx"> | ||
<SGEventMgr : SGSubsystem staticSubsystemClassId is "events" declared in "simgear/structure/event_mgr.hxx", implemented in "simgear/structure/event_mgr.cxx"> | <SGEventMgr : SGSubsystem staticSubsystemClassId is "events" declared in "simgear/structure/event_mgr.hxx", implemented in "simgear/structure/event_mgr.cxx"> | ||
<SGInterpolator : SGSubsystem declared in "simgear/misc/interpolator.hxx", implemented in "simgear/misc/interpolator.cxx"> | <SGInterpolator : SGSubsystem staticSubsystemClassId is "interpolator" declared in "simgear/misc/interpolator.hxx", implemented in "simgear/misc/interpolator.cxx"> | ||
<SGPerformanceMonitor : SGSubsystem staticSubsystemClassId is "performance-mon" declared in "simgear/structure/SGPerfMon.hxx", implemented in "simgear/structure/SGPerfMon.cxx"> | <SGPerformanceMonitor : SGSubsystem staticSubsystemClassId is "performance-mon" declared in "simgear/structure/SGPerfMon.hxx", implemented in "simgear/structure/SGPerfMon.cxx"> | ||
<SGSoundMgr : SGSubsystem staticSubsystemClassId is "sound" declared in "simgear/sound/soundmgr.hxx"> | <SGSoundMgr : SGSubsystem staticSubsystemClassId is "sound" declared in "simgear/sound/soundmgr.hxx"> | ||
<SGSubsystemMgr : SGSubsystem declared in "simgear/structure/subsystem_mgr.hxx", implemented in "simgear/structure/subsystem_mgr.cxx"> | <SGSubsystemMgr : SGSubsystem staticSubsystemClassId is "subsystem-mgr" declared in "simgear/structure/subsystem_mgr.hxx", implemented in "simgear/structure/subsystem_mgr.cxx"> | ||
<SGTerraSync : SGSubsystem staticSubsystemClassId is "terrasync" declared in "simgear/scene/tsync/terrasync.hxx", implemented in "simgear/scene/tsync/terrasync.cxx"> | <SGTerraSync : SGSubsystem staticSubsystemClassId is "terrasync" declared in "simgear/scene/tsync/terrasync.hxx", implemented in "simgear/scene/tsync/terrasync.cxx"> | ||
<SlipSkidBall : SGSubsystem staticSubsystemClassId is "slip-skid-ball" declared in "src/Instrumentation/slip_skid_ball.hxx", implemented in "src/Instrumentation/slip_skid_ball.cxx"> | <SlipSkidBall : SGSubsystem staticSubsystemClassId is "slip-skid-ball" declared in "src/Instrumentation/slip_skid_ball.hxx", implemented in "src/Instrumentation/slip_skid_ball.cxx"> | ||
<StaticSystem : SGSubsystem staticSubsystemClassId is "static" declared in "src/Systems/static.hxx", implemented in "src/Systems/static.cxx"> | <StaticSystem : SGSubsystem staticSubsystemClassId is "static" declared in "src/Systems/static.hxx", implemented in "src/Systems/static.cxx"> | ||
<SwiftConnection : SGSubsystem staticSubsystemClassId is "swift" declared in "src/Network/Swift/swift_connection.hxx", implemented in "src/Network/Swift/swift_connection.cxx"> | |||
<TACAN : SGSubsystem staticSubsystemClassId is "tacan" declared in "src/Instrumentation/tacan.hxx", implemented in "src/Instrumentation/tacan.cxx"> | <TACAN : SGSubsystem staticSubsystemClassId is "tacan" declared in "src/Instrumentation/tacan.hxx", implemented in "src/Instrumentation/tacan.cxx"> | ||
<TCAS : SGSubsystem staticSubsystemClassId is "tcas" declared in "src/Instrumentation/tcas.hxx", implemented in "src/Instrumentation/tcas.cxx"> | <TCAS : SGSubsystem staticSubsystemClassId is "tcas" declared in "src/Instrumentation/tcas.hxx", implemented in "src/Instrumentation/tcas.cxx"> | ||
<TimeManager : SGSubsystem staticSubsystemClassId is "time" declared in "src/Time/TimeManager.hxx", implemented in "src/Time/TimeManager.cxx"> | <TimeManager : SGSubsystem staticSubsystemClassId is "time" declared in "src/Time/TimeManager.hxx", implemented in "src/Time/TimeManager.cxx"> | ||
<TurnIndicator : SGSubsystem staticSubsystemClassId is "turn-indicator" declared in "src/Instrumentation/turn_indicator.hxx", implemented in "src/Instrumentation/turn_indicator.cxx"> | <TurnIndicator : SGSubsystem staticSubsystemClassId is "turn-indicator" declared in "src/Instrumentation/turn_indicator.hxx", implemented in "src/Instrumentation/turn_indicator.cxx"> | ||
<VacuumSystem : SGSubsystem staticSubsystemClassId is "vacuum" declared in "src/Systems/vacuum.hxx", implemented in "src/Systems/vacuum.cxx"> | <VacuumSystem : SGSubsystem staticSubsystemClassId is "vacuum" declared in "src/Systems/vacuum.hxx", implemented in "src/Systems/vacuum.cxx"> | ||
Line 943: | Line 944: | ||
<wxRadarBg : SGSubsystem staticSubsystemClassId is "radar" declared in "src/Cockpit/wxradar.hxx", implemented in "src/Cockpit/wxradar.cxx"> | <wxRadarBg : SGSubsystem staticSubsystemClassId is "radar" declared in "src/Cockpit/wxradar.hxx", implemented in "src/Cockpit/wxradar.cxx"> | ||
Primary groups ( | Primary groups (8): | ||
<Autopilot : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "autopilot" declared in "src/Autopilot/autopilot.hxx", implemented in "src/Autopilot/autopilot.cxx"> | <Autopilot : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "autopilot" declared in "src/Autopilot/autopilot.hxx", implemented in "src/Autopilot/autopilot.cxx"> | ||
<CockpitDisplayManager : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "cockpit-displays" declared in "src/Cockpit/cockpitDisplayManager.hxx", implemented in "src/Cockpit/cockpitDisplayManager.cxx"> | <CockpitDisplayManager : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "cockpit-displays" declared in "src/Cockpit/cockpitDisplayManager.hxx", implemented in "src/Cockpit/cockpitDisplayManager.cxx"> | ||
<FGEnvironmentMgr : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "environment" declared in "src/Environment/environment_mgr.hxx", implemented in "src/Environment/environment_mgr.cxx"> | <FGEnvironmentMgr : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "environment" declared in "src/Environment/environment_mgr.hxx", implemented in "src/Environment/environment_mgr.cxx"> | ||
<FGInput : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "input" declared in "src/Input/input.hxx", implemented in "src/Input/input.cxx"> | <FGInput : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "input" declared in "src/Input/input.hxx", implemented in "src/Input/input.cxx"> | ||
<FGSystemMgr : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "systems" declared in "src/Systems/system_mgr.hxx", implemented in "src/Systems/system_mgr.cxx"> | <FGSystemMgr : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "systems" declared in "src/Systems/system_mgr.hxx", implemented in "src/Systems/system_mgr.cxx"> | ||
<FGXMLAutopilotGroup : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "xml-rules" declared in "src/Autopilot/autopilotgroup.hxx", implemented in "src/Autopilot/autopilotgroup.cxx"> | <FGXMLAutopilotGroup : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "xml-rules" declared in "src/Autopilot/autopilotgroup.hxx", implemented in "src/Autopilot/autopilotgroup.cxx"> | ||
Line 954: | Line 954: | ||
<TerrainSampler : SGSubsystemGroup : SGSubsystem declared in "src/Environment/terrainsampler.hxx"> | <TerrainSampler : SGSubsystemGroup : SGSubsystem declared in "src/Environment/terrainsampler.hxx"> | ||
Secondary subsystems ( | Secondary subsystems (32): | ||
<ADF : AbstractInstrument : SGSubsystem staticSubsystemClassId is "adf" declared in "src/Instrumentation/adf.hxx", implemented in "src/Instrumentation/adf.cxx"> | |||
<AnalogComponent : Component : SGSubsystem declared in "src/Autopilot/analogcomponent.hxx", implemented in "src/Autopilot/analogcomponent.cxx"> | <AnalogComponent : Component : SGSubsystem declared in "src/Autopilot/analogcomponent.hxx", implemented in "src/Autopilot/analogcomponent.cxx"> | ||
<BasicRealWxController : RealWxController : SGSubsystem declared in "src/Environment/realwx_ctrl.cxx", implemented in "src/Environment/realwx_ctrl.cxx"> | <BasicRealWxController : RealWxController : SGSubsystem declared in "src/Environment/realwx_ctrl.cxx", implemented in "src/Environment/realwx_ctrl.cxx"> | ||
<CanvasMgr : PropertyBasedMgr : SGSubsystem declared in "simgear/canvas/CanvasMgr.hxx", implemented in "simgear/canvas/CanvasMgr.cxx"> | <CanvasMgr : PropertyBasedMgr : SGSubsystem declared in "simgear/canvas/CanvasMgr.hxx", implemented in "simgear/canvas/CanvasMgr.cxx"> | ||
< | <CommRadio : AbstractInstrument : SGSubsystem staticSubsystemClassId is "comm-radio" declared in "src/Instrumentation/commradio.hxx", implemented in "src/Instrumentation/commradio.cxx"> | ||
<DME : AbstractInstrument : SGSubsystem staticSubsystemClassId is "dme" declared in "src/Instrumentation/dme.hxx", implemented in "src/Instrumentation/dme.cxx"> | |||
<DigitalComponent : Component : SGSubsystem declared in "src/Autopilot/digitalcomponent.hxx", implemented in "src/Autopilot/digitalcomponent.cxx"> | <DigitalComponent : Component : SGSubsystem declared in "src/Autopilot/digitalcomponent.hxx", implemented in "src/Autopilot/digitalcomponent.cxx"> | ||
<FGACMS : FGInterface : SGSubsystem staticSubsystemClassId is "acms" declared in "src/FDM/SP/ACMS.hxx", implemented in "src/FDM/SP/ACMS.cxx"> | <FGACMS : FGInterface : SGSubsystem staticSubsystemClassId is "acms" declared in "src/FDM/SP/ACMS.hxx", implemented in "src/FDM/SP/ACMS.cxx"> | ||
<FGADA : FGInterface : SGSubsystem staticSubsystemClassId is "ada" declared in "src/FDM/SP/ADA.hxx", implemented in "src/FDM/SP/ADA.cxx"> | <FGADA : FGInterface : SGSubsystem staticSubsystemClassId is "ada" declared in "src/FDM/SP/ADA.hxx", implemented in "src/FDM/SP/ADA.cxx"> | ||
<FGAISim : FGInterface : SGSubsystem declared in "src/FDM/SP/AISim.hpp", implemented in "src/FDM/SP/AISim.cpp"> | <FGAISim : FGInterface : SGSubsystem staticSubsystemClassId is "aisim" declared in "src/FDM/SP/AISim.hpp", implemented in "src/FDM/SP/AISim.cpp"> | ||
<FGBalloonSim : FGInterface : SGSubsystem staticSubsystemClassId is "balloon" declared in "src/FDM/SP/Balloon.h", implemented in "src/FDM/SP/Balloon.cxx"> | <FGBalloonSim : FGInterface : SGSubsystem staticSubsystemClassId is "balloon" declared in "src/FDM/SP/Balloon.h", implemented in "src/FDM/SP/Balloon.cxx"> | ||
<FGExternalNet : FGInterface : SGSubsystem staticSubsystemClassId is "network" declared in "src/FDM/ExternalNet/ExternalNet.hxx", implemented in "src/FDM/ExternalNet/ExternalNet.cxx"> | <FGExternalNet : FGInterface : SGSubsystem staticSubsystemClassId is "network" declared in "src/FDM/ExternalNet/ExternalNet.hxx", implemented in "src/FDM/ExternalNet/ExternalNet.cxx"> | ||
Line 973: | Line 975: | ||
<FGMacOSXEventInput : FGEventInput : SGSubsystem staticSubsystemClassId is "input-event" declared in "src/Input/FGMacOSXEventInput.hxx", implemented in "src/Input/FGMacOSXEventInput.cxx"> | <FGMacOSXEventInput : FGEventInput : SGSubsystem staticSubsystemClassId is "input-event" declared in "src/Input/FGMacOSXEventInput.hxx", implemented in "src/Input/FGMacOSXEventInput.cxx"> | ||
<FGMagicCarpet : FGInterface : SGSubsystem staticSubsystemClassId is "magic" declared in "src/FDM/SP/MagicCarpet.hxx", implemented in "src/FDM/SP/MagicCarpet.cxx"> | <FGMagicCarpet : FGInterface : SGSubsystem staticSubsystemClassId is "magic" declared in "src/FDM/SP/MagicCarpet.hxx", implemented in "src/FDM/SP/MagicCarpet.cxx"> | ||
<FGMarkerBeacon : AbstractInstrument : SGSubsystem staticSubsystemClassId is "marker-beacon" declared in "src/Instrumentation/marker_beacon.hxx", implemented in "src/Instrumentation/marker_beacon.cxx"> | |||
<FGNavRadio : AbstractInstrument : SGSubsystem staticSubsystemClassId is "old-navradio" declared in "src/Instrumentation/navradio.hxx", implemented in "src/Instrumentation/navradio.cxx"> | |||
<FGNullFDM : FGInterface : SGSubsystem staticSubsystemClassId is "null" declared in "src/FDM/NullFDM.hxx", implemented in "src/FDM/NullFDM.cxx"> | <FGNullFDM : FGInterface : SGSubsystem staticSubsystemClassId is "null" declared in "src/FDM/NullFDM.hxx", implemented in "src/FDM/NullFDM.cxx"> | ||
<FGReadablePanel : FGPanel : SGSubsystem declared in "utils/fgpanel/panel_io.hxx", implemented in "utils/fgpanel/panel_io.cxx"> | <FGReadablePanel : FGPanel : SGSubsystem staticSubsystemClassId is "readable-panel" declared in "utils/fgpanel/panel_io.hxx", implemented in "utils/fgpanel/panel_io.cxx"> | ||
<FGSoundManager : SGSoundMgr : SGSubsystem staticSubsystemClassId is "sound" declared in "src/Sound/soundmanager.hxx", implemented in "src/Sound/soundmanager.cxx"> | <FGSoundManager : SGSoundMgr : SGSubsystem staticSubsystemClassId is "sound" declared in "src/Sound/soundmanager.hxx", implemented in "src/Sound/soundmanager.cxx"> | ||
<FGUFO : FGInterface : SGSubsystem staticSubsystemClassId is "ufo" declared in "src/FDM/UFO.hxx", implemented in "src/FDM/UFO.cxx"> | <FGUFO : FGInterface : SGSubsystem staticSubsystemClassId is "ufo" declared in "src/FDM/UFO.hxx", implemented in "src/FDM/UFO.cxx"> | ||
< | <LayerInterpolateControllerImplementation : LayerInterpolateController : SGSubsystem staticSubsystemClassId is "layer-interpolate-controller" declared in "src/Environment/environment_ctrl.cxx", implemented in "src/Environment/environment_ctrl.cxx"> | ||
<MongooseHttpd : FGHttpd : SGSubsystem staticSubsystemClassId is "mongoose-httpd" declared in "src/Network/http/httpd.cxx", implemented in "src/Network/http/httpd.cxx"> | |||
<MongooseHttpd : FGHttpd : SGSubsystem declared in "src/Network/http/httpd.cxx", implemented in "src/Network/http/httpd | |||
<StateMachineComponent : Component : SGSubsystem staticSubsystemClassId is "state-machine" declared in "src/Autopilot/autopilot.cxx"> | <StateMachineComponent : Component : SGSubsystem staticSubsystemClassId is "state-machine" declared in "src/Autopilot/autopilot.cxx"> | ||
<Transponder : AbstractInstrument : SGSubsystem staticSubsystemClassId is "transponder" declared in "src/Instrumentation/transponder.hxx", implemented in "src/Instrumentation/transponder.cxx"> | |||
<YASim : FGInterface : SGSubsystem staticSubsystemClassId is "yasim" declared in "src/FDM/YASim/YASim.hxx", implemented in "src/FDM/YASim/YASim.cxx"> | <YASim : FGInterface : SGSubsystem staticSubsystemClassId is "yasim" declared in "src/FDM/YASim/YASim.hxx", implemented in "src/FDM/YASim/YASim.cxx"> | ||
<agRadar : wxRadarBg : SGSubsystem staticSubsystemClassId is "air-ground-radar" declared in "src/Cockpit/agradar.hxx", implemented in "src/Cockpit/agradar.cxx"> | <agRadar : wxRadarBg : SGSubsystem staticSubsystemClassId is "air-ground-radar" declared in "src/Cockpit/agradar.hxx", implemented in "src/Cockpit/agradar.cxx"> | ||
Secondary groups (2): | Secondary groups (2): | ||
<FGXMLAutopilotGroupImplementation : FGXMLAutopilotGroup : SGSubsystemGroup : SGSubsystem declared in "src/Autopilot/autopilotgroup.cxx", implemented in "src/Autopilot/autopilotgroup.cxx"> | <FGXMLAutopilotGroupImplementation : FGXMLAutopilotGroup : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "xml-autopilot-group" declared in "src/Autopilot/autopilotgroup.cxx", implemented in "src/Autopilot/autopilotgroup.cxx"> | ||
<TerrainSamplerImplementation : TerrainSampler : SGSubsystemGroup : SGSubsystem declared in "src/Environment/terrainsampler.cxx", implemented in "src/Environment/terrainsampler.cxx"> | <TerrainSamplerImplementation : TerrainSampler : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "terrain-sampler" declared in "src/Environment/terrainsampler.cxx", implemented in "src/Environment/terrainsampler.cxx"> | ||
Tertiary subsystems (7): | Tertiary subsystems (7): | ||
Line 993: | Line 996: | ||
<DigitalFilter : AnalogComponent : Component : SGSubsystem staticSubsystemClassId is "filter" declared in "src/Autopilot/digitalfilter.hxx", implemented in "src/Autopilot/digitalfilter.cxx"> | <DigitalFilter : AnalogComponent : Component : SGSubsystem staticSubsystemClassId is "filter" declared in "src/Autopilot/digitalfilter.hxx", implemented in "src/Autopilot/digitalfilter.cxx"> | ||
<Logic : DigitalComponent : Component : SGSubsystem staticSubsystemClassId is "logic" declared in "src/Autopilot/logic.hxx", implemented in "src/Autopilot/logic.cxx"> | <Logic : DigitalComponent : Component : SGSubsystem staticSubsystemClassId is "logic" declared in "src/Autopilot/logic.hxx", implemented in "src/Autopilot/logic.cxx"> | ||
<NoaaMetarRealWxController : BasicRealWxController : RealWxController : SGSubsystem declared in "src/Environment/realwx_ctrl.cxx", implemented in "src/Environment/realwx_ctrl.cxx"> | <NoaaMetarRealWxController : BasicRealWxController : RealWxController : SGSubsystem staticSubsystemClassId is "noaa-metar-real-wx-controller" declared in "src/Environment/realwx_ctrl.cxx", implemented in "src/Environment/realwx_ctrl.cxx"> | ||
<PIDController : AnalogComponent : Component : SGSubsystem staticSubsystemClassId is "pid-controller" declared in "src/Autopilot/pidcontroller.hxx", implemented in "src/Autopilot/pidcontroller.cxx"> | <PIDController : AnalogComponent : Component : SGSubsystem staticSubsystemClassId is "pid-controller" declared in "src/Autopilot/pidcontroller.hxx", implemented in "src/Autopilot/pidcontroller.cxx"> | ||
<PISimpleController : AnalogComponent : Component : SGSubsystem staticSubsystemClassId is "pi-simple-controller" declared in "src/Autopilot/pisimplecontroller.hxx", implemented in "src/Autopilot/pisimplecontroller.cxx"> | <PISimpleController : AnalogComponent : Component : SGSubsystem staticSubsystemClassId is "pi-simple-controller" declared in "src/Autopilot/pisimplecontroller.hxx", implemented in "src/Autopilot/pisimplecontroller.cxx"> | ||
Line 1,001: | Line 1,004: | ||
<FlipFlop : Logic : DigitalComponent : Component : SGSubsystem staticSubsystemClassId is "flipflop" declared in "src/Autopilot/flipflop.hxx", implemented in "src/Autopilot/flipflop.cxx"> | <FlipFlop : Logic : DigitalComponent : Component : SGSubsystem staticSubsystemClassId is "flipflop" declared in "src/Autopilot/flipflop.hxx", implemented in "src/Autopilot/flipflop.cxx"> | ||
Counts: | Counts: 130 subsystem classes (118 flightgear, 12 simgear). | ||
Counts: | Counts: 10 subsystem groups (9 flightgear, 1 simgear). | ||
Counts: | Counts: 140 subsystem classes and groups (127 flightgear, 13 simgear). | ||
}} | }} | ||
Line 1,014: | Line 1,017: | ||
<?xml version="1.0"?> | <?xml version="1.0"?> | ||
<subsystems> | <subsystems> | ||
<primary_subsystems count=" | <primary_subsystems count="90"> | ||
< | <AbstractInstrument> | ||
<inheritance>SGSubsystem</inheritance> | <inheritance>SGSubsystem</inheritance> | ||
<declaration>src/Instrumentation/AbstractInstrument.hxx</declaration> | |||
<declaration>src/Instrumentation/ | <implementation>src/Instrumentation/AbstractInstrument.cxx</implementation> | ||
<implementation>src/Instrumentation/ | </AbstractInstrument> | ||
</ | |||
<AirportDynamicsManager> | <AirportDynamicsManager> | ||
<inheritance>SGSubsystem</inheritance> | <inheritance>SGSubsystem</inheritance> | ||
Line 1,062: | Line 1,064: | ||
<implementation>src/Instrumentation/clock.cxx</implementation> | <implementation>src/Instrumentation/clock.cxx</implementation> | ||
</Clock> | </Clock> | ||
<Component> | <Component> | ||
<inheritance>SGSubsystem</inheritance> | <inheritance>SGSubsystem</inheritance> | ||
Line 1,072: | Line 1,069: | ||
<implementation>src/Autopilot/component.cxx</implementation> | <implementation>src/Autopilot/component.cxx</implementation> | ||
</Component> | </Component> | ||
<Ephemeris> | <Ephemeris> | ||
<inheritance>SGSubsystem</inheritance> | <inheritance>SGSubsystem</inheritance> | ||
Line 1,165: | 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,206: | Line 1,198: | ||
<implementation>src/Environment/magvarmanager.cxx</implementation> | <implementation>src/Environment/magvarmanager.cxx</implementation> | ||
</FGMagVarManager> | </FGMagVarManager> | ||
<FGModelMgr> | <FGModelMgr> | ||
<inheritance>SGSubsystem</inheritance> | <inheritance>SGSubsystem</inheritance> | ||
Line 1,236: | Line 1,222: | ||
<implementation>src/Scripting/NasalSys.cxx</implementation> | <implementation>src/Scripting/NasalSys.cxx</implementation> | ||
</FGNasalSys> | </FGNasalSys> | ||
<FGPanel> | <FGPanel> | ||
<inheritance>SGSubsystem</inheritance> | <inheritance>SGSubsystem</inheritance> | ||
Line 1,249: | 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,418: | 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,466: | 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,482: | 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,503: | 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,521: | Line 1,512: | ||
<implementation>src/Time/TimeManager.cxx</implementation> | <implementation>src/Time/TimeManager.cxx</implementation> | ||
</TimeManager> | </TimeManager> | ||
<TurnIndicator> | <TurnIndicator> | ||
<inheritance>SGSubsystem</inheritance> | <inheritance>SGSubsystem</inheritance> | ||
Line 1,558: | Line 1,543: | ||
</wxRadarBg> | </wxRadarBg> | ||
</primary_subsystems> | </primary_subsystems> | ||
<primary_groups count=" | <primary_groups count="8"> | ||
<Autopilot> | <Autopilot> | ||
<inheritance>SGSubsystemGroup : SGSubsystem</inheritance> | <inheritance>SGSubsystemGroup : SGSubsystem</inheritance> | ||
Line 1,583: | Line 1,568: | ||
<implementation>src/Input/input.cxx</implementation> | <implementation>src/Input/input.cxx</implementation> | ||
</FGInput> | </FGInput> | ||
<FGSystemMgr> | <FGSystemMgr> | ||
<inheritance>SGSubsystemGroup : SGSubsystem</inheritance> | <inheritance>SGSubsystemGroup : SGSubsystem</inheritance> | ||
Line 1,611: | Line 1,590: | ||
</TerrainSampler> | </TerrainSampler> | ||
</primary_groups> | </primary_groups> | ||
<secondary_subsystems count=" | <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,627: | Line 1,612: | ||
<implementation>simgear/canvas/CanvasMgr.cxx</implementation> | <implementation>simgear/canvas/CanvasMgr.cxx</implementation> | ||
</CanvasMgr> | </CanvasMgr> | ||
< | <CommRadio> | ||
<inheritance> | <inheritance>AbstractInstrument : SGSubsystem</inheritance> | ||
<declaration>src/Instrumentation/commradio. | <staticSubsystemClassId>comm-radio</staticSubsystemClassId> | ||
<declaration>src/Instrumentation/commradio.hxx</declaration> | |||
<implementation>src/Instrumentation/commradio.cxx</implementation> | <implementation>src/Instrumentation/commradio.cxx</implementation> | ||
</ | </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,651: | 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,714: | 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,722: | 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,737: | Line 1,743: | ||
<implementation>src/FDM/UFO.cxx</implementation> | <implementation>src/FDM/UFO.cxx</implementation> | ||
</FGUFO> | </FGUFO> | ||
<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,750: | 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> | ||
<StateMachineComponent> | <StateMachineComponent> | ||
<inheritance>Component : SGSubsystem</inheritance> | <inheritance>Component : SGSubsystem</inheritance> | ||
Line 1,763: | 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,779: | 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,784: | 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,809: | 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,846: | Line 1,852: | ||
</simgear> | </simgear> | ||
<flightgear> | <flightgear> | ||
<subsystem_classes> | <subsystem_classes>118</subsystem_classes> | ||
<subsystem_groups> | <subsystem_groups>9</subsystem_groups> | ||
<total> | <total>127</total> | ||
</flightgear> | </flightgear> | ||
<combined> | <combined> | ||
<subsystem_classes> | <subsystem_classes>130</subsystem_classes> | ||
<subsystem_groups> | <subsystem_groups>10</subsystem_groups> | ||
<total> | <total>140</total> | ||
</combined> | </combined> | ||
</counts> | </counts> | ||
Line 2,015: | Line 2,021: | ||
src/Input/input.cxx | src/Input/input.cxx | ||
src/Input/input.hxx | src/Input/input.hxx | ||
src/Instrumentation/AbstractInstrument.cxx | |||
src/Instrumentation/AbstractInstrument.hxx | |||
src/Instrumentation/adf.cxx | src/Instrumentation/adf.cxx | ||
src/Instrumentation/adf.hxx | src/Instrumentation/adf.hxx | ||
Line 2,025: | Line 2,033: | ||
src/Instrumentation/clock.cxx | src/Instrumentation/clock.cxx | ||
src/Instrumentation/clock.hxx | src/Instrumentation/clock.hxx | ||
src/Instrumentation/commradio.cxx | src/Instrumentation/commradio.cxx | ||
src/Instrumentation/commradio.hxx | src/Instrumentation/commradio.hxx | ||
src/Instrumentation/dme.cxx | src/Instrumentation/dme.cxx | ||
src/Instrumentation/dme.hxx | src/Instrumentation/dme.hxx | ||
Line 2,048: | Line 2,053: | ||
src/Instrumentation/inst_vertical_speed_indicator.cxx | src/Instrumentation/inst_vertical_speed_indicator.cxx | ||
src/Instrumentation/inst_vertical_speed_indicator.hxx | src/Instrumentation/inst_vertical_speed_indicator.hxx | ||
src/Instrumentation/kr_87.cxx | src/Instrumentation/kr_87.cxx | ||
src/Instrumentation/kr_87.hxx | src/Instrumentation/kr_87.hxx | ||
Line 2,062: | Line 2,065: | ||
src/Instrumentation/navradio.cxx | src/Instrumentation/navradio.cxx | ||
src/Instrumentation/navradio.hxx | src/Instrumentation/navradio.hxx | ||
src/Instrumentation/newnavradio.cxx | src/Instrumentation/newnavradio.cxx | ||
src/Instrumentation/newnavradio.hxx | src/Instrumentation/newnavradio.hxx | ||
Line 2,102: | Line 2,104: | ||
src/Network/http/httpd.cxx | src/Network/http/httpd.cxx | ||
src/Network/http/httpd.hxx | src/Network/http/httpd.hxx | ||
src/Network/Swift/swift_connection.cxx | |||
src/Network/Swift/swift_connection.hxx | |||
src/Scenery/scenery.cxx | src/Scenery/scenery.cxx | ||
src/Scenery/scenery.hxx | src/Scenery/scenery.hxx | ||
Line 2,205: | Line 2,209: | ||
/flightgear/src/flightgear-flightgear/src/Input/FGMacOSXEventInput.hxx | /flightgear/src/flightgear-flightgear/src/Input/FGMacOSXEventInput.hxx | ||
/flightgear/src/flightgear-flightgear/src/Input/FGMouseInput.hxx | /flightgear/src/flightgear-flightgear/src/Input/FGMouseInput.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/AbstractInstrument.hxx | |||
/flightgear/src/flightgear-flightgear/src/Instrumentation/adf.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/adf.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/airspeed_indicator.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/airspeed_indicator.hxx | ||
Line 2,210: | Line 2,215: | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/attitude_indicator.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/attitude_indicator.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/clock.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/clock.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/commradio.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/commradio.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/dme.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/dme.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/gps.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/gps.hxx | ||
Line 2,220: | Line 2,223: | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/heading_indicator.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/heading_indicator.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/HUD/HUD.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/HUD/HUD.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/instrument_mgr.hxx | |||
/flightgear/src/flightgear-flightgear/src/Instrumentation/inst_vertical_speed_indicator.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/inst_vertical_speed_indicator.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/kr_87.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/kr_87.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/mag_compass.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/mag_compass.hxx | ||
Line 2,228: | Line 2,231: | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/mrg.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/mrg.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/navradio.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/navradio.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/newnavradio.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/newnavradio.hxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/rad_alt.hxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/rad_alt.hxx | ||
Line 2,249: | Line 2,251: | ||
/flightgear/src/flightgear-flightgear/src/Network/http/httpd.cxx | /flightgear/src/flightgear-flightgear/src/Network/http/httpd.cxx | ||
/flightgear/src/flightgear-flightgear/src/Network/http/httpd.hxx | /flightgear/src/flightgear-flightgear/src/Network/http/httpd.hxx | ||
/flightgear/src/flightgear-flightgear/src/Network/Swift/swift_connection.hxx | |||
/flightgear/src/flightgear-flightgear/src/Scenery/scenery.hxx | /flightgear/src/flightgear-flightgear/src/Scenery/scenery.hxx | ||
/flightgear/src/flightgear-flightgear/src/Scripting/NasalSys.hxx | /flightgear/src/flightgear-flightgear/src/Scripting/NasalSys.hxx | ||
Line 2,330: | Line 2,333: | ||
/flightgear/src/flightgear-flightgear/src/Input/FGMacOSXEventInput.cxx | /flightgear/src/flightgear-flightgear/src/Input/FGMacOSXEventInput.cxx | ||
/flightgear/src/flightgear-flightgear/src/Input/FGMouseInput.cxx | /flightgear/src/flightgear-flightgear/src/Input/FGMouseInput.cxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/AbstractInstrument.cxx | |||
/flightgear/src/flightgear-flightgear/src/Instrumentation/adf.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/adf.cxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/airspeed_indicator.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/airspeed_indicator.cxx | ||
Line 2,336: | Line 2,340: | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/clock.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/clock.cxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/commradio.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/commradio.cxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/dme.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/dme.cxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/gps.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/gps.cxx | ||
Line 2,344: | Line 2,347: | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/heading_indicator_fg.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/heading_indicator_fg.cxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/HUD/HUD.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/HUD/HUD.cxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/instrument_mgr.cxx | |||
/flightgear/src/flightgear-flightgear/src/Instrumentation/inst_vertical_speed_indicator.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/inst_vertical_speed_indicator.cxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/kr_87.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/kr_87.cxx | ||
/flightgear/src/flightgear-flightgear/src/Instrumentation/mag_compass.cxx | /flightgear/src/flightgear-flightgear/src/Instrumentation/mag_compass.cxx | ||
Line 2,371: | Line 2,374: | ||
/flightgear/src/flightgear-flightgear/src/Network/HTTPClient.cxx | /flightgear/src/flightgear-flightgear/src/Network/HTTPClient.cxx | ||
/flightgear/src/flightgear-flightgear/src/Network/http/httpd.cxx | /flightgear/src/flightgear-flightgear/src/Network/http/httpd.cxx | ||
/flightgear/src/flightgear-flightgear/src/Network/Swift/swift_connection.cxx | |||
/flightgear/src/flightgear-flightgear/src/Scenery/scenery.cxx | /flightgear/src/flightgear-flightgear/src/Scenery/scenery.cxx | ||
/flightgear/src/flightgear-flightgear/src/Scripting/NasalSys.cxx | /flightgear/src/flightgear-flightgear/src/Scripting/NasalSys.cxx | ||
Line 2,431: | Line 2,435: | ||
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.hxx:class SGSky; | /flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.hxx:class SGSky; | ||
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.hxx: SGSky* _sky; | /flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.hxx: SGSky* _sky; | ||
/flightgear/src/flightgear-flightgear/src/Environment/precipitation_mgr.cxx: SGSky* thesky = globals->get_renderer()->getSky(); | /flightgear/src/flightgear-flightgear/src/Environment/precipitation_mgr.cxx: SGSky* thesky = globals->get_renderer()->getSky(); | ||
/flightgear/src/flightgear-flightgear/src/Scenery/scenery.cxx: {"SGSky", SGSubsystemMgr::Dependency::NONSUBSYSTEM_HARD} | /flightgear/src/flightgear-flightgear/src/Environment/precipitation_mgr.cxx: {"SGSky", SGSubsystemMgr::Dependency::NONSUBSYSTEM_HARD}{{cbr}}); | ||
/flightgear/src/flightgear-flightgear/src/Scenery/scenery.cxx: {"SGSky", SGSubsystemMgr::Dependency::NONSUBSYSTEM_HARD}{{cbr}}); | |||
/flightgear/src/flightgear-flightgear/src/Time/light.cxx: SGSky* thesky = globals->get_renderer()->getSky(); | /flightgear/src/flightgear-flightgear/src/Time/light.cxx: SGSky* thesky = globals->get_renderer()->getSky(); | ||
/flightgear/src/flightgear-flightgear/src/Time/light.cxx: SGSky* thesky = globals->get_renderer()->getSky(); | /flightgear/src/flightgear-flightgear/src/Time/light.cxx: SGSky* thesky = globals->get_renderer()->getSky(); | ||
}} | }} | ||
Line 2,445: | Line 2,448: | ||
| script = | | script = | ||
$ ./find_subsystems.py --classes 2> /dev/null {{!}} xargs -I{} grep -nrI "new.*\<{}\>" src {{!}} sort -u | $ ./find_subsystems.py --classes 2> /dev/null {{!}} xargs -I{} grep -nrI "new.*\<{}\>" src {{!}} sort -u | ||
src/Autopilot/autopilot.cxx: | src/Autopilot/autopilot.cxx:134: componentForge["pid-controller"] = new CreateAndConfigureFunctor<PIDController,Component>(); | ||
src/Autopilot/autopilot.cxx: | src/Autopilot/autopilot.cxx:135: componentForge["pi-simple-controller"] = new CreateAndConfigureFunctor<PISimpleController,Component>(); | ||
src/Autopilot/autopilot.cxx: | src/Autopilot/autopilot.cxx:136: componentForge["predict-simple"] = new CreateAndConfigureFunctor<Predictor,Component>(); | ||
src/Autopilot/autopilot.cxx: | src/Autopilot/autopilot.cxx:137: componentForge["filter"] = new CreateAndConfigureFunctor<DigitalFilter,Component>(); | ||
src/Autopilot/autopilot.cxx: | src/Autopilot/autopilot.cxx:138: componentForge["logic"] = new CreateAndConfigureFunctor<Logic,Component>(); | ||
src/Autopilot/autopilot.cxx: | src/Autopilot/autopilot.cxx:139: componentForge["flipflop"] = new CreateAndConfigureFunctor<FlipFlop,Component>(); | ||
src/Autopilot/autopilot.cxx: | src/Autopilot/autopilot.cxx:87: return new StateMachineComponent(cfg, prop_root); | ||
src/Autopilot/autopilotgroup.cxx: | src/Autopilot/autopilotgroup.cxx:229: return new FGXMLAutopilotGroupImplementation(nodeName); | ||
src/Autopilot/autopilotgroup.cxx: | src/Autopilot/autopilotgroup.cxx:82: Autopilot* ap = new Autopilot(apNode, config); | ||
src/Cockpit/cockpitDisplayManager.cxx: | src/Cockpit/cockpitDisplayManager.cxx:100: set_subsystem( id, new wxRadarBg ( node ) ); | ||
src/Cockpit/cockpitDisplayManager.cxx: | src/Cockpit/cockpitDisplayManager.cxx:103: set_subsystem( id, new GroundRadar( node ) ); | ||
src/Cockpit/cockpitDisplayManager.cxx: | src/Cockpit/cockpitDisplayManager.cxx:106: set_subsystem( id, new agRadar( node ) ); | ||
src/Cockpit/cockpitDisplayManager.cxx: | src/Cockpit/cockpitDisplayManager.cxx:109: set_subsystem( id, new NavDisplay( node ) ); | ||
src/Cockpit/panel_io.cxx: | src/Cockpit/panel_io.cxx:657: FGPanel * panel = new FGPanel(); | ||
src/Environment/environment_ctrl.cxx:349: return new LayerInterpolateControllerImplementation( rootNode ); | |||
src/Environment/environment_ctrl.cxx: | src/Environment/environment_mgr.cxx:93: set_subsystem("precipitation", new FGPrecipitationMgr); | ||
src/Environment/environment_mgr.cxx: | src/Environment/environment_mgr.cxx:96: set_subsystem("ridgelift", new FGRidgeLift); | ||
src/Environment/environment_mgr.cxx: | src/Environment/environment_mgr.cxx:98: set_subsystem("magvar", new FGMagVarManager); | ||
src/Environment/environment_mgr.cxx: | src/Environment/realwx_ctrl.cxx:515: return new NoaaMetarRealWxController( rootNode ); | ||
src/Environment/realwx_ctrl.cxx: | |||
src/Environment/terrainsampler.cxx:381: set_subsystem( areaSubsystemName(i), new AreaSampler( areaNodes[i] ) ); | src/Environment/terrainsampler.cxx:381: set_subsystem( areaSubsystemName(i), new AreaSampler( areaNodes[i] ) ); | ||
src/Environment/terrainsampler.cxx: | src/Environment/terrainsampler.cxx:430: return new TerrainSamplerImplementation( rootNode ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:278: _impl = new FGUFO( dt ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:282: _impl = new FGNullFDM( dt ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:315: _impl = new FGExternalNet( dt, host, port1, port2, port3 ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:318: // /* old */ _impl = new FGExternalPipe( dt, pipe_path ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:332: _impl = new FGExternalPipe( dt, pipe_path, pipe_protocol ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:334: _impl = new FGNullFDM( dt ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:338: _impl = new FGLaRCsim( dt ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:345: _impl = new FGJSBsim( dt ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:352: _impl = new FGADA( dt ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:354: _impl = new FGACMS( dt ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:356: _impl = new FGBalloonSim( dt ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:358: _impl = new FGMagicCarpet( dt ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:360:// _impl = new FGAISim( dt ); | ||
src/FDM/fdm_shell.cxx: | src/FDM/fdm_shell.cxx:370: _impl = new YASim( dt ); | ||
src/FDM/JSBSim/FGFDMExec.cpp: | src/FDM/JSBSim/FGFDMExec.cpp:230: Models[eInput] = new FGInput(this); | ||
src/FDM/JSBSim/models/FGInput.cpp: | src/FDM/JSBSim/models/FGInput.cpp:79: // are not intended to create new properties. For that reason, FGInput | ||
src/FDM/YASim/Airplane.cpp:802: // For new YASim, the solver drag factor is only applied to | src/FDM/YASim/Airplane.cpp:802: // For new YASim, the solver drag factor is only applied to | ||
src/Input/input.cxx:65: set_subsystem( FGMouseInput::staticSubsystemClassId(), new FGMouseInput() ); | |||
src/Input/input.cxx: | src/Input/input.cxx:71: set_subsystem( "input-keyboard", new FGKeyboardInput() ); | ||
src/Input/input.cxx: | src/Input/input.cxx:78: set_subsystem( "input-joystick", new FGJoystickInput() ); | ||
src/Input/input.cxx: | src/Input/input.cxx:94: set_subsystem( "input-event-hid", new FGHIDEventInput() ); | ||
src/Input/input.cxx: | src/Main/fg_init.cxx:812: mgr->add("performance-mon", new SGPerformanceMonitor(mgr, fgGetNode("/sim/performance-monitor", true))); | ||
src/Main/globals.cxx:147: subsystem_mgr( new SGSubsystemMgr ), | |||
src/Main/globals.cxx:148: event_mgr( new SGEventMgr ), | |||
src/Network/http/httpd.cxx:642: return new MongooseHttpd(configNode); | |||
src/Main/fg_init.cxx: | |||
src/Main/globals.cxx: | |||
src/Main/globals.cxx: | |||
src/Network/http/httpd.cxx: | |||
src/Systems/system_mgr.cxx:77: new FGElectricalSystem( node ) ); | src/Systems/system_mgr.cxx:77: new FGElectricalSystem( node ) ); | ||
src/Systems/system_mgr.cxx:80: new PitotSystem( node ) ); | src/Systems/system_mgr.cxx:80: new PitotSystem( node ) ); | ||
src/Systems/system_mgr.cxx:83: new StaticSystem( node ) ); | src/Systems/system_mgr.cxx:83: new StaticSystem( node ) ); | ||
src/Systems/system_mgr.cxx:86: new VacuumSystem( node ) ); | src/Systems/system_mgr.cxx:86: new VacuumSystem( node ) ); | ||
src/Viewer/view.cxx:170: v = new View ( FG_LOOKAT, from_model, from_model_index, | src/Viewer/view.cxx:170: v = new View ( FG_LOOKAT, from_model, from_model_index, | ||
src/Viewer/view.cxx:182: v = new View ( FG_LOOKFROM, from_model, from_model_index, | src/Viewer/view.cxx:182: v = new View ( FG_LOOKFROM, from_model, from_model_index, | ||
Line 2,602: | Line 2,532: | ||
# First find all subsystems. | # First find all subsystems. | ||
sub = FindSubsystems() | |||
# Generate a list of files to skip. | # Generate a list of files to skip. | ||
Line 2,616: | Line 2,546: | ||
blacklist.append(file_name) | blacklist.append(file_name) | ||
# Loop over all derived | # Loop over all derived class declarations. | ||
print("\nYet to be updated:") | print("\nYet to be updated:") | ||
for | for subsystem in sub.subsystems[0] + sub.subsystems[1] + sub.subsystems[2] + sub.subsystems[3] + sub.groups[0] + sub.groups[1] + sub.groups[2] + sub.groups[3]: | ||
if subsystem.declaration_file not in blacklist: | |||
print(" %s: %s" % (subsystem.declaration_file, subsystem)) | |||
Line 2,628: | Line 2,557: | ||
if __name__ == "__main__": | if __name__ == "__main__": | ||
ToUpdate() | ToUpdate() | ||
}} | |||
== Automated test suite test creation == | |||
This script was used to generate the instanced and non-instanced subsystem system tests: | |||
{{collapsible script | |||
| type = Python script | |||
| title = Python script for generating the code for the system tests | |||
| lang = python | |||
| script = | |||
#! /usr/bin/env python3 | |||
# Other module imports. | |||
from find_subsystems import FindSubsystems | |||
class TestSuite: | |||
"""Class for generating the code for the system tests.""" | |||
def __init__(self): | |||
"""Auto-generate the C++ code.""" | |||
# First find all subsystems. | |||
sub = FindSubsystems(output=False) | |||
# The test name and test code. | |||
name = [] | |||
code = [] | |||
# Loop over all derived class declarations. | |||
max_width = 0 | |||
for subsystem in sub.subsystems[0] + sub.subsystems[1] + sub.subsystems[2] + sub.subsystems[3] + sub.groups[0] + sub.groups[1] + sub.groups[2] + sub.groups[3]: | |||
# Skip non-instantiated base classes. | |||
if not subsystem.staticSubsystemClassId: | |||
continue | |||
# Add the test suite text. | |||
name.append("test%s" % (subsystem.name)) | |||
code.append("{ create(\"%s\"); }" % (subsystem.staticSubsystemClassId)) | |||
# Formatting. | |||
max_width = max(len(name[-1]), max_width) | |||
# Test setup printout. | |||
print("\n") | |||
print(" CPPUNIT_TEST_SUITE(NonInstancedSubsystemTests);") | |||
for i in range(len(name)): | |||
print(" CPPUNIT_TEST(%s);" % name[i]) | |||
print(" CPPUNIT_TEST_SUITE_END();") | |||
# Test declaration printout. | |||
print("\n") | |||
print(" // The subsystem tests.") | |||
for i in range(len(name)): | |||
print(" void %s();" % name[i]) | |||
# Test implementation printout. | |||
print("\n") | |||
format_str = "void NonInstancedSubsystemTests::%%-%is() %%-s" % max_width | |||
for i in range(len(name)): | |||
print(format_str % (name[i], code[i])) | |||
# Instantiate the class if run as a script. | |||
if __name__ == "__main__": | |||
TestSuite() | |||
}} | }} |
Revision as of 13:44, 1 July 2019
Tracking down subsystems
Script
The following script is for finding all FlightGear dependencies:
Python script: The find_subsystems.py script for finding all subsystems within the flightgear and simgear C++ code bases.
All subsystems
The result is:
Text output: A listing of all flightgear and simgear subsystems and subsystem groups.
XML output: A listing of all flightgear and simgear subsystems and subsystem groups.
File listing output: The declaration and implementation files for all flightgear and simgear subsystems and subsystem groups.
Flightgear subsystem declaration file listing output: The declaration files for all flightgear subsystems (excluding simgear sources and excluding subsystem groups).
Flightgear subsystem implementation file listing output: The implementation files for all flightgear subsystems (excluding simgear sources and excluding subsystem groups).
Grep output: Searching for SGSky dependencies for all subsystems.
Grep output: Searching for all direct subsystem instantiations.
Refactoring
To check that all subsystems on a branch have been updated or refactored:
Python script: Python script verifying if all subsystems have been updated.
Automated test suite test creation
This script was used to generate the instanced and non-instanced subsystem system tests:
Python script: Python script for generating the code for the system tests