User:Bugman/subsystems: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(→‎All subsystems: Added some file listing output examples.)
(→‎Tracking down subsystems: Update for the grep output.)
(35 intermediate revisions by the same user not shown)
Line 7: Line 7:
{{collapsible script
{{collapsible script
| type  = Python script
| type  = Python script
| title  = Python script for finding all subsystems within the flightgear and simgear C++ code bases.
| title  = The ''find_subsystems.py'' script for finding all subsystems within the flightgear and simgear C++ code bases.
| intro  = This script requires the ''grep'' Unix command, which can be installed on any OS.  And it must be run with Python3.
| intro  = This script requires the ''grep'' Unix command, which can be installed on any OS.  And it must be run with Python3.
| lang  = python
| lang  = python
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", 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.
         paths = [SIMGEAR_PATH, FLIGHTGEAR_PATH]
         paths = [SIMGEAR_PATH, FLIGHTGEAR_PATH]
        if not self.output_flightgear:
            paths = [SIMGEAR_PATH]
         for path in paths:
         for path in paths:
             if self.category_subsystems:
             if self.category_subsystems:
Line 84: Line 90:
         # Find the subsystem and subsystem group implementation files.
         # Find the subsystem and subsystem group implementation files.
         self.find_implementations()
         self.find_implementations()
        # Text search.
        if self.search_flag:
            self.search()


         # Final summary.
         # Final summary.
         self.summarise()
         if output:
            self.summarise()




Line 117: Line 128:
         for subsystem in self.subsystems[0] + self.subsystems[1] + self.subsystems[2] + self.subsystems[3] + self.groups[0] + self.groups[1] + self.groups[2] + self.groups[3]:
         for subsystem in self.subsystems[0] + self.subsystems[1] + self.subsystems[2] + self.subsystems[3] + self.groups[0] + self.groups[1] + self.groups[2] + self.groups[3]:
             # The repository location.
             # The repository location.
             if subsystem.declaration_file[:7] == "simgear":
             if self.is_simgear(subsystem.declaration_file):
                 path = SIMGEAR_PATH
                 path = SIMGEAR_PATH
             else:
             else:
Line 147: Line 158:
                         lines = pipe.stdout.readlines()
                         lines = pipe.stdout.readlines()
                         if len(lines):
                         if len(lines):
                             subsystem.implementation_file = file_name
                             subsystem.add_implementation_file(file_name)
                             break
                             break


Line 180: Line 191:
                     # Store the implementation file.
                     # Store the implementation file.
                     elif len(files):
                     elif len(files):
                         subsystem.implementation_file = files[0]
                         subsystem.add_implementation_file(files[0])
                         break
                         break


Line 205: Line 216:


         # Find all subsystems or groups.
         # Find all subsystems or groups.
         for file_name, class_name in self.grep(path=path, base_name=base_name):
         for file_name, class_name in self.grep(path=path, base_name=base_name, simgear=True):
             if class_name in skip:
             if class_name in skip:
                 continue
                 continue
             primary.append(Subsystem(class_name, base_class=base, declaration_file=file_name, xml=self.output_xml))
             primary.append(Subsystem(class_name, base_class=base, declaration_file=file_name, root_path=self.root_path(file_name), full_path=self.output_full_path, xml=self.output_xml))


         # Sort the subsystems by name.
         # Sort the subsystems by name.
Line 232: Line 243:
         # Loop over all primary subsystems.
         # Loop over all primary subsystems.
         for subsystem in primary:
         for subsystem in primary:
             for file_name, derived_class in self.grep(path=path, base_name=subsystem.name):
             for file_name, derived_class in self.grep(path=path, base_name=subsystem.name, simgear=self.is_simgear(subsystem.declaration_file)):
                 secondary.append(Subsystem(derived_class, base_class=subsystem, declaration_file=file_name, xml=self.output_xml))
                 secondary.append(Subsystem(derived_class, base_class=subsystem, declaration_file=file_name, root_path=self.root_path(file_name), full_path=self.output_full_path, xml=self.output_xml))


         # Sort the subsystems by name.
         # Sort the subsystems by name.
Line 257: Line 268:
         # Loop over all secondary subsystems.
         # Loop over all secondary subsystems.
         for subsystem in secondary:
         for subsystem in secondary:
             for file_name, derived_class in self.grep(path=path, base_name=subsystem.name):
             for file_name, derived_class in self.grep(path=path, base_name=subsystem.name, simgear=self.is_simgear(subsystem.declaration_file)):
                 tertiary.append(Subsystem(derived_class, base_class=subsystem, declaration_file=file_name, xml=self.output_xml))
                 tertiary.append(Subsystem(derived_class, base_class=subsystem, declaration_file=file_name, root_path=self.root_path(file_name), full_path=self.output_full_path, xml=self.output_xml))


         # Sort all subsystems by name.
         # Sort all subsystems by name.
Line 282: Line 293:
         # Loop over all tertiary subsystems.
         # Loop over all tertiary subsystems.
         for subsystem in tertiary:
         for subsystem in tertiary:
             for file_name, derived_class in self.grep(path=path, base_name=subsystem.name):
             for file_name, derived_class in self.grep(path=path, base_name=subsystem.name, simgear=self.is_simgear(subsystem.declaration_file)):
                 quaternary.append(Subsystem(derived_class, base_class=subsystem, declaration_file=file_name, xml=self.output_xml))
                 quaternary.append(Subsystem(derived_class, base_class=subsystem, declaration_file=file_name, root_path=self.root_path(file_name), full_path=self.output_full_path, xml=self.output_xml))


         # Sort all subsystems by name.
         # Sort all subsystems by name.
Line 289: Line 300:




     def grep(self, path=None, base_name=None):
     def grep(self, path=None, base_name=None, simgear=False):
         """Generator method for finding all classes derived from the given base name and repository.
         """Generator method for finding all classes derived from the given base name and repository.


Line 296: Line 307:
         @keyword base_name: The name of the base class.
         @keyword base_name: The name of the base class.
         @type base_name:    str
         @type base_name:    str
        @keyword simgear:  A flag specifying if the base class belongs to Simgear or not.
        @type simgear:      bool
         @return:            The source file and the name of the derived class.
         @return:            The source file and the name of the derived class.
         @rtype:            str, str
         @rtype:            str, str
Line 301: Line 314:


         # The Unix grep command to run.
         # The Unix grep command to run.
         cmd = 'cd %s; grep -rI %s "public \<%s\>" {{!}} grep -v "%s::"' % (path, self.grep_exclude_dir, base_name, base_name)
         if simgear:
            cmd = 'cd %s; grep -rI %s "public \<%s\>\{{!}}public simgear.*::\<%s\>" {{!}} grep -v "%s::"' % (path, self.grep_exclude_dir, base_name, base_name, base_name)
        else:
            cmd = 'cd %s; grep -rI %s "public \<%s\>" {{!}} grep -v "%s::"' % (path, self.grep_exclude_dir, base_name, base_name)
         pipe = Popen(cmd, shell=True, stdout=PIPE)
         pipe = Popen(cmd, shell=True, stdout=PIPE)


Line 329: Line 345:
             # Generator method.
             # Generator method.
             yield file_name, class_name
             yield file_name, class_name
    def is_simgear(self, file_name):
        """Determine if the file is from simgear.
        @param file_name:  The name of the file.
        @type file_name:    str
        @return:            True if the file is from simgear, False otherwise.
        @rtype:            bool
        """
        # Basic path check.
        if file_name[:7] == "simgear":
            return True
        return False




Line 338: Line 369:


         # The output arguments.
         # The output arguments.
         group = parser.add_mutually_exclusive_group()
         group = parser.add_argument_group("output arguments", "Change the output format.")
         group.add_argument("-t", "--text", default=False, action="store_true", help="Output in plain text format (the default).")
         group.add_argument("-t", "--text", default=False, action="store_true", help="Output in plain text format (the default).")
         group.add_argument("-x", "--xml", default=False, action="store_true", help="Output in XML format.")
         group.add_argument("-x", "--xml", default=False, action="store_true", help="Output in XML format.")
         group.add_argument("-f", "--files", default=False, action="store_true", help="List all declaration and/or implementation files.")
         group.add_argument("-l", "--files", default=False, action="store_true", help="List all declaration and/or implementation files.")
         group.add_argument("-d", "--declaration-files", default=False, action="store_true", help="List the files where subsystems and subsystem groups are declared.")
         group.add_argument("-d", "--declaration-files", default=False, action="store_true", help="List the files where subsystems and subsystem groups are declared.")
         group.add_argument("-i", "--implementation-files", default=False, action="store_true", help="List the files where subsystems and subsystem groups are implemented.")
         group.add_argument("-i", "--implementation-files", default=False, action="store_true", help="List the files where subsystems and subsystem groups are implemented.")
        group.add_argument("--classes", default=False, action="store_true", help="List all class names.")
        group.add_argument("-p", "--full-path", default=False, action="store_true", help="For file listings, include the SIMGEAR or FLIGHTGEAR absolute path.")
        # The text search arguments.
        group = parser.add_argument_group("text search arguments", "Search for certain text in the files.")
        group.add_argument("--search", metavar="TEXT", help="Search for the given text in the declaration and implementation files.")
        group.add_argument("--get-subsystem", default=False, action="store_true", help="Search for all get_subsystems() function calls.")
        group.add_argument("-c", "--includes", default=False, action="store_true", help="Extend the search to include included files.")
        # Code base selection.
        group = parser.add_argument_group("code base selections", "Choose between simgear and flightgear.")
        group.add_argument("-s", "--simgear", default=False, action="store_true", help="Exclusively output simgear subsystems.")
        group.add_argument("-f", "--flightgear", default=False, action="store_true", help="Exclusively output flightgear subsystems.")


         # Category selection.
         # Category selection.
Line 362: Line 406:
         elif args.files:
         elif args.files:
             self.output_format = "files"
             self.output_format = "files"
        elif args.classes:
            self.output_format = "classes"
         elif args.declaration_files:
         elif args.declaration_files:
             self.output_format = "declaration files"
             self.output_format = "declaration files"
         elif args.implementation_files:
         elif args.implementation_files:
             self.output_format = "implementation files"
             self.output_format = "implementation files"
        self.output_full_path = args.full_path
        # The text search arguments.
        self.search_flag = False
        if args.search or args.get_subsystem:
            self.search_flag = True
        self.search_text = args.search
        self.search_get_subsystem = args.get_subsystem
        self.search_includes = args.includes
        # The code base arguments.
        self.output_simgear = True
        self.output_flightgear = True
        if args.simgear:
            self.output_flightgear = False
        if args.flightgear:
            self.output_simgear = False


         # The category arguments.
         # The category arguments.
Line 376: Line 439:




     def summarise(self):
     def root_path(self, file_name):
         """Print out a summary of all found subsystems and subsystem groups."""
         """Determine the root for the given file.
 
        @param file_name:  The name of the file.
        @type file_name:    str
        @return:            The root path.
        @rtype:            str
        """


         # Basic file listings.
         # The relative or absolute path.
         if self.output_format in ["files", "declaration files", "implementation files"]:
         if self.is_simgear(file_name):
             # Concatenate the lists.
             return SIMGEAR_PATH
            subsystem_list = []
        else:
            if self.category_subsystems:
             return FLIGHTGEAR_PATH
                subsystem_list += self.subsystems[0] + self.subsystems[1] + self.subsystems[2] + self.subsystems[3]
             if self.category_groups:
                subsystem_list += self.groups[0] + self.groups[1] + self.groups[2] + self.groups[3]


            # Loop over each subsystem, printing out the source files.
            for subsystem in subsystem_list:
                if self.output_format in ["files", "declaration files"]:
                    print(subsystem.declaration_file)
                if self.output_format in ["files", "implementation files"]:
                    if subsystem.implementation_file:
                        print(subsystem.implementation_file)


            # Skip the rest of the function.
    def search(self):
             return
        """Search for certain text in the declaration and implementation files (and includes)."""
 
        # The search text.
        search_text = self.search_text
        if self.search_get_subsystem:
             search_text = "get_subsystem"


         # XML start.
         # Loop over all subsystems and groups.
         if self.output_xml:
         for subsystem in self.subsystems[0] + self.subsystems[1] + self.subsystems[2] + self.subsystems[3] + self.groups[0] + self.groups[1] + self.groups[2] + self.groups[3]:
             print("<?xml version=\"1.0\"?>")
             # The repository location.
             print("<subsystems>")
            if self.is_simgear(subsystem.declaration_file):
                path = SIMGEAR_PATH
             else:
                path = FLIGHTGEAR_PATH


        # Subsystem and group printouts.
            # The files to search through.
        labels = ["primary", "secondary", "tertiary", "quaternary"]
            root = ""
        labels2 = ["Primary", "Secondary", "Tertiary", "Quaternary"]
            if not subsystem.root_path:
        classes = ["subsystems", "groups"]
                 root = path + sep
        for i in range(len(self.subsystems)):
            files = [root+subsystem.declaration_file]
            for j in range(len(classes)):
            if subsystem.implementation_file:
                 if classes[j] == "subsystems":
                files.append(root+subsystem.implementation_file)
                    subsystem_list = self.subsystems[i]
                else:
                    subsystem_list = self.groups[i]


                 # Nothing in the list.
            # Loop over each file.
                 if not len(subsystem_list):
            for file_name in files:
                    continue
                 # Extract the contents.
                 file = open(file_name)
                lines = file.readlines()
                file.close()


                 # Count all.
                 # Search.
                 counts = self.count(subsystem_list)
                 for line in lines:
                    if search(search_text, line):
                        print("%s: %s" % (file_name, line))


                # Start.
                if self.output_xml:
                    print("  <%s_%s count=\"%i\">" % (labels[i], classes[j], counts[j]))
                else:
                    print("\n%s %s (%i):" % (labels2[i], classes[j], counts[j]))


                # Subsystems.
    def summarise(self):
                for subsystem in subsystem_list:
        """Print out a summary of all found subsystems and subsystem groups."""
                    for line in repr(subsystem).split("\n"):
                        print("   %s" % (line))


                # End.
        # Basic file or class listings.
                 if self.output_xml:
        if self.output_format in ["files", "declaration files", "implementation files", "classes"]:
                    print("  </%s_%s>" % (labels[i], classes[j]))
            # Concatenate the lists.
            subsystem_list = []
            if self.category_subsystems:
                 subsystem_list += self.subsystems[0] + self.subsystems[1] + self.subsystems[2] + self.subsystems[3]
            if self.category_groups:
                subsystem_list += self.groups[0] + self.groups[1] + self.groups[2] + self.groups[3]


        # Counts.
            # Loop over each subsystem, printing out the source files.
        subsystem_classes = len(self.subsystems[0] + self.subsystems[1] + self.subsystems[2] + self.subsystems[3])
            for subsystem in subsystem_list:
        subsystem_groups = len(self.groups[0] + self.groups[1] + self.groups[2] + self.groups[3])
                # Code base selections.
        subsystem_total = subsystem_classes + subsystem_groups
                if self.is_simgear(subsystem.declaration_file) and not self.output_simgear:
                    continue
                if not self.is_simgear(subsystem.declaration_file) and not self.output_flightgear:
                    continue
 
                # Output the source files.
                if self.output_format in ["files", "declaration files"]:
                    if subsystem.full_path:
                        print("%s%s%s" % (subsystem.root_path, sep, subsystem.declaration_file))
                    else:
                        print("%s" % subsystem.declaration_file)
                if self.output_format in ["files", "implementation files"]:
                    if subsystem.implementation_file:
                        if subsystem.full_path:
                            print("%s%s%s" % (subsystem.root_path, sep, subsystem.implementation_file))
                        else:
                            print("%s" % subsystem.implementation_file)
 
                # Output the class name.
                if self.output_format == "classes":
                    print("%s" % subsystem.name)


        # Separate simgear and flightgear subsystems.
            # Skip the rest of the function.
        subsystem_classes_simgear = 0
             return
        subsystem_classes_flightgear = 0
        subsystem_groups_simgear = 0
        subsystem_groups_flightgear = 0
        for subsystem in self.subsystems[0] + self.subsystems[1] + self.subsystems[2] + self.subsystems[3]:
             if subsystem.declaration_file[:7] == "simgear":
                subsystem_classes_simgear += 1
            else:
                subsystem_classes_flightgear += 1
        for group in self.groups[0] + self.groups[1] + self.groups[2] + self.groups[3]:
            if group.declaration_file[:7] == "simgear":
                subsystem_groups_simgear += 1
            else:
                subsystem_groups_flightgear += 1


         # Sums.
         # XML start.
        simgear_total = subsystem_classes_simgear + subsystem_groups_simgear
        flightgear_total = subsystem_classes_flightgear + subsystem_groups_flightgear
         if self.output_xml:
         if self.output_xml:
             print(" <counts>")
             print("<?xml version=\"1.0\"?>")
            print("    <simgear>")
             print("<subsystems>")
            if self.category_subsystems:
                print("      <subsystem_classes>%i</subsystem_classes>" % subsystem_classes_simgear)
            if self.category_groups:
                print("      <subsystem_groups>%i</subsystem_groups>" % subsystem_groups_simgear)
            if self.category_subsystems and self.category_groups:
                print("      <total>%i</total>" % simgear_total)
            print("   </simgear>")
             print("   <flightgear>")
            if self.category_subsystems:
                print("      <subsystem_classes>%i</subsystem_classes>" % subsystem_classes_flightgear)
            if self.category_groups:
                print("      <subsystem_groups>%i</subsystem_groups>" % subsystem_groups_flightgear)
            if self.category_subsystems and self.category_groups:
                print("      <total>%i</total>" % flightgear_total)
            print("    </flightgear>")
            print("    <combined>")
            if self.category_subsystems:
                print("      <subsystem_classes>%i</subsystem_classes>" % subsystem_classes)
            if self.category_groups:
                print("      <subsystem_groups>%i</subsystem_groups>" % subsystem_groups)
            if self.category_subsystems and self.category_groups:
                print("      <total>%i</total>" % subsystem_total)
            print("    </combined>")
            print("  </counts>")
        else:
            print("\nCounts: %i subsystem classes (%i flightgear, %i simgear)." % (subsystem_classes, subsystem_classes_flightgear, subsystem_classes_simgear))
            print("Counts: %i subsystem groups (%i flightgear, %i simgear)." % (subsystem_groups, subsystem_groups_flightgear, subsystem_groups_simgear))
            print("Counts: %i subsystem classes and groups (%i flightgear, %i simgear)." % (subsystem_total, flightgear_total, simgear_total))


         # XML end.
         # Subsystem and group printouts.
         if self.output_xml:
         labels = ["primary", "secondary", "tertiary", "quaternary"]
             print("</subsystems>")
        labels2 = ["Primary", "Secondary", "Tertiary", "Quaternary"]
        classes = ["subsystems", "groups"]
        for i in range(len(self.subsystems)):
             for j in range(len(classes)):
                if classes[j] == "subsystems":
                    subsystem_list = self.subsystems[i]
                else:
                    subsystem_list = self.groups[i]


                # Nothing in the list.
                if not len(subsystem_list):
                    continue


                # Count all.
                counts = self.count(subsystem_list)


class Subsystem:
                # Start.
    """Object for storing the information for a specific subsystem."""
                if self.output_xml:
                    print(" <%s_%s count=\"%i\">" % (labels[i], classes[j], counts[j]))
                else:
                    print("\n%s %s (%i):" % (labels2[i], classes[j], counts[j]))


    def __init__(self, name, base_class=None, declaration_file=None, implementation_file=None, xml=False):
                # Subsystems.
        """Set up the object.
                 for subsystem in subsystem_list:
 
                    for line in repr(subsystem).split("\n"):
        @param name:                The name of the subsystem.
                        print("   %s" % (line))
        @type name:                 str
        @keyword base_class:        The name of the base class.
        @type base_class:          str
        @keyword declaration_file:  The name of the file containing the subsystem declaration.
        @type declaration_file:     str
        @keyword implementation_file:  The name of the file containing the subsystem declaration.
        @type implementation_file:     str
        @keyword xml:              Produce a valid XML representation of the object.
        @type xml:                  bool
        """


        # Store the data.
                # End.
        self.name = name
                if self.output_xml:
        self.base_class = base_class
                    print("  </%s_%s>" % (labels[i], classes[j]))
        self.declaration_file = declaration_file
        self.implementation_file = implementation_file
        self.xml = xml


        # Counts.
        subsystem_classes = len(self.subsystems[0] + self.subsystems[1] + self.subsystems[2] + self.subsystems[3])
        subsystem_groups = len(self.groups[0] + self.groups[1] + self.groups[2] + self.groups[3])
        subsystem_total = subsystem_classes + subsystem_groups


    def __repr__(self):
        # Separate simgear and flightgear subsystems.
        """Overwrite the string representation of the object.
        subsystem_classes_simgear = 0
 
        subsystem_classes_flightgear = 0
         @return:   The string representation.
        subsystem_groups_simgear = 0
        @rtype:     str
        subsystem_groups_flightgear = 0
        """
        for subsystem in self.subsystems[0] + self.subsystems[1] + self.subsystems[2] + self.subsystems[3]:
            if self.is_simgear(subsystem.declaration_file):
                subsystem_classes_simgear += 1
            else:
                subsystem_classes_flightgear += 1
         for group in self.groups[0] + self.groups[1] + self.groups[2] + self.groups[3]:
            if self.is_simgear(group.declaration_file):
                subsystem_groups_simgear += 1
            else:
                subsystem_groups_flightgear += 1


         # The inheritance chain.
         # Sums.
         inheritance = ""
         simgear_total = subsystem_classes_simgear + subsystem_groups_simgear
        if self.base_class:
        flightgear_total = subsystem_classes_flightgear + subsystem_groups_flightgear
            inheritance += "%s" % self.base_class.name
        if self.output_xml:
             if self.base_class.base_class:
            print("  <counts>")
                 inheritance += " : %s" % self.base_class.base_class.name
            print("   <simgear>")
                 if self.base_class.base_class.base_class:
            if self.category_subsystems:
                    inheritance += " : %s" % self.base_class.base_class.base_class.name
                print("     <subsystem_classes>%i</subsystem_classes>" % subsystem_classes_simgear)
                    if self.base_class.base_class.base_class.base_class:
            if self.category_groups:
                        inheritance += " : %s" % self.base_class.base_class.base_class.base_class.name
                print("      <subsystem_groups>%i</subsystem_groups>" % subsystem_groups_simgear)
                        if self.base_class.base_class.base_class.base_class.base_class:
             if self.category_subsystems and self.category_groups:
                            inheritance += " : %s" % self.base_class.base_class.base_class.base_class.base_class.name
                 print("     <total>%i</total>" % simgear_total)
            print("    </simgear>")
            print("    <flightgear>")
            if self.category_subsystems:
                 print("      <subsystem_classes>%i</subsystem_classes>" % subsystem_classes_flightgear)
            if self.category_groups:
                print("     <subsystem_groups>%i</subsystem_groups>" % subsystem_groups_flightgear)
            if self.category_subsystems and self.category_groups:
                print("      <total>%i</total>" % flightgear_total)
            print("    </flightgear>")
            print("    <combined>")
            if self.category_subsystems:
                print("     <subsystem_classes>%i</subsystem_classes>" % subsystem_classes)
            if self.category_groups:
                print("      <subsystem_groups>%i</subsystem_groups>" % subsystem_groups)
            if self.category_subsystems and self.category_groups:
                print("      <total>%i</total>" % subsystem_total)
            print("    </combined>")
            print("  </counts>")
        else:
            print("\nCounts: %i subsystem classes (%i flightgear, %i simgear)." % (subsystem_classes, subsystem_classes_flightgear, subsystem_classes_simgear))
            print("Counts: %i subsystem groups (%i flightgear, %i simgear)." % (subsystem_groups, subsystem_groups_flightgear, subsystem_groups_simgear))
            print("Counts: %i subsystem classes and groups (%i flightgear, %i simgear)." % (subsystem_total, flightgear_total, simgear_total))


         # XML representation.
         # XML end.
         if self.xml:
         if self.output_xml:
             return self.__repr_xml__(inheritance)
             print("</subsystems>")


        # The subsystem name and inheritance chain.
        string = "<%s : %s" % (self.name, inheritance)


        # Add the declaration file name.
        string += " declared in \"%s\"" % self.declaration_file


        # Add the implementation file name.
class Subsystem:
        if self.implementation_file:
    """Object for storing the information for a specific subsystem."""
            string += ", implemented in \"%s\"" % self.implementation_file


        # Closure.
    def __init__(self, name, base_class=None, static_id=None, declaration_file=None, implementation_file=None, root_path=None, full_path=False, xml=False):
         string += ">"
         """Set up the object.


         # Return the representation.
         @param name:                    The name of the subsystem.
         return string
        @type name:                    str
        @keyword base_class:            The name of the base class.
        @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.
        @type declaration_file:        str
        @keyword implementation_file:  The name of the file containing the subsystem implementation.
        @type implementation_file:      str or None
        @keyword root_path:            The root path to the files.
        @type root_path:                str
        @keyword full_path:            A flag which if True will cause the full paths to be shown.
        @type full_path:                bool
        @keyword xml:                  Produce a valid XML representation of the object.
         @type xml:                      bool
        """


        # Store the data.
        self.name = name
        self.base_class = base_class
        self.staticSubsystemClassId = static_id
        self.implementation_file = implementation_file
        self.declaration_file = declaration_file
        self.root_path = root_path
        self.full_path = full_path
        self.xml = xml


    def __repr_xml__(self, inheritance=""):
        # Data extraction.
         """Create a XML representation of the object.
         self.info_extraction()


        @keyword inheritance:  The string representation of the inheritance chain.
        @type inheritance:      str
        @return:                The XML representation.
        @rtype:                str
        """


         # Start.
    def __repr__(self):
         string = "<%s>\n" % self.name
         """Overwrite the string representation of the object.
 
         @return:    The string representation.
        @rtype:    str
        """


         # The inheritance chain.
         # The inheritance chain.
         string += " <inheritance>%s</inheritance>\n" % inheritance
         inheritance = ""
        if self.base_class:
            inheritance += "%s" % self.base_class.name
            if self.base_class.base_class:
                inheritance += " : %s" % self.base_class.base_class.name
                if self.base_class.base_class.base_class:
                    inheritance += " : %s" % self.base_class.base_class.base_class.name
                    if self.base_class.base_class.base_class.base_class:
                        inheritance += " : %s" % self.base_class.base_class.base_class.base_class.name
                        if self.base_class.base_class.base_class.base_class.base_class:
                            inheritance += " : %s" % self.base_class.base_class.base_class.base_class.base_class.name
 
        # XML representation.
        if self.xml:
            return self.__repr_xml__(inheritance)
 
        # The subsystem name and inheritance chain.
        string = "<%s : %s" % (self.name, inheritance)
 
        # Add the static class ID.
        if self.staticSubsystemClassId:
            string += " staticSubsystemClassId is \"%s\"" % self.staticSubsystemClassId


         # Add the declaration file name.
         # Add the declaration file name.
         string += " <declaration>%s</declaration>\n" % self.declaration_file
        file = self.declaration_file
        if self.full_path:
            file = self.root_path + sep + self.declaration_file
         string += " declared in \"%s\"" % file


         # Add the implementation file name.
         # Add the implementation file name.
         if self.implementation_file:
         if self.implementation_file:
             string += " <implementation>%s</implementation>\n" % self.implementation_file
            file = self.implementation_file
            if self.full_path:
                file = self.root_path + sep + self.implementation_file
             string += ", implemented in \"%s\"" % file


         # End.
         # Closure.
         string += "</%s>" % self.name
         string += ">"


         # Return the string.
         # Return the representation.
         return string
         return string




     def is_group(self):
     def __repr_xml__(self, inheritance=""):
         """Determine this is a subsystem or subsystem group.
         """Create a XML representation of the object.


         @return:   True if this is a subsystem group.
        @keyword inheritance:  The string representation of the inheritance chain.
         @rtype:     bool
        @type inheritance:      str
         @return:               The XML representation.
         @rtype:                 str
         """
         """


         # Chase the base name as far as possible.
         # Start.
         if self.name == "SGSubsystemGroup":
         string = "<%s>\n" % self.name
            return True
 
         if self.base_class.name == "SGSubsystemGroup":
        # The inheritance chain.
            return True
        string += " <inheritance>%s</inheritance>\n" % inheritance
         if self.base_class.base_class:
 
             if self.base_class.base_class.name == "SGSubsystemGroup":
        # Add the static class ID.
                return True
         if self.staticSubsystemClassId:
            if self.base_class.base_class.base_class:
            string += " <staticSubsystemClassId>%s</staticSubsystemClassId>\n" % self.staticSubsystemClassId
                if self.base_class.base_class.base_class.name == "SGSubsystemGroup":
 
                    return True
        # Add the declaration file name.
                if self.base_class.base_class.base_class.base_class:
        file = self.declaration_file
                    if self.base_class.base_class.base_class.base_class.name == "SGSubsystemGroup":
         if self.full_path:
                        return True
             file = self.root_path + sep + self.declaration_file
                    if self.base_class.base_class.base_class.base_class.base_class:
        string += " <declaration>%s</declaration>\n" % file
                        if self.base_class.base_class.base_class.base_class.name.base_class.name == "SGSubsystemGroup":
 
                            return True
        # Add the implementation file name.
        if self.implementation_file:
            file = self.implementation_file
            if self.full_path:
                file = self.root_path + sep + self.implementation_file
            string += " <implementation>%s</implementation>\n" % file
 
        # End.
        string += "</%s>" % self.name
 
        # Return the string.
        return string


        # A normal subsystem.
        return False


    def add_implementation_file(self, implementation_file=None):
        """Set up the object.


        @keyword implementation_file:  The path of the file containing the subsystem implementation.
        @type implementation_file:      str or None
        """


# Instantiate the class if run as a script.
        # Store the file.
if __name__ == "__main__":
        self.implementation_file = implementation_file
    FindSubsystems()
}}


=== All subsystems ===


The result is:
    def info_extraction(self):
        """Extract subsystem information from the source files."""


{{collapsible script
        # No declaration.
| type  = Text output
        if not self.declaration_file:
| title  = A listing of all flightgear and simgear subsystems and subsystem groups.
            return
| intro  = Output from the Python script for finding all subsystems within the flightgear and simgear C++ code bases.  The error output from the script was redirected and hence not shown below.
| lang  = c
| script =
Primary subsystems (91):
    <ADF : SGSubsystem declared in "src/Instrumentation/adf.hxx", implemented in "src/Instrumentation/adf.cxx">
    <AirportDynamicsManager : SGSubsystem declared in "src/Airports/airportdynamicsmanager.hxx", implemented in "src/Airports/airportdynamicsmanager.cxx">
    <AirspeedIndicator : SGSubsystem declared in "src/Instrumentation/airspeed_indicator.hxx", implemented in "src/Instrumentation/airspeed_indicator.cxx">
    <Altimeter : SGSubsystem declared in "src/Instrumentation/altimeter.hxx", implemented in "src/Instrumentation/altimeter.cxx">
    <AreaSampler : SGSubsystem declared in "src/Environment/terrainsampler.cxx", implemented in "src/Environment/terrainsampler.cxx">
    <AttitudeIndicator : SGSubsystem declared in "src/Instrumentation/attitude_indicator.hxx", implemented in "src/Instrumentation/attitude_indicator.cxx">
    <Clock : SGSubsystem declared in "src/Instrumentation/clock.hxx", implemented in "src/Instrumentation/clock.cxx">
    <CommRadio : SGSubsystem declared in "src/Instrumentation/commradio.hxx">
    <Component : SGSubsystem declared in "src/Autopilot/component.hxx", implemented in "src/Autopilot/component.cxx">
    <DCLGPS : SGSubsystem declared in "src/Instrumentation/dclgps.hxx", implemented in "src/Instrumentation/dclgps.cxx">
    <DME : SGSubsystem declared in "src/Instrumentation/dme.hxx", implemented in "src/Instrumentation/dme.cxx">
    <Ephemeris : SGSubsystem declared in "src/Environment/ephemeris.hxx", implemented in "src/Environment/ephemeris.cxx">
    <FDMShell : SGSubsystem declared in "src/FDM/fdm_shell.hxx", implemented in "src/FDM/fdm_shell.cxx">
    <FGAIManager : SGSubsystem declared in "src/AIModel/AIManager.hxx", implemented in "src/AIModel/AIManager.cxx">
    <FGATCManager : SGSubsystem declared in "src/ATC/atc_mgr.hxx", implemented in "src/ATC/atc_mgr.cxx">
    <FGAircraftModel : SGSubsystem declared in "src/Model/acmodel.hxx", implemented in "src/Model/acmodel.cxx">
    <FGCom : SGSubsystem declared in "src/Network/fgcom.hxx", implemented in "src/Network/fgcom.cxx">
    <FGControls : SGSubsystem declared in "src/Aircraft/controls.hxx", implemented in "src/Aircraft/controls.cxx">
    <FGDNSClient : SGSubsystem declared in "src/Network/DNSClient.hxx", implemented in "src/Network/DNSClient.cxx">
    <FGElectricalSystem : SGSubsystem declared in "src/Systems/electrical.hxx", implemented in "src/Systems/electrical.cxx">
    <FGEventInput : SGSubsystem declared in "src/Input/FGEventInput.hxx", implemented in "src/Input/FGEventInput.cxx">
    <FGFlightHistory : SGSubsystem declared in "src/Aircraft/FlightHistory.hxx", implemented in "src/Aircraft/FlightHistory.cxx">
    <FGHTTPClient : SGSubsystem declared in "src/Network/HTTPClient.hxx", implemented in "src/Network/HTTPClient.cxx">
    <FGHttpd : SGSubsystem declared in "src/Network/http/httpd.hxx">
    <FGIO : SGSubsystem declared in "src/Main/fg_io.hxx", implemented in "src/Main/fg_io.cxx">
    <FGInterface : SGSubsystem declared in "src/FDM/flight.hxx", implemented in "src/FDM/flight.cxx">
    <FGJoystickInput : SGSubsystem declared in "src/Input/FGJoystickInput.hxx", implemented in "src/Input/FGJoystickInput.cxx">
    <FGKR_87 : SGSubsystem declared in "src/Instrumentation/kr_87.hxx", implemented in "src/Instrumentation/kr_87.cxx">
    <FGKeyboardInput : SGSubsystem declared in "src/Input/FGKeyboardInput.hxx", implemented in "src/Input/FGKeyboardInput.cxx">
    <FGLight : SGSubsystem declared in "src/Time/light.hxx", implemented in "src/Time/light.cxx">
    <FGLogger : SGSubsystem declared in "src/Main/logger.hxx", implemented in "src/Main/logger.cxx">
    <FGMagVarManager : SGSubsystem declared in "src/Environment/magvarmanager.hxx", implemented in "src/Environment/magvarmanager.cxx">
    <FGMarkerBeacon : SGSubsystem declared in "src/Instrumentation/marker_beacon.hxx", implemented in "src/Instrumentation/marker_beacon.cxx">
    <FGModelMgr : SGSubsystem declared in "src/Model/modelmgr.hxx", implemented in "src/Model/modelmgr.cxx">
    <FGMouseInput : SGSubsystem declared in "src/Input/FGMouseInput.hxx", implemented in "src/Input/FGMouseInput.cxx">
    <FGMultiplayMgr : SGSubsystem declared in "src/MultiPlayer/multiplaymgr.hxx", implemented in "src/MultiPlayer/multiplaymgr.cxx">
    <FGNasalSys : SGSubsystem declared in "src/Scripting/NasalSys.hxx", implemented in "src/Scripting/NasalSys.cxx">
    <FGNavRadio : SGSubsystem declared in "src/Instrumentation/navradio.hxx", implemented in "src/Instrumentation/navradio.cxx">
    <FGPanel : SGSubsystem 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">
    <FGPrecipitationMgr : SGSubsystem declared in "src/Environment/precipitation_mgr.hxx", implemented in "src/Environment/precipitation_mgr.cxx">
    <FGProperties : SGSubsystem declared in "src/Main/fg_props.hxx", implemented in "src/Main/fg_props.cxx">
    <FGReplay : SGSubsystem declared in "src/Aircraft/replay.hxx", implemented in "src/Aircraft/replay.cxx">
    <FGRidgeLift : SGSubsystem declared in "src/Environment/ridge_lift.hxx", implemented in "src/Environment/ridge_lift.cxx">
    <FGRouteMgr : SGSubsystem declared in "src/Autopilot/route_mgr.hxx", implemented in "src/Autopilot/route_mgr.cxx">
    <FGScenery : SGSubsystem declared in "src/Scenery/scenery.hxx", implemented in "src/Scenery/scenery.cxx">
    <FGSoundManager : SGSubsystem declared in "src/Sound/soundmanager.hxx", implemented in "src/Sound/soundmanager.cxx">
    <FGSubmodelMgr : SGSubsystem declared in "src/AIModel/submodel.hxx", implemented in "src/AIModel/submodel.cxx">
    <FGSubsystemExample : SGSubsystem declared in "docs-mini/README.introduction", implemented in "docs-mini/README.introduction">
    <FGTrafficManager : SGSubsystem declared in "src/Traffic/TrafficMgr.hxx", implemented in "src/Traffic/TrafficMgr.cxx">
    <FGViewMgr : SGSubsystem declared in "src/Viewer/viewmgr.hxx", implemented in "src/Viewer/viewmgr.cxx">
    <FGVoiceMgr : SGSubsystem declared in "src/Sound/voice.hxx", implemented in "src/Sound/voice.cxx">
    <GPS : SGSubsystem declared in "src/Instrumentation/gps.hxx", implemented in "src/Instrumentation/gps.cxx">
    <GSDI : SGSubsystem declared in "src/Instrumentation/gsdi.hxx", implemented in "src/Instrumentation/gsdi.cxx">
    <GUIMgr : SGSubsystem declared in "src/Canvas/gui_mgr.hxx", implemented in "src/Canvas/gui_mgr.cxx">
    <GroundRadar : SGSubsystem declared in "src/Cockpit/groundradar.hxx", implemented in "src/Cockpit/groundradar.cxx">
    <HUD : SGSubsystem declared in "src/Instrumentation/HUD/HUD.hxx", implemented in "src/Instrumentation/HUD/HUD.cxx">
    <HeadingIndicator : SGSubsystem declared in "src/Instrumentation/heading_indicator.hxx", implemented in "src/Instrumentation/heading_indicator.cxx">
    <HeadingIndicatorDG : SGSubsystem declared in "src/Instrumentation/heading_indicator_dg.hxx", implemented in "src/Instrumentation/heading_indicator_dg.cxx">
    <HeadingIndicatorFG : SGSubsystem declared in "src/Instrumentation/heading_indicator_fg.hxx", implemented in "src/Instrumentation/heading_indicator_fg.cxx">
    <InstVerticalSpeedIndicator : SGSubsystem declared in "src/Instrumentation/inst_vertical_speed_indicator.hxx", implemented in "src/Instrumentation/inst_vertical_speed_indicator.cxx">
    <LayerInterpolateController : SGSubsystem declared in "src/Environment/environment_ctrl.hxx">
    <MK_VIII : SGSubsystem declared in "src/Instrumentation/mk_viii.hxx", implemented in "src/Instrumentation/mk_viii.cxx">
    <MagCompass : SGSubsystem declared in "src/Instrumentation/mag_compass.hxx", implemented in "src/Instrumentation/mag_compass.cxx">
    <MasterReferenceGyro : SGSubsystem declared in "src/Instrumentation/mrg.hxx", implemented in "src/Instrumentation/mrg.cxx">
    <NavDisplay : SGSubsystem declared in "src/Cockpit/NavDisplay.hxx", implemented in "src/Cockpit/NavDisplay.cxx">
    <NavRadio : SGSubsystem declared in "src/Instrumentation/newnavradio.hxx">
    <NewGUI : SGSubsystem declared in "src/GUI/new_gui.hxx", implemented in "src/GUI/new_gui.cxx">
    <PerformanceDB : SGSubsystem declared in "src/AIModel/performancedb.hxx", implemented in "src/AIModel/performancedb.cxx">
    <PitotSystem : SGSubsystem declared in "src/Systems/pitot.hxx", implemented in "src/Systems/pitot.cxx">
    <PropertyBasedMgr : SGSubsystem declared in "simgear/props/PropertyBasedMgr.hxx", implemented in "simgear/props/PropertyBasedMgr.cxx">
    <PropertyInterpolationMgr : SGSubsystem declared in "simgear/props/PropertyInterpolationMgr.hxx", implemented in "simgear/props/PropertyInterpolationMgr.cxx">
    <RadarAltimeter : SGSubsystem declared in "src/Instrumentation/rad_alt.hxx", implemented in "src/Instrumentation/rad_alt.cxx">
    <RealWxController : SGSubsystem declared in "src/Environment/realwx_ctrl.hxx", implemented in "src/Environment/realwx_ctrl.cxx">
    <SGEventMgr : SGSubsystem 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">
    <SGPerformanceMonitor : SGSubsystem declared in "simgear/structure/SGPerfMon.hxx", implemented in "simgear/structure/SGPerfMon.cxx">
    <SGSoundMgr : SGSubsystem declared in "simgear/sound/soundmgr.hxx">
    <SGSubsystemMgr : SGSubsystem declared in "simgear/structure/subsystem_mgr.hxx", implemented in "simgear/structure/subsystem_mgr.cxx">
    <SGTerraSync : SGSubsystem declared in "simgear/scene/tsync/terrasync.hxx", implemented in "simgear/scene/tsync/terrasync.cxx">
    <SlipSkidBall : SGSubsystem declared in "src/Instrumentation/slip_skid_ball.hxx", implemented in "src/Instrumentation/slip_skid_ball.cxx">
    <StaticSystem : SGSubsystem declared in "src/Systems/static.hxx", implemented in "src/Systems/static.cxx">
    <TACAN : SGSubsystem declared in "src/Instrumentation/tacan.hxx", implemented in "src/Instrumentation/tacan.cxx">
    <TCAS : SGSubsystem declared in "src/Instrumentation/tcas.hxx", implemented in "src/Instrumentation/tcas.cxx">
    <TimeManager : SGSubsystem declared in "src/Time/TimeManager.hxx", implemented in "src/Time/TimeManager.cxx">
    <Transponder : SGSubsystem declared in "src/Instrumentation/transponder.hxx", implemented in "src/Instrumentation/transponder.cxx">
    <TurnIndicator : SGSubsystem declared in "src/Instrumentation/turn_indicator.hxx", implemented in "src/Instrumentation/turn_indicator.cxx">
    <VacuumSystem : SGSubsystem declared in "src/Systems/vacuum.hxx", implemented in "src/Systems/vacuum.cxx">
    <VerticalSpeedIndicator : SGSubsystem declared in "src/Instrumentation/vertical_speed_indicator.hxx", implemented in "src/Instrumentation/vertical_speed_indicator.cxx">
    <View : SGSubsystem declared in "src/Viewer/view.hxx", implemented in "src/Viewer/view.cxx">
    <wxRadarBg : SGSubsystem declared in "src/Cockpit/wxradar.hxx", implemented in "src/Cockpit/wxradar.cxx">


Primary groups (8):
        # Open the declaration file.
    <Autopilot : SGSubsystemGroup : SGSubsystem declared in "src/Autopilot/autopilot.hxx", implemented in "src/Autopilot/autopilot.cxx">
        file = open(self.root_path + sep + self.declaration_file)
    <CockpitDisplayManager : SGSubsystemGroup : SGSubsystem declared in "src/Cockpit/cockpitDisplayManager.hxx", implemented in "src/Cockpit/cockpitDisplayManager.cxx">
        lines = file.readlines()
    <FGEnvironmentMgr : SGSubsystemGroup : SGSubsystem declared in "src/Environment/environment_mgr.hxx", implemented in "src/Environment/environment_mgr.cxx">
        file.close()
    <FGInput : SGSubsystemGroup : SGSubsystem declared in "src/Input/input.hxx", implemented in "src/Input/input.cxx">
    <FGInstrumentMgr : SGSubsystemGroup : SGSubsystem declared in "src/Instrumentation/instrument_mgr.hxx", implemented in "src/Instrumentation/instrument_mgr.cxx">
    <FGSystemMgr : SGSubsystemGroup : SGSubsystem declared in "src/Systems/system_mgr.hxx", implemented in "src/Systems/system_mgr.cxx">
    <FGXMLAutopilotGroup : SGSubsystemGroup : SGSubsystem declared in "src/Autopilot/autopilotgroup.hxx", implemented in "src/Autopilot/autopilotgroup.cxx">
    <TerrainSampler : SGSubsystemGroup : SGSubsystem declared in "src/Environment/terrainsampler.hxx">


Secondary subsystems (28):
        # Loop over the file contents.
    <AnalogComponent : Component : SGSubsystem declared in "src/Autopilot/analogcomponent.hxx", implemented in "src/Autopilot/analogcomponent.cxx">
        in_decl = False
    <BasicRealWxController : RealWxController : SGSubsystem declared in "src/Environment/realwx_ctrl.cxx", implemented in "src/Environment/realwx_ctrl.cxx">
        for i in range(len(lines)):
    <CanvasMgr : PropertyBasedMgr : SGSubsystem declared in "simgear/canvas/CanvasMgr.hxx", implemented in "simgear/canvas/CanvasMgr.cxx">
            # The start of the declaration.
    <CommRadioImpl : CommRadio : SGSubsystem declared in "src/Instrumentation/commradio.cxx", implemented in "src/Instrumentation/commradio.cxx">
            if search("^class %s : " % self.name, lines[i]):
    <DigitalComponent : Component : SGSubsystem declared in "src/Autopilot/digitalcomponent.hxx", implemented in "src/Autopilot/digitalcomponent.cxx">
                in_decl = True
    <FGACMS : FGInterface : SGSubsystem declared in "src/FDM/SP/ACMS.hxx", implemented in "src/FDM/SP/ACMS.cxx">
                continue
    <FGADA : FGInterface : SGSubsystem 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">
    <FGBalloonSim : FGInterface : SGSubsystem declared in "src/FDM/SP/Balloon.h", implemented in "src/FDM/SP/Balloon.cxx">
    <FGExternalNet : FGInterface : SGSubsystem declared in "src/FDM/ExternalNet/ExternalNet.hxx", implemented in "src/FDM/ExternalNet/ExternalNet.cxx">
    <FGExternalPipe : FGInterface : SGSubsystem declared in "src/FDM/ExternalPipe/ExternalPipe.hxx", implemented in "src/FDM/ExternalPipe/ExternalPipe.cxx">
    <FGHIDEventInput : FGEventInput : SGSubsystem declared in "src/Input/FGHIDEventInput.hxx", implemented in "src/Input/FGHIDEventInput.cxx">
    <FGJSBsim : FGInterface : SGSubsystem declared in "src/FDM/JSBSim/JSBSim.hxx", implemented in "src/FDM/JSBSim/JSBSim.cxx">
    <FGLaRCsim : FGInterface : SGSubsystem declared in "src/FDM/LaRCsim/LaRCsim.hxx", implemented in "src/FDM/LaRCsim/LaRCsim.cxx">
    <FGLinuxEventInput : FGEventInput : SGSubsystem declared in "src/Input/FGLinuxEventInput.hxx", implemented in "src/Input/FGLinuxEventInput.cxx">
    <FGMacOSXEventInput : FGEventInput : SGSubsystem declared in "src/Input/FGMacOSXEventInput.hxx", implemented in "src/Input/FGMacOSXEventInput.cxx">
    <FGMagicCarpet : FGInterface : SGSubsystem declared in "src/FDM/SP/MagicCarpet.hxx", implemented in "src/FDM/SP/MagicCarpet.cxx">
    <FGNullFDM : FGInterface : SGSubsystem 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">
    <FGSoundManager : SGSoundMgr : SGSubsystem declared in "src/Sound/soundmanager.hxx", implemented in "src/Sound/soundmanager.cxx">
    <FGUFO : FGInterface : SGSubsystem declared in "src/FDM/UFO.hxx", implemented in "src/FDM/UFO.cxx">
    <KLN89 : DCLGPS : SGSubsystem declared in "src/Instrumentation/KLN89/kln89.hxx", implemented in "src/Instrumentation/KLN89/kln89.cxx">
    <LayerInterpolateControllerImplementation : LayerInterpolateController : SGSubsystem declared in "src/Environment/environment_ctrl.cxx", implemented in "src/Environment/environment_ctrl.cxx">
    <MongooseHttpd : FGHttpd : SGSubsystem declared in "src/Network/http/httpd.cxx", implemented in "src/Network/http/httpd.cxx">
    <NavRadioImpl : NavRadio : SGSubsystem declared in "src/Instrumentation/newnavradio.cxx", implemented in "src/Instrumentation/newnavradio.cxx">
    <StateMachineComponent : Component : SGSubsystem declared in "src/Autopilot/autopilot.cxx", implemented in "src/Autopilot/autopilot.cxx">
    <YASim : FGInterface : SGSubsystem declared in "src/FDM/YASim/YASim.hxx", implemented in "src/FDM/YASim/YASim.cxx">
    <agRadar : wxRadarBg : SGSubsystem declared in "src/Cockpit/agradar.hxx", implemented in "src/Cockpit/agradar.cxx">


Secondary groups (2):
            # Skip the line.
    <FGXMLAutopilotGroupImplementation : FGXMLAutopilotGroup : SGSubsystemGroup : SGSubsystem declared in "src/Autopilot/autopilotgroup.cxx", implemented in "src/Autopilot/autopilotgroup.cxx">
            if not in_decl:
    <TerrainSamplerImplementation : TerrainSampler : SGSubsystemGroup : SGSubsystem declared in "src/Environment/terrainsampler.cxx", implemented in "src/Environment/terrainsampler.cxx">
                continue


Tertiary subsystems (6):
            # Out of the declaration.
    <DigitalFilter : AnalogComponent : Component : SGSubsystem declared in "src/Autopilot/digitalfilter.hxx", implemented in "src/Autopilot/digitalfilter.cxx">
            if search("^};", lines[i]):
    <Logic : DigitalComponent : Component : SGSubsystem declared in "src/Autopilot/logic.hxx", implemented in "src/Autopilot/logic.cxx">
                in_decl = False
    <NoaaMetarRealWxController : BasicRealWxController : RealWxController : SGSubsystem declared in "src/Environment/realwx_ctrl.cxx", implemented in "src/Environment/realwx_ctrl.cxx">
                continue
    <PIDController : AnalogComponent : Component : SGSubsystem declared in "src/Autopilot/pidcontroller.hxx", implemented in "src/Autopilot/pidcontroller.cxx">
    <PISimpleController : AnalogComponent : Component : SGSubsystem declared in "src/Autopilot/pisimplecontroller.hxx", implemented in "src/Autopilot/pisimplecontroller.cxx">
    <Predictor : AnalogComponent : Component : SGSubsystem declared in "src/Autopilot/predictor.hxx", implemented in "src/Autopilot/predictor.cxx">


Quaternary subsystems (1):
            # The static subsystem class ID.
    <FlipFlop : Logic : DigitalComponent : Component : SGSubsystem declared in "src/Autopilot/flipflop.hxx", implemented in "src/Autopilot/flipflop.cxx">
            if search("static const char\* staticSubsystemClassId()", lines[i]):
                id = lines[i].split("return \"")[1]
                id = id.split("\"")[0]
                self.staticSubsystemClassId = id


Counts: 126 subsystem classes (117 flightgear, 9 simgear).
Counts: 10 subsystem groups (10 flightgear, 0 simgear).
Counts: 136 subsystem classes and groups (127 flightgear, 9 simgear).
}}


{{collapsible script
    def is_group(self):
| type  = XML output
        """Determine this is a subsystem or subsystem group.
| title  = A listing of all flightgear and simgear subsystems and subsystem groups.
 
| intro  = XML output from the Python script for finding all subsystems within the flightgear and simgear C++ code bases.  The error output from the script was redirected and hence not shown below.
        @return:    True if this is a subsystem group.
| lang  = xml
        @rtype:    bool
| script =  
        """
<?xml version="1.0"?>
 
<subsystems>
        # Chase the base name as far as possible.
  <primary_subsystems count="91">
        if self.name == "SGSubsystemGroup":
     <ADF>
            return True
      <inheritance>SGSubsystem</inheritance>
        if self.base_class.name == "SGSubsystemGroup":
      <declaration>src/Instrumentation/adf.hxx</declaration>
            return True
      <implementation>src/Instrumentation/adf.cxx</implementation>
        if self.base_class.base_class:
     </ADF>
            if self.base_class.base_class.name == "SGSubsystemGroup":
     <AirportDynamicsManager>
                return True
      <inheritance>SGSubsystem</inheritance>
            if self.base_class.base_class.base_class:
      <declaration>src/Airports/airportdynamicsmanager.hxx</declaration>
                if self.base_class.base_class.base_class.name == "SGSubsystemGroup":
      <implementation>src/Airports/airportdynamicsmanager.cxx</implementation>
                    return True
     </AirportDynamicsManager>
                if self.base_class.base_class.base_class.base_class:
     <AirspeedIndicator>
                    if self.base_class.base_class.base_class.base_class.name == "SGSubsystemGroup":
      <inheritance>SGSubsystem</inheritance>
                        return True
      <declaration>src/Instrumentation/airspeed_indicator.hxx</declaration>
                    if self.base_class.base_class.base_class.base_class.base_class:
      <implementation>src/Instrumentation/airspeed_indicator.cxx</implementation>
                        if self.base_class.base_class.base_class.base_class.name.base_class.name == "SGSubsystemGroup":
     </AirspeedIndicator>
                            return True
     <Altimeter>
 
      <inheritance>SGSubsystem</inheritance>
        # A normal subsystem.
      <declaration>src/Instrumentation/altimeter.hxx</declaration>
        return False
      <implementation>src/Instrumentation/altimeter.cxx</implementation>
 
     </Altimeter>
 
     <AreaSampler>
 
      <inheritance>SGSubsystem</inheritance>
# Instantiate the class if run as a script.
      <declaration>src/Environment/terrainsampler.cxx</declaration>
if __name__ == "__main__":
      <implementation>src/Environment/terrainsampler.cxx</implementation>
    FindSubsystems()
     </AreaSampler>
}}
     <AttitudeIndicator>
 
      <inheritance>SGSubsystem</inheritance>
=== All subsystems ===
      <declaration>src/Instrumentation/attitude_indicator.hxx</declaration>
 
      <implementation>src/Instrumentation/attitude_indicator.cxx</implementation>
The result is:
     </AttitudeIndicator>
 
     <Clock>
{{collapsible script
      <inheritance>SGSubsystem</inheritance>
| type  = Text output
      <declaration>src/Instrumentation/clock.hxx</declaration>
| title  = A listing of all flightgear and simgear subsystems and subsystem groups.
      <implementation>src/Instrumentation/clock.cxx</implementation>
| intro  = Output from the Python script for finding all subsystems within the flightgear and simgear C++ code bases.  The error output from the script was redirected and hence not shown below.
     </Clock>
| lang  = c
     <CommRadio>
| script =  
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">
    <AirspeedIndicator : SGSubsystem staticSubsystemClassId is "airspeed-indicator" declared in "src/Instrumentation/airspeed_indicator.hxx", implemented in "src/Instrumentation/airspeed_indicator.cxx">
    <Altimeter : SGSubsystem staticSubsystemClassId is "altimeter" declared in "src/Instrumentation/altimeter.hxx", implemented in "src/Instrumentation/altimeter.cxx">
    <AnotherSub : SGSubsystem staticSubsystemClassId is "anothersub" declared in "simgear/structure/subsystem_test.cxx">
    <AreaSampler : SGSubsystem staticSubsystemClassId is "area" declared in "src/Environment/terrainsampler.cxx", implemented in "src/Environment/terrainsampler.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">
    <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">
    <FDMShell : SGSubsystem staticSubsystemClassId is "flight" declared in "src/FDM/fdm_shell.hxx", implemented in "src/FDM/fdm_shell.cxx">
    <FGAIManager : SGSubsystem staticSubsystemClassId is "ai-model" declared in "src/AIModel/AIManager.hxx", implemented in "src/AIModel/AIManager.cxx">
    <FGATCManager : SGSubsystem staticSubsystemClassId is "ATC" declared in "src/ATC/atc_mgr.hxx", implemented in "src/ATC/atc_mgr.cxx">
    <FGAircraftModel : SGSubsystem staticSubsystemClassId is "aircraft-model" declared in "src/Model/acmodel.hxx", implemented in "src/Model/acmodel.cxx">
    <FGCom : SGSubsystem staticSubsystemClassId is "fgcom" declared in "src/Network/fgcom.hxx", implemented in "src/Network/fgcom.cxx">
    <FGControls : SGSubsystem staticSubsystemClassId is "controls" declared in "src/Aircraft/controls.hxx", implemented in "src/Aircraft/controls.cxx">
    <FGDNSClient : SGSubsystem staticSubsystemClassId is "dns" declared in "src/Network/DNSClient.hxx", implemented in "src/Network/DNSClient.cxx">
    <FGElectricalSystem : SGSubsystem staticSubsystemClassId is "electrical" declared in "src/Systems/electrical.hxx", implemented in "src/Systems/electrical.cxx">
     <FGEventInput : SGSubsystem declared in "src/Input/FGEventInput.hxx", implemented in "src/Input/FGEventInput.cxx">
    <FGFlightHistory : SGSubsystem staticSubsystemClassId is "history" declared in "src/Aircraft/FlightHistory.hxx", implemented in "src/Aircraft/FlightHistory.cxx">
    <FGHTTPClient : SGSubsystem staticSubsystemClassId is "http" declared in "src/Network/HTTPClient.hxx", implemented in "src/Network/HTTPClient.cxx">
    <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">
    <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">
    <FGJoystickInput : SGSubsystem staticSubsystemClassId is "input-joystick" declared in "src/Input/FGJoystickInput.hxx", implemented in "src/Input/FGJoystickInput.cxx">
    <FGKR_87 : SGSubsystem staticSubsystemClassId is "KR-87" declared in "src/Instrumentation/kr_87.hxx", implemented in "src/Instrumentation/kr_87.cxx">
    <FGKeyboardInput : SGSubsystem staticSubsystemClassId is "input-keyboard" declared in "src/Input/FGKeyboardInput.hxx", implemented in "src/Input/FGKeyboardInput.cxx">
    <FGLight : SGSubsystem staticSubsystemClassId is "lighting" declared in "src/Time/light.hxx", implemented in "src/Time/light.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">
     <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">
    <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">
    <FGPanel : SGSubsystem staticSubsystemClassId is "panel" declared in "utils/fgpanel/FGPanel.hxx", implemented in "utils/fgpanel/FGPanel.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">
    <FGProperties : SGSubsystem staticSubsystemClassId is "properties" declared in "src/Main/fg_props.hxx", implemented in "src/Main/fg_props.cxx">
    <FGReplay : SGSubsystem staticSubsystemClassId is "replay" declared in "src/Aircraft/replay.hxx", implemented in "src/Aircraft/replay.cxx">
    <FGRidgeLift : SGSubsystem staticSubsystemClassId is "ridgelift" declared in "src/Environment/ridge_lift.hxx", implemented in "src/Environment/ridge_lift.cxx">
    <FGRouteMgr : SGSubsystem staticSubsystemClassId is "route-manager" declared in "src/Autopilot/route_mgr.hxx", implemented in "src/Autopilot/route_mgr.cxx">
    <FGScenery : SGSubsystem staticSubsystemClassId is "scenery" declared in "src/Scenery/scenery.hxx", implemented in "src/Scenery/scenery.cxx">
    <FGSoundManager : SGSubsystem staticSubsystemClassId is "sound" declared in "src/Sound/soundmanager.hxx", implemented in "src/Sound/soundmanager.cxx">
     <FGSubmodelMgr : SGSubsystem staticSubsystemClassId is "submodel-mgr" declared in "src/AIModel/submodel.hxx", implemented in "src/AIModel/submodel.cxx">
     <FGSubsystemExample : SGSubsystem declared in "docs-mini/README.introduction">
    <FGTrafficManager : SGSubsystem staticSubsystemClassId is "traffic-manager" declared in "src/Traffic/TrafficMgr.hxx", implemented in "src/Traffic/TrafficMgr.cxx">
    <FGViewMgr : SGSubsystem staticSubsystemClassId is "view-manager" declared in "src/Viewer/viewmgr.hxx", implemented in "src/Viewer/viewmgr.cxx">
    <FGVoiceMgr : SGSubsystem staticSubsystemClassId is "voice" declared in "src/Sound/voice.hxx", implemented in "src/Sound/voice.cxx">
    <FakeRadioSub : SGSubsystem staticSubsystemClassId is "fake-radio" declared in "simgear/structure/subsystem_test.cxx">
    <GPS : SGSubsystem staticSubsystemClassId is "gps" declared in "src/Instrumentation/gps.hxx", implemented in "src/Instrumentation/gps.cxx">
    <GSDI : SGSubsystem staticSubsystemClassId is "gsdi" declared in "src/Instrumentation/gsdi.hxx", implemented in "src/Instrumentation/gsdi.cxx">
    <GUIMgr : SGSubsystem staticSubsystemClassId is "CanvasGUI" declared in "src/Canvas/gui_mgr.hxx", implemented in "src/Canvas/gui_mgr.cxx">
    <GroundRadar : SGSubsystem staticSubsystemClassId is "groundradar" declared in "src/Cockpit/groundradar.hxx", implemented in "src/Cockpit/groundradar.cxx">
    <HUD : SGSubsystem staticSubsystemClassId is "hud" declared in "src/Instrumentation/HUD/HUD.hxx", implemented in "src/Instrumentation/HUD/HUD.cxx">
    <HeadingIndicator : SGSubsystem staticSubsystemClassId is "heading-indicator" declared in "src/Instrumentation/heading_indicator.hxx", implemented in "src/Instrumentation/heading_indicator.cxx">
    <HeadingIndicatorDG : SGSubsystem staticSubsystemClassId is "heading-indicator-dg" declared in "src/Instrumentation/heading_indicator_dg.hxx", implemented in "src/Instrumentation/heading_indicator_dg.cxx">
    <HeadingIndicatorFG : SGSubsystem staticSubsystemClassId is "heading-indicator-fg" declared in "src/Instrumentation/heading_indicator_fg.hxx", implemented in "src/Instrumentation/heading_indicator_fg.cxx">
    <InstVerticalSpeedIndicator : SGSubsystem staticSubsystemClassId is "inst-vertical-speed-indicator" declared in "src/Instrumentation/inst_vertical_speed_indicator.hxx", implemented in "src/Instrumentation/inst_vertical_speed_indicator.cxx">
     <LayerInterpolateController : SGSubsystem declared in "src/Environment/environment_ctrl.hxx">
     <MK_VIII : SGSubsystem staticSubsystemClassId is "mk-viii" declared in "src/Instrumentation/mk_viii.hxx", implemented in "src/Instrumentation/mk_viii.cxx">
    <MagCompass : SGSubsystem staticSubsystemClassId is "magnetic-compass" declared in "src/Instrumentation/mag_compass.hxx", implemented in "src/Instrumentation/mag_compass.cxx">
    <MasterReferenceGyro : SGSubsystem staticSubsystemClassId is "master-reference-gyro" declared in "src/Instrumentation/mrg.hxx", implemented in "src/Instrumentation/mrg.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">
    <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">
    <PerformanceDB : SGSubsystem staticSubsystemClassId is "aircraft-performance-db" declared in "src/AIModel/performancedb.hxx", implemented in "src/AIModel/performancedb.cxx">
    <PitotSystem : SGSubsystem staticSubsystemClassId is "pitot" declared in "src/Systems/pitot.hxx", implemented in "src/Systems/pitot.cxx">
    <PropertyBasedMgr : SGSubsystem declared in "simgear/props/PropertyBasedMgr.hxx", implemented in "simgear/props/PropertyBasedMgr.cxx">
    <PropertyInterpolationMgr : SGSubsystem declared in "simgear/props/PropertyInterpolationMgr.hxx", implemented in "simgear/props/PropertyInterpolationMgr.cxx">
    <RadarAltimeter : SGSubsystem staticSubsystemClassId is "radar-altimeter" declared in "src/Instrumentation/rad_alt.hxx", implemented in "src/Instrumentation/rad_alt.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">
    <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">
    <SGSoundMgr : SGSubsystem staticSubsystemClassId is "sound" declared in "simgear/sound/soundmgr.hxx">
    <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">
    <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">
    <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">
     <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">
    <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">
    <VerticalSpeedIndicator : SGSubsystem staticSubsystemClassId is "vertical-speed-indicator" declared in "src/Instrumentation/vertical_speed_indicator.hxx", implemented in "src/Instrumentation/vertical_speed_indicator.cxx">
    <View : SGSubsystem staticSubsystemClassId is "view" declared in "src/Viewer/view.hxx", implemented in "src/Viewer/view.cxx">
    <wxRadarBg : SGSubsystem staticSubsystemClassId is "radar" declared in "src/Cockpit/wxradar.hxx", implemented in "src/Cockpit/wxradar.cxx">
 
Primary groups (8):
    <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">
    <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">
    <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">
    <InstrumentGroup : SGSubsystemGroup : SGSubsystem staticSubsystemClassId is "instruments" declared in "simgear/structure/subsystem_test.cxx">
    <TerrainSampler : SGSubsystemGroup : SGSubsystem declared in "src/Environment/terrainsampler.hxx">
 
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">
    <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">
    <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">
    <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">
    <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">
    <FGExternalNet : FGInterface : SGSubsystem staticSubsystemClassId is "network" declared in "src/FDM/ExternalNet/ExternalNet.hxx", implemented in "src/FDM/ExternalNet/ExternalNet.cxx">
    <FGExternalPipe : FGInterface : SGSubsystem staticSubsystemClassId is "pipe" declared in "src/FDM/ExternalPipe/ExternalPipe.hxx", implemented in "src/FDM/ExternalPipe/ExternalPipe.cxx">
     <FGHIDEventInput : FGEventInput : SGSubsystem staticSubsystemClassId is "input-event-hid" declared in "src/Input/FGHIDEventInput.hxx", implemented in "src/Input/FGHIDEventInput.cxx">
    <FGInterpolator : PropertyInterpolationMgr : SGSubsystem staticSubsystemClassId is "prop-interpolator" declared in "src/Main/FGInterpolator.hxx", implemented in "src/Main/FGInterpolator.cxx">
    <FGJSBsim : FGInterface : SGSubsystem staticSubsystemClassId is "jsb" declared in "src/FDM/JSBSim/JSBSim.hxx", implemented in "src/FDM/JSBSim/JSBSim.cxx">
    <FGLaRCsim : FGInterface : SGSubsystem staticSubsystemClassId is "larcsim" declared in "src/FDM/LaRCsim/LaRCsim.hxx", implemented in "src/FDM/LaRCsim/LaRCsim.cxx">
    <FGLinuxEventInput : FGEventInput : SGSubsystem staticSubsystemClassId is "input-event" declared in "src/Input/FGLinuxEventInput.hxx", implemented in "src/Input/FGLinuxEventInput.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">
    <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">
     <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">
    <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">
    <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">
    <agRadar : wxRadarBg : SGSubsystem staticSubsystemClassId is "air-ground-radar" declared in "src/Cockpit/agradar.hxx", implemented in "src/Cockpit/agradar.cxx">
 
Secondary groups (2):
    <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 staticSubsystemClassId is "terrain-sampler" declared in "src/Environment/terrainsampler.cxx", implemented in "src/Environment/terrainsampler.cxx">
 
Tertiary subsystems (7):
    <CanvasMgr : CanvasMgr : PropertyBasedMgr : SGSubsystem staticSubsystemClassId is "Canvas" declared in "src/Canvas/canvas_mgr.hxx", implemented in "src/Canvas/canvas_mgr.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">
    <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">
    <PISimpleController : AnalogComponent : Component : SGSubsystem staticSubsystemClassId is "pi-simple-controller" declared in "src/Autopilot/pisimplecontroller.hxx", implemented in "src/Autopilot/pisimplecontroller.cxx">
    <Predictor : AnalogComponent : Component : SGSubsystem staticSubsystemClassId is "predict-simple" declared in "src/Autopilot/predictor.hxx", implemented in "src/Autopilot/predictor.cxx">
 
Quaternary subsystems (1):
     <FlipFlop : Logic : DigitalComponent : Component : SGSubsystem staticSubsystemClassId is "flipflop" declared in "src/Autopilot/flipflop.hxx", implemented in "src/Autopilot/flipflop.cxx">
 
Counts: 130 subsystem classes (118 flightgear, 12 simgear).
Counts: 10 subsystem groups (9 flightgear, 1 simgear).
Counts: 140 subsystem classes and groups (127 flightgear, 13 simgear).
}}
 
{{collapsible script
| type  = XML output
| title  = A listing of all flightgear and simgear subsystems and subsystem groups.
| intro  = XML output from the Python script for finding all subsystems within the flightgear and simgear C++ code bases.  The error output from the script was redirected and hence not shown below.
| lang  = xml
| script =
<?xml version="1.0"?>
<subsystems>
  <primary_subsystems count="90">
     <AbstractInstrument>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
       <declaration>src/Instrumentation/commradio.hxx</declaration>
       <declaration>src/Instrumentation/AbstractInstrument.hxx</declaration>
     </CommRadio>
      <implementation>src/Instrumentation/AbstractInstrument.cxx</implementation>
     <Component>
     </AbstractInstrument>
     <AirportDynamicsManager>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
       <declaration>src/Autopilot/component.hxx</declaration>
      <staticSubsystemClassId>airport-dynamics</staticSubsystemClassId>
       <implementation>src/Autopilot/component.cxx</implementation>
       <declaration>src/Airports/airportdynamicsmanager.hxx</declaration>
     </Component>
       <implementation>src/Airports/airportdynamicsmanager.cxx</implementation>
     <DCLGPS>
     </AirportDynamicsManager>
     <AirspeedIndicator>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
       <declaration>src/Instrumentation/dclgps.hxx</declaration>
      <staticSubsystemClassId>airspeed-indicator</staticSubsystemClassId>
       <implementation>src/Instrumentation/dclgps.cxx</implementation>
       <declaration>src/Instrumentation/airspeed_indicator.hxx</declaration>
     </DCLGPS>
       <implementation>src/Instrumentation/airspeed_indicator.cxx</implementation>
     <DME>
     </AirspeedIndicator>
     <Altimeter>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
       <declaration>src/Instrumentation/dme.hxx</declaration>
      <staticSubsystemClassId>altimeter</staticSubsystemClassId>
       <implementation>src/Instrumentation/dme.cxx</implementation>
       <declaration>src/Instrumentation/altimeter.hxx</declaration>
     </DME>
       <implementation>src/Instrumentation/altimeter.cxx</implementation>
     <Ephemeris>
     </Altimeter>
     <AnotherSub>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
       <declaration>src/Environment/ephemeris.hxx</declaration>
       <staticSubsystemClassId>anothersub</staticSubsystemClassId>
       <implementation>src/Environment/ephemeris.cxx</implementation>
       <declaration>simgear/structure/subsystem_test.cxx</declaration>
     </Ephemeris>
     </AnotherSub>
     <FDMShell>
     <AreaSampler>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>area</staticSubsystemClassId>
      <declaration>src/Environment/terrainsampler.cxx</declaration>
      <implementation>src/Environment/terrainsampler.cxx</implementation>
    </AreaSampler>
    <AttitudeIndicator>
      <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>attitude-indicator</staticSubsystemClassId>
      <declaration>src/Instrumentation/attitude_indicator.hxx</declaration>
      <implementation>src/Instrumentation/attitude_indicator.cxx</implementation>
    </AttitudeIndicator>
    <Clock>
      <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>clock</staticSubsystemClassId>
      <declaration>src/Instrumentation/clock.hxx</declaration>
      <implementation>src/Instrumentation/clock.cxx</implementation>
    </Clock>
    <Component>
      <inheritance>SGSubsystem</inheritance>
      <declaration>src/Autopilot/component.hxx</declaration>
      <implementation>src/Autopilot/component.cxx</implementation>
    </Component>
    <Ephemeris>
      <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>ephemeris</staticSubsystemClassId>
      <declaration>src/Environment/ephemeris.hxx</declaration>
      <implementation>src/Environment/ephemeris.cxx</implementation>
    </Ephemeris>
    <FDMShell>
      <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>flight</staticSubsystemClassId>
       <declaration>src/FDM/fdm_shell.hxx</declaration>
       <declaration>src/FDM/fdm_shell.hxx</declaration>
       <implementation>src/FDM/fdm_shell.cxx</implementation>
       <implementation>src/FDM/fdm_shell.cxx</implementation>
Line 868: Line 1,083:
     <FGAIManager>
     <FGAIManager>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>ai-model</staticSubsystemClassId>
       <declaration>src/AIModel/AIManager.hxx</declaration>
       <declaration>src/AIModel/AIManager.hxx</declaration>
       <implementation>src/AIModel/AIManager.cxx</implementation>
       <implementation>src/AIModel/AIManager.cxx</implementation>
Line 873: Line 1,089:
     <FGATCManager>
     <FGATCManager>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>ATC</staticSubsystemClassId>
       <declaration>src/ATC/atc_mgr.hxx</declaration>
       <declaration>src/ATC/atc_mgr.hxx</declaration>
       <implementation>src/ATC/atc_mgr.cxx</implementation>
       <implementation>src/ATC/atc_mgr.cxx</implementation>
Line 878: Line 1,095:
     <FGAircraftModel>
     <FGAircraftModel>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>aircraft-model</staticSubsystemClassId>
       <declaration>src/Model/acmodel.hxx</declaration>
       <declaration>src/Model/acmodel.hxx</declaration>
       <implementation>src/Model/acmodel.cxx</implementation>
       <implementation>src/Model/acmodel.cxx</implementation>
Line 883: Line 1,101:
     <FGCom>
     <FGCom>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>fgcom</staticSubsystemClassId>
       <declaration>src/Network/fgcom.hxx</declaration>
       <declaration>src/Network/fgcom.hxx</declaration>
       <implementation>src/Network/fgcom.cxx</implementation>
       <implementation>src/Network/fgcom.cxx</implementation>
Line 888: Line 1,107:
     <FGControls>
     <FGControls>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>controls</staticSubsystemClassId>
       <declaration>src/Aircraft/controls.hxx</declaration>
       <declaration>src/Aircraft/controls.hxx</declaration>
       <implementation>src/Aircraft/controls.cxx</implementation>
       <implementation>src/Aircraft/controls.cxx</implementation>
Line 893: Line 1,113:
     <FGDNSClient>
     <FGDNSClient>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>dns</staticSubsystemClassId>
       <declaration>src/Network/DNSClient.hxx</declaration>
       <declaration>src/Network/DNSClient.hxx</declaration>
       <implementation>src/Network/DNSClient.cxx</implementation>
       <implementation>src/Network/DNSClient.cxx</implementation>
Line 898: Line 1,119:
     <FGElectricalSystem>
     <FGElectricalSystem>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>electrical</staticSubsystemClassId>
       <declaration>src/Systems/electrical.hxx</declaration>
       <declaration>src/Systems/electrical.hxx</declaration>
       <implementation>src/Systems/electrical.cxx</implementation>
       <implementation>src/Systems/electrical.cxx</implementation>
Line 908: Line 1,130:
     <FGFlightHistory>
     <FGFlightHistory>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>history</staticSubsystemClassId>
       <declaration>src/Aircraft/FlightHistory.hxx</declaration>
       <declaration>src/Aircraft/FlightHistory.hxx</declaration>
       <implementation>src/Aircraft/FlightHistory.cxx</implementation>
       <implementation>src/Aircraft/FlightHistory.cxx</implementation>
Line 913: Line 1,136:
     <FGHTTPClient>
     <FGHTTPClient>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>http</staticSubsystemClassId>
       <declaration>src/Network/HTTPClient.hxx</declaration>
       <declaration>src/Network/HTTPClient.hxx</declaration>
       <implementation>src/Network/HTTPClient.cxx</implementation>
       <implementation>src/Network/HTTPClient.cxx</implementation>
Line 918: Line 1,142:
     <FGHttpd>
     <FGHttpd>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>httpd</staticSubsystemClassId>
       <declaration>src/Network/http/httpd.hxx</declaration>
       <declaration>src/Network/http/httpd.hxx</declaration>
     </FGHttpd>
     </FGHttpd>
     <FGIO>
     <FGIO>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>io</staticSubsystemClassId>
       <declaration>src/Main/fg_io.hxx</declaration>
       <declaration>src/Main/fg_io.hxx</declaration>
       <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 932: Line 1,164:
     <FGJoystickInput>
     <FGJoystickInput>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>input-joystick</staticSubsystemClassId>
       <declaration>src/Input/FGJoystickInput.hxx</declaration>
       <declaration>src/Input/FGJoystickInput.hxx</declaration>
       <implementation>src/Input/FGJoystickInput.cxx</implementation>
       <implementation>src/Input/FGJoystickInput.cxx</implementation>
Line 937: Line 1,170:
     <FGKR_87>
     <FGKR_87>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>KR-87</staticSubsystemClassId>
       <declaration>src/Instrumentation/kr_87.hxx</declaration>
       <declaration>src/Instrumentation/kr_87.hxx</declaration>
       <implementation>src/Instrumentation/kr_87.cxx</implementation>
       <implementation>src/Instrumentation/kr_87.cxx</implementation>
Line 942: Line 1,176:
     <FGKeyboardInput>
     <FGKeyboardInput>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>input-keyboard</staticSubsystemClassId>
       <declaration>src/Input/FGKeyboardInput.hxx</declaration>
       <declaration>src/Input/FGKeyboardInput.hxx</declaration>
       <implementation>src/Input/FGKeyboardInput.cxx</implementation>
       <implementation>src/Input/FGKeyboardInput.cxx</implementation>
Line 947: Line 1,182:
     <FGLight>
     <FGLight>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>lighting</staticSubsystemClassId>
       <declaration>src/Time/light.hxx</declaration>
       <declaration>src/Time/light.hxx</declaration>
       <implementation>src/Time/light.cxx</implementation>
       <implementation>src/Time/light.cxx</implementation>
Line 952: Line 1,188:
     <FGLogger>
     <FGLogger>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>logger</staticSubsystemClassId>
       <declaration>src/Main/logger.hxx</declaration>
       <declaration>src/Main/logger.hxx</declaration>
       <implementation>src/Main/logger.cxx</implementation>
       <implementation>src/Main/logger.cxx</implementation>
Line 957: Line 1,194:
     <FGMagVarManager>
     <FGMagVarManager>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>magvar</staticSubsystemClassId>
       <declaration>src/Environment/magvarmanager.hxx</declaration>
       <declaration>src/Environment/magvarmanager.hxx</declaration>
       <implementation>src/Environment/magvarmanager.cxx</implementation>
       <implementation>src/Environment/magvarmanager.cxx</implementation>
     </FGMagVarManager>
     </FGMagVarManager>
    <FGMarkerBeacon>
      <inheritance>SGSubsystem</inheritance>
      <declaration>src/Instrumentation/marker_beacon.hxx</declaration>
      <implementation>src/Instrumentation/marker_beacon.cxx</implementation>
    </FGMarkerBeacon>
     <FGModelMgr>
     <FGModelMgr>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>model-manager</staticSubsystemClassId>
       <declaration>src/Model/modelmgr.hxx</declaration>
       <declaration>src/Model/modelmgr.hxx</declaration>
       <implementation>src/Model/modelmgr.cxx</implementation>
       <implementation>src/Model/modelmgr.cxx</implementation>
Line 972: Line 1,206:
     <FGMouseInput>
     <FGMouseInput>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>input-mouse</staticSubsystemClassId>
       <declaration>src/Input/FGMouseInput.hxx</declaration>
       <declaration>src/Input/FGMouseInput.hxx</declaration>
       <implementation>src/Input/FGMouseInput.cxx</implementation>
       <implementation>src/Input/FGMouseInput.cxx</implementation>
Line 977: Line 1,212:
     <FGMultiplayMgr>
     <FGMultiplayMgr>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>mp</staticSubsystemClassId>
       <declaration>src/MultiPlayer/multiplaymgr.hxx</declaration>
       <declaration>src/MultiPlayer/multiplaymgr.hxx</declaration>
       <implementation>src/MultiPlayer/multiplaymgr.cxx</implementation>
       <implementation>src/MultiPlayer/multiplaymgr.cxx</implementation>
Line 982: Line 1,218:
     <FGNasalSys>
     <FGNasalSys>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>nasal</staticSubsystemClassId>
       <declaration>src/Scripting/NasalSys.hxx</declaration>
       <declaration>src/Scripting/NasalSys.hxx</declaration>
       <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>
      <staticSubsystemClassId>panel</staticSubsystemClassId>
       <declaration>utils/fgpanel/FGPanel.hxx</declaration>
       <declaration>utils/fgpanel/FGPanel.hxx</declaration>
       <implementation>utils/fgpanel/FGPanel.cxx</implementation>
       <implementation>utils/fgpanel/FGPanel.cxx</implementation>
Line 997: 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,002: Line 1,236:
     <FGPrecipitationMgr>
     <FGPrecipitationMgr>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>precipitation</staticSubsystemClassId>
       <declaration>src/Environment/precipitation_mgr.hxx</declaration>
       <declaration>src/Environment/precipitation_mgr.hxx</declaration>
       <implementation>src/Environment/precipitation_mgr.cxx</implementation>
       <implementation>src/Environment/precipitation_mgr.cxx</implementation>
Line 1,007: Line 1,242:
     <FGProperties>
     <FGProperties>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>properties</staticSubsystemClassId>
       <declaration>src/Main/fg_props.hxx</declaration>
       <declaration>src/Main/fg_props.hxx</declaration>
       <implementation>src/Main/fg_props.cxx</implementation>
       <implementation>src/Main/fg_props.cxx</implementation>
Line 1,012: Line 1,248:
     <FGReplay>
     <FGReplay>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>replay</staticSubsystemClassId>
       <declaration>src/Aircraft/replay.hxx</declaration>
       <declaration>src/Aircraft/replay.hxx</declaration>
       <implementation>src/Aircraft/replay.cxx</implementation>
       <implementation>src/Aircraft/replay.cxx</implementation>
Line 1,017: Line 1,254:
     <FGRidgeLift>
     <FGRidgeLift>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>ridgelift</staticSubsystemClassId>
       <declaration>src/Environment/ridge_lift.hxx</declaration>
       <declaration>src/Environment/ridge_lift.hxx</declaration>
       <implementation>src/Environment/ridge_lift.cxx</implementation>
       <implementation>src/Environment/ridge_lift.cxx</implementation>
Line 1,022: Line 1,260:
     <FGRouteMgr>
     <FGRouteMgr>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>route-manager</staticSubsystemClassId>
       <declaration>src/Autopilot/route_mgr.hxx</declaration>
       <declaration>src/Autopilot/route_mgr.hxx</declaration>
       <implementation>src/Autopilot/route_mgr.cxx</implementation>
       <implementation>src/Autopilot/route_mgr.cxx</implementation>
Line 1,027: Line 1,266:
     <FGScenery>
     <FGScenery>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>scenery</staticSubsystemClassId>
       <declaration>src/Scenery/scenery.hxx</declaration>
       <declaration>src/Scenery/scenery.hxx</declaration>
       <implementation>src/Scenery/scenery.cxx</implementation>
       <implementation>src/Scenery/scenery.cxx</implementation>
Line 1,032: Line 1,272:
     <FGSoundManager>
     <FGSoundManager>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>sound</staticSubsystemClassId>
       <declaration>src/Sound/soundmanager.hxx</declaration>
       <declaration>src/Sound/soundmanager.hxx</declaration>
       <implementation>src/Sound/soundmanager.cxx</implementation>
       <implementation>src/Sound/soundmanager.cxx</implementation>
Line 1,037: Line 1,278:
     <FGSubmodelMgr>
     <FGSubmodelMgr>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>submodel-mgr</staticSubsystemClassId>
       <declaration>src/AIModel/submodel.hxx</declaration>
       <declaration>src/AIModel/submodel.hxx</declaration>
       <implementation>src/AIModel/submodel.cxx</implementation>
       <implementation>src/AIModel/submodel.cxx</implementation>
Line 1,043: Line 1,285:
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
       <declaration>docs-mini/README.introduction</declaration>
       <declaration>docs-mini/README.introduction</declaration>
      <implementation>docs-mini/README.introduction</implementation>
     </FGSubsystemExample>
     </FGSubsystemExample>
     <FGTrafficManager>
     <FGTrafficManager>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>traffic-manager</staticSubsystemClassId>
       <declaration>src/Traffic/TrafficMgr.hxx</declaration>
       <declaration>src/Traffic/TrafficMgr.hxx</declaration>
       <implementation>src/Traffic/TrafficMgr.cxx</implementation>
       <implementation>src/Traffic/TrafficMgr.cxx</implementation>
Line 1,052: Line 1,294:
     <FGViewMgr>
     <FGViewMgr>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>view-manager</staticSubsystemClassId>
       <declaration>src/Viewer/viewmgr.hxx</declaration>
       <declaration>src/Viewer/viewmgr.hxx</declaration>
       <implementation>src/Viewer/viewmgr.cxx</implementation>
       <implementation>src/Viewer/viewmgr.cxx</implementation>
Line 1,057: Line 1,300:
     <FGVoiceMgr>
     <FGVoiceMgr>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>voice</staticSubsystemClassId>
       <declaration>src/Sound/voice.hxx</declaration>
       <declaration>src/Sound/voice.hxx</declaration>
       <implementation>src/Sound/voice.cxx</implementation>
       <implementation>src/Sound/voice.cxx</implementation>
     </FGVoiceMgr>
     </FGVoiceMgr>
    <FakeRadioSub>
      <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>fake-radio</staticSubsystemClassId>
      <declaration>simgear/structure/subsystem_test.cxx</declaration>
    </FakeRadioSub>
     <GPS>
     <GPS>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>gps</staticSubsystemClassId>
       <declaration>src/Instrumentation/gps.hxx</declaration>
       <declaration>src/Instrumentation/gps.hxx</declaration>
       <implementation>src/Instrumentation/gps.cxx</implementation>
       <implementation>src/Instrumentation/gps.cxx</implementation>
Line 1,067: Line 1,317:
     <GSDI>
     <GSDI>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>gsdi</staticSubsystemClassId>
       <declaration>src/Instrumentation/gsdi.hxx</declaration>
       <declaration>src/Instrumentation/gsdi.hxx</declaration>
       <implementation>src/Instrumentation/gsdi.cxx</implementation>
       <implementation>src/Instrumentation/gsdi.cxx</implementation>
Line 1,072: Line 1,323:
     <GUIMgr>
     <GUIMgr>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>CanvasGUI</staticSubsystemClassId>
       <declaration>src/Canvas/gui_mgr.hxx</declaration>
       <declaration>src/Canvas/gui_mgr.hxx</declaration>
       <implementation>src/Canvas/gui_mgr.cxx</implementation>
       <implementation>src/Canvas/gui_mgr.cxx</implementation>
Line 1,077: Line 1,329:
     <GroundRadar>
     <GroundRadar>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>groundradar</staticSubsystemClassId>
       <declaration>src/Cockpit/groundradar.hxx</declaration>
       <declaration>src/Cockpit/groundradar.hxx</declaration>
       <implementation>src/Cockpit/groundradar.cxx</implementation>
       <implementation>src/Cockpit/groundradar.cxx</implementation>
Line 1,082: Line 1,335:
     <HUD>
     <HUD>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>hud</staticSubsystemClassId>
       <declaration>src/Instrumentation/HUD/HUD.hxx</declaration>
       <declaration>src/Instrumentation/HUD/HUD.hxx</declaration>
       <implementation>src/Instrumentation/HUD/HUD.cxx</implementation>
       <implementation>src/Instrumentation/HUD/HUD.cxx</implementation>
Line 1,087: Line 1,341:
     <HeadingIndicator>
     <HeadingIndicator>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>heading-indicator</staticSubsystemClassId>
       <declaration>src/Instrumentation/heading_indicator.hxx</declaration>
       <declaration>src/Instrumentation/heading_indicator.hxx</declaration>
       <implementation>src/Instrumentation/heading_indicator.cxx</implementation>
       <implementation>src/Instrumentation/heading_indicator.cxx</implementation>
Line 1,092: Line 1,347:
     <HeadingIndicatorDG>
     <HeadingIndicatorDG>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>heading-indicator-dg</staticSubsystemClassId>
       <declaration>src/Instrumentation/heading_indicator_dg.hxx</declaration>
       <declaration>src/Instrumentation/heading_indicator_dg.hxx</declaration>
       <implementation>src/Instrumentation/heading_indicator_dg.cxx</implementation>
       <implementation>src/Instrumentation/heading_indicator_dg.cxx</implementation>
Line 1,097: Line 1,353:
     <HeadingIndicatorFG>
     <HeadingIndicatorFG>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>heading-indicator-fg</staticSubsystemClassId>
       <declaration>src/Instrumentation/heading_indicator_fg.hxx</declaration>
       <declaration>src/Instrumentation/heading_indicator_fg.hxx</declaration>
       <implementation>src/Instrumentation/heading_indicator_fg.cxx</implementation>
       <implementation>src/Instrumentation/heading_indicator_fg.cxx</implementation>
Line 1,102: Line 1,359:
     <InstVerticalSpeedIndicator>
     <InstVerticalSpeedIndicator>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>inst-vertical-speed-indicator</staticSubsystemClassId>
       <declaration>src/Instrumentation/inst_vertical_speed_indicator.hxx</declaration>
       <declaration>src/Instrumentation/inst_vertical_speed_indicator.hxx</declaration>
       <implementation>src/Instrumentation/inst_vertical_speed_indicator.cxx</implementation>
       <implementation>src/Instrumentation/inst_vertical_speed_indicator.cxx</implementation>
Line 1,111: Line 1,369:
     <MK_VIII>
     <MK_VIII>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>mk-viii</staticSubsystemClassId>
       <declaration>src/Instrumentation/mk_viii.hxx</declaration>
       <declaration>src/Instrumentation/mk_viii.hxx</declaration>
       <implementation>src/Instrumentation/mk_viii.cxx</implementation>
       <implementation>src/Instrumentation/mk_viii.cxx</implementation>
Line 1,116: Line 1,375:
     <MagCompass>
     <MagCompass>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>magnetic-compass</staticSubsystemClassId>
       <declaration>src/Instrumentation/mag_compass.hxx</declaration>
       <declaration>src/Instrumentation/mag_compass.hxx</declaration>
       <implementation>src/Instrumentation/mag_compass.cxx</implementation>
       <implementation>src/Instrumentation/mag_compass.cxx</implementation>
Line 1,121: Line 1,381:
     <MasterReferenceGyro>
     <MasterReferenceGyro>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>master-reference-gyro</staticSubsystemClassId>
       <declaration>src/Instrumentation/mrg.hxx</declaration>
       <declaration>src/Instrumentation/mrg.hxx</declaration>
       <implementation>src/Instrumentation/mrg.cxx</implementation>
       <implementation>src/Instrumentation/mrg.cxx</implementation>
     </MasterReferenceGyro>
     </MasterReferenceGyro>
    <MySub1>
      <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>mysub</staticSubsystemClassId>
      <declaration>simgear/structure/subsystem_test.cxx</declaration>
    </MySub1>
     <NavDisplay>
     <NavDisplay>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>navigation-display</staticSubsystemClassId>
       <declaration>src/Cockpit/NavDisplay.hxx</declaration>
       <declaration>src/Cockpit/NavDisplay.hxx</declaration>
       <implementation>src/Cockpit/NavDisplay.cxx</implementation>
       <implementation>src/Cockpit/NavDisplay.cxx</implementation>
Line 1,131: Line 1,398:
     <NavRadio>
     <NavRadio>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <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>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>gui</staticSubsystemClassId>
       <declaration>src/GUI/new_gui.hxx</declaration>
       <declaration>src/GUI/new_gui.hxx</declaration>
       <implementation>src/GUI/new_gui.cxx</implementation>
       <implementation>src/GUI/new_gui.cxx</implementation>
Line 1,140: Line 1,410:
     <PerformanceDB>
     <PerformanceDB>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>aircraft-performance-db</staticSubsystemClassId>
       <declaration>src/AIModel/performancedb.hxx</declaration>
       <declaration>src/AIModel/performancedb.hxx</declaration>
       <implementation>src/AIModel/performancedb.cxx</implementation>
       <implementation>src/AIModel/performancedb.cxx</implementation>
Line 1,145: Line 1,416:
     <PitotSystem>
     <PitotSystem>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>pitot</staticSubsystemClassId>
       <declaration>src/Systems/pitot.hxx</declaration>
       <declaration>src/Systems/pitot.hxx</declaration>
       <implementation>src/Systems/pitot.cxx</implementation>
       <implementation>src/Systems/pitot.cxx</implementation>
Line 1,160: Line 1,432:
     <RadarAltimeter>
     <RadarAltimeter>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>radar-altimeter</staticSubsystemClassId>
       <declaration>src/Instrumentation/rad_alt.hxx</declaration>
       <declaration>src/Instrumentation/rad_alt.hxx</declaration>
       <implementation>src/Instrumentation/rad_alt.cxx</implementation>
       <implementation>src/Instrumentation/rad_alt.cxx</implementation>
Line 1,170: Line 1,443:
     <SGEventMgr>
     <SGEventMgr>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>events</staticSubsystemClassId>
       <declaration>simgear/structure/event_mgr.hxx</declaration>
       <declaration>simgear/structure/event_mgr.hxx</declaration>
       <implementation>simgear/structure/event_mgr.cxx</implementation>
       <implementation>simgear/structure/event_mgr.cxx</implementation>
Line 1,175: 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,180: Line 1,455:
     <SGPerformanceMonitor>
     <SGPerformanceMonitor>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>performance-mon</staticSubsystemClassId>
       <declaration>simgear/structure/SGPerfMon.hxx</declaration>
       <declaration>simgear/structure/SGPerfMon.hxx</declaration>
       <implementation>simgear/structure/SGPerfMon.cxx</implementation>
       <implementation>simgear/structure/SGPerfMon.cxx</implementation>
Line 1,185: Line 1,461:
     <SGSoundMgr>
     <SGSoundMgr>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>sound</staticSubsystemClassId>
       <declaration>simgear/sound/soundmgr.hxx</declaration>
       <declaration>simgear/sound/soundmgr.hxx</declaration>
     </SGSoundMgr>
     </SGSoundMgr>
     <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,194: Line 1,472:
     <SGTerraSync>
     <SGTerraSync>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>terrasync</staticSubsystemClassId>
       <declaration>simgear/scene/tsync/terrasync.hxx</declaration>
       <declaration>simgear/scene/tsync/terrasync.hxx</declaration>
       <implementation>simgear/scene/tsync/terrasync.cxx</implementation>
       <implementation>simgear/scene/tsync/terrasync.cxx</implementation>
Line 1,199: Line 1,478:
     <SlipSkidBall>
     <SlipSkidBall>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>slip-skid-ball</staticSubsystemClassId>
       <declaration>src/Instrumentation/slip_skid_ball.hxx</declaration>
       <declaration>src/Instrumentation/slip_skid_ball.hxx</declaration>
       <implementation>src/Instrumentation/slip_skid_ball.cxx</implementation>
       <implementation>src/Instrumentation/slip_skid_ball.cxx</implementation>
Line 1,204: Line 1,484:
     <StaticSystem>
     <StaticSystem>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>static</staticSubsystemClassId>
       <declaration>src/Systems/static.hxx</declaration>
       <declaration>src/Systems/static.hxx</declaration>
       <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>
      <staticSubsystemClassId>tacan</staticSubsystemClassId>
       <declaration>src/Instrumentation/tacan.hxx</declaration>
       <declaration>src/Instrumentation/tacan.hxx</declaration>
       <implementation>src/Instrumentation/tacan.cxx</implementation>
       <implementation>src/Instrumentation/tacan.cxx</implementation>
Line 1,214: Line 1,502:
     <TCAS>
     <TCAS>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>tcas</staticSubsystemClassId>
       <declaration>src/Instrumentation/tcas.hxx</declaration>
       <declaration>src/Instrumentation/tcas.hxx</declaration>
       <implementation>src/Instrumentation/tcas.cxx</implementation>
       <implementation>src/Instrumentation/tcas.cxx</implementation>
Line 1,219: Line 1,508:
     <TimeManager>
     <TimeManager>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>time</staticSubsystemClassId>
       <declaration>src/Time/TimeManager.hxx</declaration>
       <declaration>src/Time/TimeManager.hxx</declaration>
       <implementation>src/Time/TimeManager.cxx</implementation>
       <implementation>src/Time/TimeManager.cxx</implementation>
     </TimeManager>
     </TimeManager>
    <Transponder>
      <inheritance>SGSubsystem</inheritance>
      <declaration>src/Instrumentation/transponder.hxx</declaration>
      <implementation>src/Instrumentation/transponder.cxx</implementation>
    </Transponder>
     <TurnIndicator>
     <TurnIndicator>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>turn-indicator</staticSubsystemClassId>
       <declaration>src/Instrumentation/turn_indicator.hxx</declaration>
       <declaration>src/Instrumentation/turn_indicator.hxx</declaration>
       <implementation>src/Instrumentation/turn_indicator.cxx</implementation>
       <implementation>src/Instrumentation/turn_indicator.cxx</implementation>
Line 1,234: Line 1,520:
     <VacuumSystem>
     <VacuumSystem>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>vacuum</staticSubsystemClassId>
       <declaration>src/Systems/vacuum.hxx</declaration>
       <declaration>src/Systems/vacuum.hxx</declaration>
       <implementation>src/Systems/vacuum.cxx</implementation>
       <implementation>src/Systems/vacuum.cxx</implementation>
Line 1,239: Line 1,526:
     <VerticalSpeedIndicator>
     <VerticalSpeedIndicator>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>vertical-speed-indicator</staticSubsystemClassId>
       <declaration>src/Instrumentation/vertical_speed_indicator.hxx</declaration>
       <declaration>src/Instrumentation/vertical_speed_indicator.hxx</declaration>
       <implementation>src/Instrumentation/vertical_speed_indicator.cxx</implementation>
       <implementation>src/Instrumentation/vertical_speed_indicator.cxx</implementation>
Line 1,244: Line 1,532:
     <View>
     <View>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>view</staticSubsystemClassId>
       <declaration>src/Viewer/view.hxx</declaration>
       <declaration>src/Viewer/view.hxx</declaration>
       <implementation>src/Viewer/view.cxx</implementation>
       <implementation>src/Viewer/view.cxx</implementation>
Line 1,249: Line 1,538:
     <wxRadarBg>
     <wxRadarBg>
       <inheritance>SGSubsystem</inheritance>
       <inheritance>SGSubsystem</inheritance>
      <staticSubsystemClassId>radar</staticSubsystemClassId>
       <declaration>src/Cockpit/wxradar.hxx</declaration>
       <declaration>src/Cockpit/wxradar.hxx</declaration>
       <implementation>src/Cockpit/wxradar.cxx</implementation>
       <implementation>src/Cockpit/wxradar.cxx</implementation>
Line 1,256: Line 1,546:
     <Autopilot>
     <Autopilot>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
      <staticSubsystemClassId>autopilot</staticSubsystemClassId>
       <declaration>src/Autopilot/autopilot.hxx</declaration>
       <declaration>src/Autopilot/autopilot.hxx</declaration>
       <implementation>src/Autopilot/autopilot.cxx</implementation>
       <implementation>src/Autopilot/autopilot.cxx</implementation>
Line 1,261: Line 1,552:
     <CockpitDisplayManager>
     <CockpitDisplayManager>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
      <staticSubsystemClassId>cockpit-displays</staticSubsystemClassId>
       <declaration>src/Cockpit/cockpitDisplayManager.hxx</declaration>
       <declaration>src/Cockpit/cockpitDisplayManager.hxx</declaration>
       <implementation>src/Cockpit/cockpitDisplayManager.cxx</implementation>
       <implementation>src/Cockpit/cockpitDisplayManager.cxx</implementation>
Line 1,266: Line 1,558:
     <FGEnvironmentMgr>
     <FGEnvironmentMgr>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
      <staticSubsystemClassId>environment</staticSubsystemClassId>
       <declaration>src/Environment/environment_mgr.hxx</declaration>
       <declaration>src/Environment/environment_mgr.hxx</declaration>
       <implementation>src/Environment/environment_mgr.cxx</implementation>
       <implementation>src/Environment/environment_mgr.cxx</implementation>
Line 1,271: Line 1,564:
     <FGInput>
     <FGInput>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
      <staticSubsystemClassId>input</staticSubsystemClassId>
       <declaration>src/Input/input.hxx</declaration>
       <declaration>src/Input/input.hxx</declaration>
       <implementation>src/Input/input.cxx</implementation>
       <implementation>src/Input/input.cxx</implementation>
     </FGInput>
     </FGInput>
    <FGInstrumentMgr>
      <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
      <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>
      <staticSubsystemClassId>systems</staticSubsystemClassId>
       <declaration>src/Systems/system_mgr.hxx</declaration>
       <declaration>src/Systems/system_mgr.hxx</declaration>
       <implementation>src/Systems/system_mgr.cxx</implementation>
       <implementation>src/Systems/system_mgr.cxx</implementation>
Line 1,286: Line 1,576:
     <FGXMLAutopilotGroup>
     <FGXMLAutopilotGroup>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
      <staticSubsystemClassId>xml-rules</staticSubsystemClassId>
       <declaration>src/Autopilot/autopilotgroup.hxx</declaration>
       <declaration>src/Autopilot/autopilotgroup.hxx</declaration>
       <implementation>src/Autopilot/autopilotgroup.cxx</implementation>
       <implementation>src/Autopilot/autopilotgroup.cxx</implementation>
     </FGXMLAutopilotGroup>
     </FGXMLAutopilotGroup>
    <InstrumentGroup>
      <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
      <staticSubsystemClassId>instruments</staticSubsystemClassId>
      <declaration>simgear/structure/subsystem_test.cxx</declaration>
    </InstrumentGroup>
     <TerrainSampler>
     <TerrainSampler>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
       <inheritance>SGSubsystemGroup : SGSubsystem</inheritance>
Line 1,294: Line 1,590:
     </TerrainSampler>
     </TerrainSampler>
   </primary_groups>
   </primary_groups>
   <secondary_subsystems count="28">
   <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,310: 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,322: Line 1,631:
     <FGACMS>
     <FGACMS>
       <inheritance>FGInterface : SGSubsystem</inheritance>
       <inheritance>FGInterface : SGSubsystem</inheritance>
      <staticSubsystemClassId>acms</staticSubsystemClassId>
       <declaration>src/FDM/SP/ACMS.hxx</declaration>
       <declaration>src/FDM/SP/ACMS.hxx</declaration>
       <implementation>src/FDM/SP/ACMS.cxx</implementation>
       <implementation>src/FDM/SP/ACMS.cxx</implementation>
Line 1,327: Line 1,637:
     <FGADA>
     <FGADA>
       <inheritance>FGInterface : SGSubsystem</inheritance>
       <inheritance>FGInterface : SGSubsystem</inheritance>
      <staticSubsystemClassId>ada</staticSubsystemClassId>
       <declaration>src/FDM/SP/ADA.hxx</declaration>
       <declaration>src/FDM/SP/ADA.hxx</declaration>
       <implementation>src/FDM/SP/ADA.cxx</implementation>
       <implementation>src/FDM/SP/ADA.cxx</implementation>
Line 1,332: 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,337: Line 1,649:
     <FGBalloonSim>
     <FGBalloonSim>
       <inheritance>FGInterface : SGSubsystem</inheritance>
       <inheritance>FGInterface : SGSubsystem</inheritance>
      <staticSubsystemClassId>balloon</staticSubsystemClassId>
       <declaration>src/FDM/SP/Balloon.h</declaration>
       <declaration>src/FDM/SP/Balloon.h</declaration>
       <implementation>src/FDM/SP/Balloon.cxx</implementation>
       <implementation>src/FDM/SP/Balloon.cxx</implementation>
Line 1,342: Line 1,655:
     <FGExternalNet>
     <FGExternalNet>
       <inheritance>FGInterface : SGSubsystem</inheritance>
       <inheritance>FGInterface : SGSubsystem</inheritance>
      <staticSubsystemClassId>network</staticSubsystemClassId>
       <declaration>src/FDM/ExternalNet/ExternalNet.hxx</declaration>
       <declaration>src/FDM/ExternalNet/ExternalNet.hxx</declaration>
       <implementation>src/FDM/ExternalNet/ExternalNet.cxx</implementation>
       <implementation>src/FDM/ExternalNet/ExternalNet.cxx</implementation>
Line 1,347: Line 1,661:
     <FGExternalPipe>
     <FGExternalPipe>
       <inheritance>FGInterface : SGSubsystem</inheritance>
       <inheritance>FGInterface : SGSubsystem</inheritance>
      <staticSubsystemClassId>pipe</staticSubsystemClassId>
       <declaration>src/FDM/ExternalPipe/ExternalPipe.hxx</declaration>
       <declaration>src/FDM/ExternalPipe/ExternalPipe.hxx</declaration>
       <implementation>src/FDM/ExternalPipe/ExternalPipe.cxx</implementation>
       <implementation>src/FDM/ExternalPipe/ExternalPipe.cxx</implementation>
Line 1,352: Line 1,667:
     <FGHIDEventInput>
     <FGHIDEventInput>
       <inheritance>FGEventInput : SGSubsystem</inheritance>
       <inheritance>FGEventInput : SGSubsystem</inheritance>
      <staticSubsystemClassId>input-event-hid</staticSubsystemClassId>
       <declaration>src/Input/FGHIDEventInput.hxx</declaration>
       <declaration>src/Input/FGHIDEventInput.hxx</declaration>
       <implementation>src/Input/FGHIDEventInput.cxx</implementation>
       <implementation>src/Input/FGHIDEventInput.cxx</implementation>
     </FGHIDEventInput>
     </FGHIDEventInput>
    <FGInterpolator>
      <inheritance>PropertyInterpolationMgr : SGSubsystem</inheritance>
      <staticSubsystemClassId>prop-interpolator</staticSubsystemClassId>
      <declaration>src/Main/FGInterpolator.hxx</declaration>
      <implementation>src/Main/FGInterpolator.cxx</implementation>
    </FGInterpolator>
     <FGJSBsim>
     <FGJSBsim>
       <inheritance>FGInterface : SGSubsystem</inheritance>
       <inheritance>FGInterface : SGSubsystem</inheritance>
      <staticSubsystemClassId>jsb</staticSubsystemClassId>
       <declaration>src/FDM/JSBSim/JSBSim.hxx</declaration>
       <declaration>src/FDM/JSBSim/JSBSim.hxx</declaration>
       <implementation>src/FDM/JSBSim/JSBSim.cxx</implementation>
       <implementation>src/FDM/JSBSim/JSBSim.cxx</implementation>
Line 1,362: Line 1,685:
     <FGLaRCsim>
     <FGLaRCsim>
       <inheritance>FGInterface : SGSubsystem</inheritance>
       <inheritance>FGInterface : SGSubsystem</inheritance>
      <staticSubsystemClassId>larcsim</staticSubsystemClassId>
       <declaration>src/FDM/LaRCsim/LaRCsim.hxx</declaration>
       <declaration>src/FDM/LaRCsim/LaRCsim.hxx</declaration>
       <implementation>src/FDM/LaRCsim/LaRCsim.cxx</implementation>
       <implementation>src/FDM/LaRCsim/LaRCsim.cxx</implementation>
Line 1,367: Line 1,691:
     <FGLinuxEventInput>
     <FGLinuxEventInput>
       <inheritance>FGEventInput : SGSubsystem</inheritance>
       <inheritance>FGEventInput : SGSubsystem</inheritance>
      <staticSubsystemClassId>input-event</staticSubsystemClassId>
       <declaration>src/Input/FGLinuxEventInput.hxx</declaration>
       <declaration>src/Input/FGLinuxEventInput.hxx</declaration>
       <implementation>src/Input/FGLinuxEventInput.cxx</implementation>
       <implementation>src/Input/FGLinuxEventInput.cxx</implementation>
Line 1,372: Line 1,697:
     <FGMacOSXEventInput>
     <FGMacOSXEventInput>
       <inheritance>FGEventInput : SGSubsystem</inheritance>
       <inheritance>FGEventInput : SGSubsystem</inheritance>
      <staticSubsystemClassId>input-event</staticSubsystemClassId>
       <declaration>src/Input/FGMacOSXEventInput.hxx</declaration>
       <declaration>src/Input/FGMacOSXEventInput.hxx</declaration>
       <implementation>src/Input/FGMacOSXEventInput.cxx</implementation>
       <implementation>src/Input/FGMacOSXEventInput.cxx</implementation>
Line 1,377: Line 1,703:
     <FGMagicCarpet>
     <FGMagicCarpet>
       <inheritance>FGInterface : SGSubsystem</inheritance>
       <inheritance>FGInterface : SGSubsystem</inheritance>
      <staticSubsystemClassId>magic</staticSubsystemClassId>
       <declaration>src/FDM/SP/MagicCarpet.hxx</declaration>
       <declaration>src/FDM/SP/MagicCarpet.hxx</declaration>
       <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>
      <staticSubsystemClassId>null</staticSubsystemClassId>
       <declaration>src/FDM/NullFDM.hxx</declaration>
       <declaration>src/FDM/NullFDM.hxx</declaration>
       <implementation>src/FDM/NullFDM.cxx</implementation>
       <implementation>src/FDM/NullFDM.cxx</implementation>
Line 1,387: 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,392: Line 1,733:
     <FGSoundManager>
     <FGSoundManager>
       <inheritance>SGSoundMgr : SGSubsystem</inheritance>
       <inheritance>SGSoundMgr : SGSubsystem</inheritance>
      <staticSubsystemClassId>sound</staticSubsystemClassId>
       <declaration>src/Sound/soundmanager.hxx</declaration>
       <declaration>src/Sound/soundmanager.hxx</declaration>
       <implementation>src/Sound/soundmanager.cxx</implementation>
       <implementation>src/Sound/soundmanager.cxx</implementation>
Line 1,397: Line 1,739:
     <FGUFO>
     <FGUFO>
       <inheritance>FGInterface : SGSubsystem</inheritance>
       <inheritance>FGInterface : SGSubsystem</inheritance>
      <staticSubsystemClassId>ufo</staticSubsystemClassId>
       <declaration>src/FDM/UFO.hxx</declaration>
       <declaration>src/FDM/UFO.hxx</declaration>
       <implementation>src/FDM/UFO.cxx</implementation>
       <implementation>src/FDM/UFO.cxx</implementation>
     </FGUFO>
     </FGUFO>
    <KLN89>
      <inheritance>DCLGPS : SGSubsystem</inheritance>
      <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,412: 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>
      <staticSubsystemClassId>state-machine</staticSubsystemClassId>
       <declaration>src/Autopilot/autopilot.cxx</declaration>
       <declaration>src/Autopilot/autopilot.cxx</declaration>
      <implementation>src/Autopilot/autopilot.cxx</implementation>
     </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>
      <staticSubsystemClassId>yasim</staticSubsystemClassId>
       <declaration>src/FDM/YASim/YASim.hxx</declaration>
       <declaration>src/FDM/YASim/YASim.hxx</declaration>
       <implementation>src/FDM/YASim/YASim.cxx</implementation>
       <implementation>src/FDM/YASim/YASim.cxx</implementation>
Line 1,432: Line 1,774:
     <agRadar>
     <agRadar>
       <inheritance>wxRadarBg : SGSubsystem</inheritance>
       <inheritance>wxRadarBg : SGSubsystem</inheritance>
      <staticSubsystemClassId>air-ground-radar</staticSubsystemClassId>
       <declaration>src/Cockpit/agradar.hxx</declaration>
       <declaration>src/Cockpit/agradar.hxx</declaration>
       <implementation>src/Cockpit/agradar.cxx</implementation>
       <implementation>src/Cockpit/agradar.cxx</implementation>
Line 1,439: 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,444: 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>
     </TerrainSamplerImplementation>
     </TerrainSamplerImplementation>
   </secondary_groups>
   </secondary_groups>
   <tertiary_subsystems count="6">
   <tertiary_subsystems count="7">
    <CanvasMgr>
      <inheritance>CanvasMgr : PropertyBasedMgr : SGSubsystem</inheritance>
      <staticSubsystemClassId>Canvas</staticSubsystemClassId>
      <declaration>src/Canvas/canvas_mgr.hxx</declaration>
      <implementation>src/Canvas/canvas_mgr.cxx</implementation>
    </CanvasMgr>
     <DigitalFilter>
     <DigitalFilter>
       <inheritance>AnalogComponent : Component : SGSubsystem</inheritance>
       <inheritance>AnalogComponent : Component : SGSubsystem</inheritance>
      <staticSubsystemClassId>filter</staticSubsystemClassId>
       <declaration>src/Autopilot/digitalfilter.hxx</declaration>
       <declaration>src/Autopilot/digitalfilter.hxx</declaration>
       <implementation>src/Autopilot/digitalfilter.cxx</implementation>
       <implementation>src/Autopilot/digitalfilter.cxx</implementation>
Line 1,456: Line 1,808:
     <Logic>
     <Logic>
       <inheritance>DigitalComponent : Component : SGSubsystem</inheritance>
       <inheritance>DigitalComponent : Component : SGSubsystem</inheritance>
      <staticSubsystemClassId>logic</staticSubsystemClassId>
       <declaration>src/Autopilot/logic.hxx</declaration>
       <declaration>src/Autopilot/logic.hxx</declaration>
       <implementation>src/Autopilot/logic.cxx</implementation>
       <implementation>src/Autopilot/logic.cxx</implementation>
Line 1,461: 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,466: Line 1,820:
     <PIDController>
     <PIDController>
       <inheritance>AnalogComponent : Component : SGSubsystem</inheritance>
       <inheritance>AnalogComponent : Component : SGSubsystem</inheritance>
      <staticSubsystemClassId>pid-controller</staticSubsystemClassId>
       <declaration>src/Autopilot/pidcontroller.hxx</declaration>
       <declaration>src/Autopilot/pidcontroller.hxx</declaration>
       <implementation>src/Autopilot/pidcontroller.cxx</implementation>
       <implementation>src/Autopilot/pidcontroller.cxx</implementation>
Line 1,471: Line 1,826:
     <PISimpleController>
     <PISimpleController>
       <inheritance>AnalogComponent : Component : SGSubsystem</inheritance>
       <inheritance>AnalogComponent : Component : SGSubsystem</inheritance>
      <staticSubsystemClassId>pi-simple-controller</staticSubsystemClassId>
       <declaration>src/Autopilot/pisimplecontroller.hxx</declaration>
       <declaration>src/Autopilot/pisimplecontroller.hxx</declaration>
       <implementation>src/Autopilot/pisimplecontroller.cxx</implementation>
       <implementation>src/Autopilot/pisimplecontroller.cxx</implementation>
Line 1,476: Line 1,832:
     <Predictor>
     <Predictor>
       <inheritance>AnalogComponent : Component : SGSubsystem</inheritance>
       <inheritance>AnalogComponent : Component : SGSubsystem</inheritance>
      <staticSubsystemClassId>predict-simple</staticSubsystemClassId>
       <declaration>src/Autopilot/predictor.hxx</declaration>
       <declaration>src/Autopilot/predictor.hxx</declaration>
       <implementation>src/Autopilot/predictor.cxx</implementation>
       <implementation>src/Autopilot/predictor.cxx</implementation>
Line 1,483: Line 1,840:
     <FlipFlop>
     <FlipFlop>
       <inheritance>Logic : DigitalComponent : Component : SGSubsystem</inheritance>
       <inheritance>Logic : DigitalComponent : Component : SGSubsystem</inheritance>
      <staticSubsystemClassId>flipflop</staticSubsystemClassId>
       <declaration>src/Autopilot/flipflop.hxx</declaration>
       <declaration>src/Autopilot/flipflop.hxx</declaration>
       <implementation>src/Autopilot/flipflop.cxx</implementation>
       <implementation>src/Autopilot/flipflop.cxx</implementation>
Line 1,489: Line 1,847:
   <counts>
   <counts>
     <simgear>
     <simgear>
       <subsystem_classes>9</subsystem_classes>
       <subsystem_classes>12</subsystem_classes>
       <subsystem_groups>0</subsystem_groups>
       <subsystem_groups>1</subsystem_groups>
       <total>9</total>
       <total>13</total>
     </simgear>
     </simgear>
     <flightgear>
     <flightgear>
       <subsystem_classes>117</subsystem_classes>
       <subsystem_classes>118</subsystem_classes>
       <subsystem_groups>10</subsystem_groups>
       <subsystem_groups>9</subsystem_groups>
       <total>127</total>
       <total>127</total>
     </flightgear>
     </flightgear>
     <combined>
     <combined>
       <subsystem_classes>126</subsystem_classes>
       <subsystem_classes>130</subsystem_classes>
       <subsystem_groups>10</subsystem_groups>
       <subsystem_groups>10</subsystem_groups>
       <total>136</total>
       <total>140</total>
     </combined>
     </combined>
   </counts>
   </counts>
Line 1,513: Line 1,871:
| lang  = shell
| lang  = shell
| script =  
| script =  
src/Instrumentation/adf.hxx
$ ./find_subsystems.py -l 2> /dev/null {{!}} sort
src/Instrumentation/adf.cxx
docs-mini/README.introduction
simgear/canvas/CanvasMgr.cxx
simgear/canvas/CanvasMgr.hxx
simgear/misc/interpolator.cxx
simgear/misc/interpolator.hxx
simgear/props/PropertyBasedMgr.cxx
simgear/props/PropertyBasedMgr.hxx
simgear/props/PropertyInterpolationMgr.cxx
simgear/props/PropertyInterpolationMgr.hxx
simgear/scene/tsync/terrasync.cxx
simgear/scene/tsync/terrasync.hxx
simgear/sound/soundmgr.hxx
simgear/structure/event_mgr.cxx
simgear/structure/event_mgr.hxx
simgear/structure/SGPerfMon.cxx
simgear/structure/SGPerfMon.hxx
simgear/structure/subsystem_mgr.cxx
simgear/structure/subsystem_mgr.hxx
simgear/structure/subsystem_test.cxx
simgear/structure/subsystem_test.cxx
simgear/structure/subsystem_test.cxx
simgear/structure/subsystem_test.cxx
src/AIModel/AIManager.cxx
src/AIModel/AIManager.hxx
src/AIModel/performancedb.cxx
src/AIModel/performancedb.hxx
src/AIModel/submodel.cxx
src/AIModel/submodel.hxx
src/Aircraft/controls.cxx
src/Aircraft/controls.hxx
src/Aircraft/FlightHistory.cxx
src/Aircraft/FlightHistory.hxx
src/Aircraft/replay.cxx
src/Aircraft/replay.hxx
src/Airports/airportdynamicsmanager.cxx
src/Airports/airportdynamicsmanager.hxx
src/Airports/airportdynamicsmanager.hxx
src/Airports/airportdynamicsmanager.cxx
src/ATC/atc_mgr.cxx
src/Instrumentation/airspeed_indicator.hxx
src/Instrumentation/airspeed_indicator.cxx
src/Instrumentation/altimeter.hxx
src/Instrumentation/altimeter.cxx
src/Environment/terrainsampler.cxx
src/Environment/terrainsampler.cxx
src/Instrumentation/attitude_indicator.hxx
src/Instrumentation/attitude_indicator.cxx
src/Instrumentation/clock.hxx
src/Instrumentation/clock.cxx
src/Instrumentation/commradio.hxx
src/Autopilot/component.hxx
src/Autopilot/component.cxx
src/Instrumentation/dclgps.hxx
src/Instrumentation/dclgps.cxx
src/Instrumentation/dme.hxx
src/Instrumentation/dme.cxx
src/Environment/ephemeris.hxx
src/Environment/ephemeris.cxx
src/FDM/fdm_shell.hxx
src/FDM/fdm_shell.cxx
src/AIModel/AIManager.hxx
src/AIModel/AIManager.cxx
src/ATC/atc_mgr.hxx
src/ATC/atc_mgr.hxx
src/ATC/atc_mgr.cxx
src/Autopilot/analogcomponent.cxx
src/Model/acmodel.hxx
src/Autopilot/analogcomponent.hxx
src/Model/acmodel.cxx
src/Autopilot/autopilot.cxx
src/Network/fgcom.hxx
src/Autopilot/autopilot.cxx
src/Network/fgcom.cxx
src/Autopilot/autopilotgroup.cxx
src/Aircraft/controls.hxx
src/Autopilot/autopilotgroup.cxx
src/Aircraft/controls.cxx
src/Autopilot/autopilotgroup.cxx
src/Network/DNSClient.hxx
src/Autopilot/autopilotgroup.hxx
src/Network/DNSClient.cxx
src/Autopilot/autopilot.hxx
src/Systems/electrical.hxx
src/Autopilot/component.cxx
src/Systems/electrical.cxx
src/Autopilot/component.hxx
src/Input/FGEventInput.hxx
src/Autopilot/digitalcomponent.cxx
src/Input/FGEventInput.cxx
src/Autopilot/digitalcomponent.hxx
src/Aircraft/FlightHistory.hxx
src/Autopilot/digitalfilter.cxx
src/Aircraft/FlightHistory.cxx
src/Autopilot/digitalfilter.hxx
src/Network/HTTPClient.hxx
src/Autopilot/flipflop.cxx
src/Network/HTTPClient.cxx
src/Autopilot/flipflop.hxx
src/Network/http/httpd.hxx
src/Autopilot/logic.cxx
src/Main/fg_io.hxx
src/Autopilot/logic.hxx
src/Main/fg_io.cxx
src/Autopilot/pidcontroller.cxx
src/FDM/flight.hxx
src/Autopilot/pidcontroller.hxx
src/FDM/flight.cxx
src/Autopilot/pisimplecontroller.cxx
src/Input/FGJoystickInput.hxx
src/Autopilot/pisimplecontroller.hxx
src/Input/FGJoystickInput.cxx
src/Autopilot/predictor.cxx
src/Instrumentation/kr_87.hxx
src/Autopilot/predictor.hxx
src/Instrumentation/kr_87.cxx
src/Autopilot/route_mgr.cxx
src/Input/FGKeyboardInput.hxx
src/Autopilot/route_mgr.hxx
src/Input/FGKeyboardInput.cxx
src/Canvas/canvas_mgr.cxx
src/Time/light.hxx
src/Canvas/canvas_mgr.hxx
src/Time/light.cxx
src/Canvas/gui_mgr.cxx
src/Main/logger.hxx
src/Canvas/gui_mgr.hxx
src/Main/logger.cxx
src/Cockpit/agradar.cxx
src/Cockpit/agradar.hxx
src/Cockpit/cockpitDisplayManager.cxx
src/Cockpit/cockpitDisplayManager.hxx
src/Cockpit/groundradar.cxx
src/Cockpit/groundradar.hxx
src/Cockpit/NavDisplay.cxx
src/Cockpit/NavDisplay.hxx
src/Cockpit/wxradar.cxx
src/Cockpit/wxradar.hxx
src/Environment/environment_ctrl.cxx
src/Environment/environment_ctrl.cxx
src/Environment/environment_ctrl.hxx
src/Environment/environment_mgr.cxx
src/Environment/environment_mgr.hxx
src/Environment/ephemeris.cxx
src/Environment/ephemeris.hxx
src/Environment/magvarmanager.cxx
src/Environment/magvarmanager.hxx
src/Environment/magvarmanager.hxx
src/Environment/magvarmanager.cxx
src/Environment/precipitation_mgr.cxx
src/Instrumentation/marker_beacon.hxx
src/Environment/precipitation_mgr.hxx
src/Instrumentation/marker_beacon.cxx
src/Environment/realwx_ctrl.cxx
src/Model/modelmgr.hxx
src/Environment/realwx_ctrl.cxx
src/Model/modelmgr.cxx
src/Environment/realwx_ctrl.cxx
src/Input/FGMouseInput.hxx
src/Environment/realwx_ctrl.cxx
src/Input/FGMouseInput.cxx
src/Environment/realwx_ctrl.cxx
src/MultiPlayer/multiplaymgr.hxx
src/Environment/realwx_ctrl.hxx
src/MultiPlayer/multiplaymgr.cxx
src/Environment/ridge_lift.cxx
src/Scripting/NasalSys.hxx
src/Scripting/NasalSys.cxx
src/Instrumentation/navradio.hxx
src/Instrumentation/navradio.cxx
utils/fgpanel/FGPanel.hxx
utils/fgpanel/FGPanel.cxx
utils/fgpanel/FGPanelProtocol.hxx
utils/fgpanel/FGPanelProtocol.cxx
src/Environment/precipitation_mgr.hxx
src/Environment/precipitation_mgr.cxx
src/Main/fg_props.hxx
src/Main/fg_props.cxx
src/Aircraft/replay.hxx
src/Aircraft/replay.cxx
src/Environment/ridge_lift.hxx
src/Environment/ridge_lift.hxx
src/Environment/ridge_lift.cxx
src/Environment/terrainsampler.cxx
src/Autopilot/route_mgr.hxx
src/Environment/terrainsampler.cxx
src/Autopilot/route_mgr.cxx
src/Environment/terrainsampler.cxx
src/Scenery/scenery.hxx
src/Environment/terrainsampler.cxx
src/Scenery/scenery.cxx
src/Environment/terrainsampler.hxx
src/Sound/soundmanager.hxx
src/FDM/ExternalNet/ExternalNet.cxx
src/Sound/soundmanager.cxx
src/FDM/ExternalNet/ExternalNet.hxx
src/AIModel/submodel.hxx
src/FDM/ExternalPipe/ExternalPipe.cxx
src/AIModel/submodel.cxx
src/FDM/ExternalPipe/ExternalPipe.hxx
docs-mini/README.introduction
src/FDM/fdm_shell.cxx
docs-mini/README.introduction
src/FDM/fdm_shell.hxx
src/Traffic/TrafficMgr.hxx
src/FDM/flight.cxx
src/Traffic/TrafficMgr.cxx
src/FDM/flight.hxx
src/Viewer/viewmgr.hxx
src/FDM/JSBSim/JSBSim.cxx
src/Viewer/viewmgr.cxx
src/FDM/JSBSim/JSBSim.hxx
src/Sound/voice.hxx
src/FDM/LaRCsim/LaRCsim.cxx
src/Sound/voice.cxx
src/FDM/LaRCsim/LaRCsim.hxx
src/Instrumentation/gps.hxx
src/FDM/NullFDM.cxx
src/Instrumentation/gps.cxx
src/FDM/NullFDM.hxx
src/Instrumentation/gsdi.hxx
src/FDM/SP/ACMS.cxx
src/Instrumentation/gsdi.cxx
src/FDM/SP/ACMS.hxx
src/Canvas/gui_mgr.hxx
src/FDM/SP/ADA.cxx
src/Canvas/gui_mgr.cxx
src/FDM/SP/ADA.hxx
src/Cockpit/groundradar.hxx
src/FDM/SP/AISim.cpp
src/Cockpit/groundradar.cxx
src/FDM/SP/AISim.hpp
src/Instrumentation/HUD/HUD.hxx
src/FDM/SP/Balloon.cxx
src/Instrumentation/HUD/HUD.cxx
src/FDM/SP/Balloon.h
src/Instrumentation/heading_indicator.hxx
src/FDM/SP/MagicCarpet.cxx
src/Instrumentation/heading_indicator.cxx
src/FDM/SP/MagicCarpet.hxx
src/Instrumentation/heading_indicator_dg.hxx
src/FDM/UFO.cxx
src/Instrumentation/heading_indicator_dg.cxx
src/FDM/UFO.hxx
src/Instrumentation/heading_indicator_fg.hxx
src/FDM/YASim/YASim.cxx
src/Instrumentation/heading_indicator_fg.cxx
src/FDM/YASim/YASim.hxx
src/Instrumentation/inst_vertical_speed_indicator.hxx
src/GUI/new_gui.cxx
src/Instrumentation/inst_vertical_speed_indicator.cxx
src/GUI/new_gui.hxx
src/Environment/environment_ctrl.hxx
src/Input/FGEventInput.cxx
src/Instrumentation/mk_viii.hxx
src/Input/FGEventInput.hxx
src/Instrumentation/mk_viii.cxx
src/Input/FGHIDEventInput.cxx
src/Instrumentation/mag_compass.hxx
src/Input/FGHIDEventInput.hxx
src/Instrumentation/mag_compass.cxx
src/Input/FGJoystickInput.cxx
src/Instrumentation/mrg.hxx
src/Input/FGJoystickInput.hxx
src/Instrumentation/mrg.cxx
src/Input/FGKeyboardInput.cxx
src/Cockpit/NavDisplay.hxx
src/Input/FGKeyboardInput.hxx
src/Cockpit/NavDisplay.cxx
src/Input/FGLinuxEventInput.cxx
src/Instrumentation/newnavradio.hxx
src/Input/FGLinuxEventInput.hxx
src/GUI/new_gui.hxx
src/Input/FGMacOSXEventInput.cxx
src/GUI/new_gui.cxx
src/Input/FGMacOSXEventInput.hxx
src/AIModel/performancedb.hxx
src/Input/FGMouseInput.cxx
src/AIModel/performancedb.cxx
src/Input/FGMouseInput.hxx
src/Systems/pitot.hxx
src/Input/input.cxx
src/Systems/pitot.cxx
src/Input/input.hxx
simgear/props/PropertyBasedMgr.hxx
src/Instrumentation/AbstractInstrument.cxx
simgear/props/PropertyBasedMgr.cxx
src/Instrumentation/AbstractInstrument.hxx
simgear/props/PropertyInterpolationMgr.hxx
src/Instrumentation/adf.cxx
simgear/props/PropertyInterpolationMgr.cxx
src/Instrumentation/adf.hxx
src/Instrumentation/rad_alt.hxx
src/Instrumentation/airspeed_indicator.cxx
src/Instrumentation/rad_alt.cxx
src/Instrumentation/airspeed_indicator.hxx
src/Environment/realwx_ctrl.hxx
src/Instrumentation/altimeter.cxx
src/Environment/realwx_ctrl.cxx
src/Instrumentation/altimeter.hxx
simgear/structure/event_mgr.hxx
src/Instrumentation/attitude_indicator.cxx
simgear/structure/event_mgr.cxx
src/Instrumentation/attitude_indicator.hxx
simgear/misc/interpolator.hxx
src/Instrumentation/clock.cxx
simgear/misc/interpolator.cxx
src/Instrumentation/clock.hxx
simgear/structure/SGPerfMon.hxx
src/Instrumentation/commradio.cxx
simgear/structure/SGPerfMon.cxx
src/Instrumentation/commradio.hxx
simgear/sound/soundmgr.hxx
src/Instrumentation/dme.cxx
simgear/structure/subsystem_mgr.hxx
src/Instrumentation/dme.hxx
simgear/structure/subsystem_mgr.cxx
src/Instrumentation/gps.cxx
simgear/scene/tsync/terrasync.hxx
src/Instrumentation/gps.hxx
simgear/scene/tsync/terrasync.cxx
src/Instrumentation/gsdi.cxx
src/Instrumentation/slip_skid_ball.hxx
src/Instrumentation/gsdi.hxx
src/Instrumentation/slip_skid_ball.cxx
src/Instrumentation/heading_indicator.cxx
src/Systems/static.hxx
src/Instrumentation/heading_indicator_dg.cxx
src/Systems/static.cxx
src/Instrumentation/heading_indicator_dg.hxx
src/Instrumentation/tacan.hxx
src/Instrumentation/heading_indicator_fg.cxx
src/Instrumentation/tacan.cxx
src/Instrumentation/heading_indicator_fg.hxx
src/Instrumentation/heading_indicator.hxx
src/Instrumentation/HUD/HUD.cxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/instrument_mgr.cxx
src/Instrumentation/instrument_mgr.hxx
src/Instrumentation/inst_vertical_speed_indicator.cxx
src/Instrumentation/inst_vertical_speed_indicator.hxx
src/Instrumentation/kr_87.cxx
src/Instrumentation/kr_87.hxx
src/Instrumentation/mag_compass.cxx
src/Instrumentation/mag_compass.hxx
src/Instrumentation/marker_beacon.cxx
src/Instrumentation/marker_beacon.hxx
src/Instrumentation/mk_viii.cxx
src/Instrumentation/mk_viii.hxx
src/Instrumentation/mrg.cxx
src/Instrumentation/mrg.hxx
src/Instrumentation/navradio.cxx
src/Instrumentation/navradio.hxx
src/Instrumentation/newnavradio.cxx
src/Instrumentation/newnavradio.hxx
src/Instrumentation/rad_alt.cxx
src/Instrumentation/rad_alt.hxx
src/Instrumentation/slip_skid_ball.cxx
src/Instrumentation/slip_skid_ball.hxx
src/Instrumentation/tacan.cxx
src/Instrumentation/tacan.hxx
src/Instrumentation/tcas.cxx
src/Instrumentation/tcas.hxx
src/Instrumentation/tcas.hxx
src/Instrumentation/tcas.cxx
src/Instrumentation/transponder.cxx
src/Time/TimeManager.hxx
src/Time/TimeManager.cxx
src/Instrumentation/transponder.hxx
src/Instrumentation/transponder.hxx
src/Instrumentation/transponder.cxx
src/Instrumentation/turn_indicator.cxx
src/Instrumentation/turn_indicator.hxx
src/Instrumentation/turn_indicator.hxx
src/Instrumentation/turn_indicator.cxx
src/Instrumentation/vertical_speed_indicator.cxx
src/Systems/vacuum.hxx
src/Systems/vacuum.cxx
src/Instrumentation/vertical_speed_indicator.hxx
src/Instrumentation/vertical_speed_indicator.hxx
src/Instrumentation/vertical_speed_indicator.cxx
src/Main/FGInterpolator.cxx
src/Viewer/view.hxx
src/Main/FGInterpolator.hxx
src/Viewer/view.cxx
src/Main/fg_io.cxx
src/Cockpit/wxradar.hxx
src/Main/fg_io.hxx
src/Cockpit/wxradar.cxx
src/Main/fg_props.cxx
src/Autopilot/analogcomponent.hxx
src/Main/fg_props.hxx
src/Autopilot/analogcomponent.cxx
src/Main/logger.cxx
src/Environment/realwx_ctrl.cxx
src/Main/logger.hxx
src/Environment/realwx_ctrl.cxx
src/Model/acmodel.cxx
simgear/canvas/CanvasMgr.hxx
src/Model/acmodel.hxx
simgear/canvas/CanvasMgr.cxx
src/Model/modelmgr.cxx
src/Instrumentation/commradio.cxx
src/Model/modelmgr.hxx
src/Instrumentation/commradio.cxx
src/MultiPlayer/multiplaymgr.cxx
src/Autopilot/digitalcomponent.hxx
src/MultiPlayer/multiplaymgr.hxx
src/Autopilot/digitalcomponent.cxx
src/Network/DNSClient.cxx
src/FDM/SP/ACMS.hxx
src/Network/DNSClient.hxx
src/FDM/SP/ACMS.cxx
src/Network/fgcom.cxx
src/FDM/SP/ADA.hxx
src/Network/fgcom.hxx
src/FDM/SP/ADA.cxx
src/Network/HTTPClient.cxx
src/FDM/SP/AISim.hpp
src/Network/HTTPClient.hxx
src/FDM/SP/AISim.cpp
src/Network/http/httpd.cxx
src/FDM/SP/Balloon.h
src/Network/http/httpd.cxx
src/FDM/SP/Balloon.cxx
src/Network/http/httpd.hxx
src/FDM/ExternalNet/ExternalNet.hxx
src/Network/Swift/swift_connection.cxx
src/FDM/ExternalNet/ExternalNet.cxx
src/Network/Swift/swift_connection.hxx
src/FDM/ExternalPipe/ExternalPipe.hxx
src/Scenery/scenery.cxx
src/FDM/ExternalPipe/ExternalPipe.cxx
src/Scenery/scenery.hxx
src/Input/FGHIDEventInput.hxx
src/Scripting/NasalSys.cxx
src/Input/FGHIDEventInput.cxx
src/Scripting/NasalSys.hxx
src/FDM/JSBSim/JSBSim.hxx
src/Sound/soundmanager.cxx
src/FDM/JSBSim/JSBSim.cxx
src/Sound/soundmanager.cxx
src/FDM/LaRCsim/LaRCsim.hxx
src/Sound/soundmanager.hxx
src/FDM/LaRCsim/LaRCsim.cxx
src/Sound/soundmanager.hxx
src/Input/FGLinuxEventInput.hxx
src/Sound/voice.cxx
src/Input/FGLinuxEventInput.cxx
src/Sound/voice.hxx
src/Input/FGMacOSXEventInput.hxx
src/Systems/electrical.cxx
src/Input/FGMacOSXEventInput.cxx
src/Systems/electrical.hxx
src/FDM/SP/MagicCarpet.hxx
src/Systems/pitot.cxx
src/FDM/SP/MagicCarpet.cxx
src/Systems/pitot.hxx
src/FDM/NullFDM.hxx
src/Systems/static.cxx
src/FDM/NullFDM.cxx
src/Systems/static.hxx
src/Systems/system_mgr.cxx
src/Systems/system_mgr.hxx
src/Systems/vacuum.cxx
src/Systems/vacuum.hxx
src/Time/light.cxx
src/Time/light.hxx
src/Time/TimeManager.cxx
src/Time/TimeManager.hxx
src/Traffic/TrafficMgr.cxx
src/Traffic/TrafficMgr.hxx
src/Viewer/view.cxx
src/Viewer/view.hxx
src/Viewer/viewmgr.cxx
src/Viewer/viewmgr.hxx
utils/fgpanel/FGPanel.cxx
utils/fgpanel/FGPanel.hxx
utils/fgpanel/FGPanelProtocol.cxx
utils/fgpanel/FGPanelProtocol.hxx
utils/fgpanel/panel_io.cxx
utils/fgpanel/panel_io.hxx
utils/fgpanel/panel_io.hxx
utils/fgpanel/panel_io.cxx
src/Sound/soundmanager.hxx
src/Sound/soundmanager.cxx
src/FDM/UFO.hxx
src/FDM/UFO.cxx
src/Instrumentation/KLN89/kln89.hxx
src/Instrumentation/KLN89/kln89.cxx
src/Environment/environment_ctrl.cxx
src/Environment/environment_ctrl.cxx
src/Network/http/httpd.cxx
src/Network/http/httpd.cxx
src/Instrumentation/newnavradio.cxx
src/Instrumentation/newnavradio.cxx
src/Autopilot/autopilot.cxx
src/Autopilot/autopilot.cxx
src/FDM/YASim/YASim.hxx
src/FDM/YASim/YASim.cxx
src/Cockpit/agradar.hxx
src/Cockpit/agradar.cxx
src/Autopilot/digitalfilter.hxx
src/Autopilot/digitalfilter.cxx
src/Autopilot/logic.hxx
src/Autopilot/logic.cxx
src/Environment/realwx_ctrl.cxx
src/Environment/realwx_ctrl.cxx
src/Autopilot/pidcontroller.hxx
src/Autopilot/pidcontroller.cxx
src/Autopilot/pisimplecontroller.hxx
src/Autopilot/pisimplecontroller.cxx
src/Autopilot/predictor.hxx
src/Autopilot/predictor.cxx
src/Autopilot/flipflop.hxx
src/Autopilot/flipflop.cxx
src/Autopilot/autopilot.hxx
src/Autopilot/autopilot.cxx
src/Cockpit/cockpitDisplayManager.hxx
src/Cockpit/cockpitDisplayManager.cxx
src/Environment/environment_mgr.hxx
src/Environment/environment_mgr.cxx
src/Input/input.hxx
src/Input/input.cxx
src/Instrumentation/instrument_mgr.hxx
src/Instrumentation/instrument_mgr.cxx
src/Systems/system_mgr.hxx
src/Systems/system_mgr.cxx
src/Autopilot/autopilotgroup.hxx
src/Autopilot/autopilotgroup.cxx
src/Environment/terrainsampler.hxx
src/Autopilot/autopilotgroup.cxx
src/Autopilot/autopilotgroup.cxx
src/Environment/terrainsampler.cxx
src/Environment/terrainsampler.cxx
}}
}}


{{collapsible script
{{collapsible script
| type  = Flightgear subsystem declaration file listing output
| type  = Flightgear subsystem declaration file listing output
| title  = The declaration files for all flightgear subsystems (excluding simgear sources and excluding subsystem groups).
| title  = The declaration files for all flightgear subsystems (excluding simgear sources and excluding subsystem groups).
| intro  = Declaration file listing output from the Python script for finding all subsystems within the flightgear C++ code base.  The error output from the script was redirected and hence not shown below.
| intro  = Declaration file listing output from the Python script for finding all subsystems within the flightgear C++ code base.  The error output from the script was redirected and hence not shown below.
| lang  = shell
| lang  = shell
| script =
$ ./find_subsystems.py -dfnp 2> /dev/null {{!}} sort
/flightgear/src/flightgear-flightgear/docs-mini/README.introduction
/flightgear/src/flightgear-flightgear/src/AIModel/AIManager.hxx
/flightgear/src/flightgear-flightgear/src/AIModel/performancedb.hxx
/flightgear/src/flightgear-flightgear/src/AIModel/submodel.hxx
/flightgear/src/flightgear-flightgear/src/Aircraft/controls.hxx
/flightgear/src/flightgear-flightgear/src/Aircraft/FlightHistory.hxx
/flightgear/src/flightgear-flightgear/src/Aircraft/replay.hxx
/flightgear/src/flightgear-flightgear/src/Airports/airportdynamicsmanager.hxx
/flightgear/src/flightgear-flightgear/src/ATC/atc_mgr.hxx
/flightgear/src/flightgear-flightgear/src/Autopilot/analogcomponent.hxx
/flightgear/src/flightgear-flightgear/src/Autopilot/autopilot.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/component.hxx
/flightgear/src/flightgear-flightgear/src/Autopilot/digitalcomponent.hxx
/flightgear/src/flightgear-flightgear/src/Autopilot/digitalfilter.hxx
/flightgear/src/flightgear-flightgear/src/Autopilot/flipflop.hxx
/flightgear/src/flightgear-flightgear/src/Autopilot/logic.hxx
/flightgear/src/flightgear-flightgear/src/Autopilot/pidcontroller.hxx
/flightgear/src/flightgear-flightgear/src/Autopilot/pisimplecontroller.hxx
/flightgear/src/flightgear-flightgear/src/Autopilot/predictor.hxx
/flightgear/src/flightgear-flightgear/src/Autopilot/route_mgr.hxx
/flightgear/src/flightgear-flightgear/src/Canvas/canvas_mgr.hxx
/flightgear/src/flightgear-flightgear/src/Canvas/gui_mgr.hxx
/flightgear/src/flightgear-flightgear/src/Cockpit/agradar.hxx
/flightgear/src/flightgear-flightgear/src/Cockpit/groundradar.hxx
/flightgear/src/flightgear-flightgear/src/Cockpit/NavDisplay.hxx
/flightgear/src/flightgear-flightgear/src/Cockpit/wxradar.hxx
/flightgear/src/flightgear-flightgear/src/Environment/environment_ctrl.cxx
/flightgear/src/flightgear-flightgear/src/Environment/environment_ctrl.hxx
/flightgear/src/flightgear-flightgear/src/Environment/ephemeris.hxx
/flightgear/src/flightgear-flightgear/src/Environment/magvarmanager.hxx
/flightgear/src/flightgear-flightgear/src/Environment/precipitation_mgr.hxx
/flightgear/src/flightgear-flightgear/src/Environment/realwx_ctrl.cxx
/flightgear/src/flightgear-flightgear/src/Environment/realwx_ctrl.cxx
/flightgear/src/flightgear-flightgear/src/Environment/realwx_ctrl.hxx
/flightgear/src/flightgear-flightgear/src/Environment/ridge_lift.hxx
/flightgear/src/flightgear-flightgear/src/Environment/terrainsampler.cxx
/flightgear/src/flightgear-flightgear/src/FDM/ExternalNet/ExternalNet.hxx
/flightgear/src/flightgear-flightgear/src/FDM/ExternalPipe/ExternalPipe.hxx
/flightgear/src/flightgear-flightgear/src/FDM/fdm_shell.hxx
/flightgear/src/flightgear-flightgear/src/FDM/flight.hxx
/flightgear/src/flightgear-flightgear/src/FDM/JSBSim/JSBSim.hxx
/flightgear/src/flightgear-flightgear/src/FDM/LaRCsim/LaRCsim.hxx
/flightgear/src/flightgear-flightgear/src/FDM/NullFDM.hxx
/flightgear/src/flightgear-flightgear/src/FDM/SP/ACMS.hxx
/flightgear/src/flightgear-flightgear/src/FDM/SP/ADA.hxx
/flightgear/src/flightgear-flightgear/src/FDM/SP/AISim.hpp
/flightgear/src/flightgear-flightgear/src/FDM/SP/Balloon.h
/flightgear/src/flightgear-flightgear/src/FDM/SP/MagicCarpet.hxx
/flightgear/src/flightgear-flightgear/src/FDM/UFO.hxx
/flightgear/src/flightgear-flightgear/src/FDM/YASim/YASim.hxx
/flightgear/src/flightgear-flightgear/src/GUI/new_gui.hxx
/flightgear/src/flightgear-flightgear/src/Input/FGEventInput.hxx
/flightgear/src/flightgear-flightgear/src/Input/FGHIDEventInput.hxx
/flightgear/src/flightgear-flightgear/src/Input/FGJoystickInput.hxx
/flightgear/src/flightgear-flightgear/src/Input/FGKeyboardInput.hxx
/flightgear/src/flightgear-flightgear/src/Input/FGLinuxEventInput.hxx
/flightgear/src/flightgear-flightgear/src/Input/FGMacOSXEventInput.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/airspeed_indicator.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/altimeter.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/attitude_indicator.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/clock.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/commradio.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/dme.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/gps.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/gsdi.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/heading_indicator_dg.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/heading_indicator_fg.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/instrument_mgr.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/mag_compass.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/marker_beacon.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/mk_viii.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/mrg.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/navradio.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/newnavradio.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/rad_alt.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/slip_skid_ball.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/tacan.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/tcas.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/transponder.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/turn_indicator.hxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/vertical_speed_indicator.hxx
/flightgear/src/flightgear-flightgear/src/Main/FGInterpolator.hxx
/flightgear/src/flightgear-flightgear/src/Main/fg_io.hxx
/flightgear/src/flightgear-flightgear/src/Main/fg_props.hxx
/flightgear/src/flightgear-flightgear/src/Main/logger.hxx
/flightgear/src/flightgear-flightgear/src/Model/acmodel.hxx
/flightgear/src/flightgear-flightgear/src/Model/modelmgr.hxx
/flightgear/src/flightgear-flightgear/src/MultiPlayer/multiplaymgr.hxx
/flightgear/src/flightgear-flightgear/src/Network/DNSClient.hxx
/flightgear/src/flightgear-flightgear/src/Network/fgcom.hxx
/flightgear/src/flightgear-flightgear/src/Network/HTTPClient.hxx
/flightgear/src/flightgear-flightgear/src/Network/http/httpd.cxx
/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/Scripting/NasalSys.hxx
/flightgear/src/flightgear-flightgear/src/Sound/soundmanager.hxx
/flightgear/src/flightgear-flightgear/src/Sound/soundmanager.hxx
/flightgear/src/flightgear-flightgear/src/Sound/voice.hxx
/flightgear/src/flightgear-flightgear/src/Systems/electrical.hxx
/flightgear/src/flightgear-flightgear/src/Systems/pitot.hxx
/flightgear/src/flightgear-flightgear/src/Systems/static.hxx
/flightgear/src/flightgear-flightgear/src/Systems/vacuum.hxx
/flightgear/src/flightgear-flightgear/src/Time/light.hxx
/flightgear/src/flightgear-flightgear/src/Time/TimeManager.hxx
/flightgear/src/flightgear-flightgear/src/Traffic/TrafficMgr.hxx
/flightgear/src/flightgear-flightgear/src/Viewer/view.hxx
/flightgear/src/flightgear-flightgear/src/Viewer/viewmgr.hxx
/flightgear/src/flightgear-flightgear/utils/fgpanel/FGPanel.hxx
/flightgear/src/flightgear-flightgear/utils/fgpanel/FGPanelProtocol.hxx
/flightgear/src/flightgear-flightgear/utils/fgpanel/panel_io.hxx
}}
 
{{collapsible script
| type  = Flightgear subsystem implementation file listing output
| title  = The implementation files for all flightgear subsystems (excluding simgear sources and excluding subsystem groups).
| intro  = Implementation file listing output from the Python script for finding all subsystems within the flightgear C++ code base.  The error output from the script was redirected and hence not shown below.
| lang  = cpp
| script =
$ ./find_subsystems.py -ifnp 2> /dev/null {{!}} sort
/flightgear/src/flightgear-flightgear/src/AIModel/AIManager.cxx
/flightgear/src/flightgear-flightgear/src/AIModel/performancedb.cxx
/flightgear/src/flightgear-flightgear/src/AIModel/submodel.cxx
/flightgear/src/flightgear-flightgear/src/Aircraft/controls.cxx
/flightgear/src/flightgear-flightgear/src/Aircraft/FlightHistory.cxx
/flightgear/src/flightgear-flightgear/src/Aircraft/replay.cxx
/flightgear/src/flightgear-flightgear/src/Airports/airportdynamicsmanager.cxx
/flightgear/src/flightgear-flightgear/src/ATC/atc_mgr.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/analogcomponent.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/component.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/digitalcomponent.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/digitalfilter.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/flipflop.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/logic.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/pidcontroller.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/pisimplecontroller.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/predictor.cxx
/flightgear/src/flightgear-flightgear/src/Autopilot/route_mgr.cxx
/flightgear/src/flightgear-flightgear/src/Canvas/canvas_mgr.cxx
/flightgear/src/flightgear-flightgear/src/Canvas/gui_mgr.cxx
/flightgear/src/flightgear-flightgear/src/Cockpit/agradar.cxx
/flightgear/src/flightgear-flightgear/src/Cockpit/groundradar.cxx
/flightgear/src/flightgear-flightgear/src/Cockpit/NavDisplay.cxx
/flightgear/src/flightgear-flightgear/src/Cockpit/wxradar.cxx
/flightgear/src/flightgear-flightgear/src/Environment/environment_ctrl.cxx
/flightgear/src/flightgear-flightgear/src/Environment/ephemeris.cxx
/flightgear/src/flightgear-flightgear/src/Environment/magvarmanager.cxx
/flightgear/src/flightgear-flightgear/src/Environment/precipitation_mgr.cxx
/flightgear/src/flightgear-flightgear/src/Environment/realwx_ctrl.cxx
/flightgear/src/flightgear-flightgear/src/Environment/realwx_ctrl.cxx
/flightgear/src/flightgear-flightgear/src/Environment/realwx_ctrl.cxx
/flightgear/src/flightgear-flightgear/src/Environment/ridge_lift.cxx
/flightgear/src/flightgear-flightgear/src/Environment/terrainsampler.cxx
/flightgear/src/flightgear-flightgear/src/FDM/ExternalNet/ExternalNet.cxx
/flightgear/src/flightgear-flightgear/src/FDM/ExternalPipe/ExternalPipe.cxx
/flightgear/src/flightgear-flightgear/src/FDM/fdm_shell.cxx
/flightgear/src/flightgear-flightgear/src/FDM/flight.cxx
/flightgear/src/flightgear-flightgear/src/FDM/JSBSim/JSBSim.cxx
/flightgear/src/flightgear-flightgear/src/FDM/LaRCsim/LaRCsim.cxx
/flightgear/src/flightgear-flightgear/src/FDM/NullFDM.cxx
/flightgear/src/flightgear-flightgear/src/FDM/SP/ACMS.cxx
/flightgear/src/flightgear-flightgear/src/FDM/SP/ADA.cxx
/flightgear/src/flightgear-flightgear/src/FDM/SP/AISim.cpp
/flightgear/src/flightgear-flightgear/src/FDM/SP/Balloon.cxx
/flightgear/src/flightgear-flightgear/src/FDM/SP/MagicCarpet.cxx
/flightgear/src/flightgear-flightgear/src/FDM/UFO.cxx
/flightgear/src/flightgear-flightgear/src/FDM/YASim/YASim.cxx
/flightgear/src/flightgear-flightgear/src/GUI/new_gui.cxx
/flightgear/src/flightgear-flightgear/src/Input/FGEventInput.cxx
/flightgear/src/flightgear-flightgear/src/Input/FGHIDEventInput.cxx
/flightgear/src/flightgear-flightgear/src/Input/FGJoystickInput.cxx
/flightgear/src/flightgear-flightgear/src/Input/FGKeyboardInput.cxx
/flightgear/src/flightgear-flightgear/src/Input/FGLinuxEventInput.cxx
/flightgear/src/flightgear-flightgear/src/Input/FGMacOSXEventInput.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/airspeed_indicator.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/altimeter.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/attitude_indicator.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/clock.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/commradio.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/dme.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/gps.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/gsdi.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/heading_indicator.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/heading_indicator_dg.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/instrument_mgr.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/mag_compass.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/marker_beacon.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/mk_viii.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/mrg.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/navradio.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/newnavradio.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/rad_alt.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/slip_skid_ball.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/tacan.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/tcas.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/transponder.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/turn_indicator.cxx
/flightgear/src/flightgear-flightgear/src/Instrumentation/vertical_speed_indicator.cxx
/flightgear/src/flightgear-flightgear/src/Main/FGInterpolator.cxx
/flightgear/src/flightgear-flightgear/src/Main/fg_io.cxx
/flightgear/src/flightgear-flightgear/src/Main/fg_props.cxx
/flightgear/src/flightgear-flightgear/src/Main/logger.cxx
/flightgear/src/flightgear-flightgear/src/Model/acmodel.cxx
/flightgear/src/flightgear-flightgear/src/Model/modelmgr.cxx
/flightgear/src/flightgear-flightgear/src/MultiPlayer/multiplaymgr.cxx
/flightgear/src/flightgear-flightgear/src/Network/DNSClient.cxx
/flightgear/src/flightgear-flightgear/src/Network/fgcom.cxx
/flightgear/src/flightgear-flightgear/src/Network/HTTPClient.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/Scripting/NasalSys.cxx
/flightgear/src/flightgear-flightgear/src/Sound/soundmanager.cxx
/flightgear/src/flightgear-flightgear/src/Sound/soundmanager.cxx
/flightgear/src/flightgear-flightgear/src/Sound/voice.cxx
/flightgear/src/flightgear-flightgear/src/Systems/electrical.cxx
/flightgear/src/flightgear-flightgear/src/Systems/pitot.cxx
/flightgear/src/flightgear-flightgear/src/Systems/static.cxx
/flightgear/src/flightgear-flightgear/src/Systems/vacuum.cxx
/flightgear/src/flightgear-flightgear/src/Time/light.cxx
/flightgear/src/flightgear-flightgear/src/Time/TimeManager.cxx
/flightgear/src/flightgear-flightgear/src/Traffic/TrafficMgr.cxx
/flightgear/src/flightgear-flightgear/src/Viewer/view.cxx
/flightgear/src/flightgear-flightgear/src/Viewer/viewmgr.cxx
/flightgear/src/flightgear-flightgear/utils/fgpanel/FGPanel.cxx
/flightgear/src/flightgear-flightgear/utils/fgpanel/FGPanelProtocol.cxx
/flightgear/src/flightgear-flightgear/utils/fgpanel/panel_io.cxx
}}
 
{{collapsible script
| type  = Grep output
| title  = Searching for SGSky dependencies for all subsystems.
| intro  = This is an example to show how to use the file listing outputs of the script to hunt down subsystem dependencies.
| lang  = shell
| script =
$ ./find_subsystems.py -lp {{!}} sort {{!}} xargs grep SGSky
Finding all primary classes in: /flightgear/src/flightgear-simgear
Finding all primary groups in: /flightgear/src/flightgear-simgear
Finding all secondary classes in: /flightgear/src/flightgear-simgear
Finding all secondary groups in: /flightgear/src/flightgear-simgear
Finding all tertiary classes in: /flightgear/src/flightgear-simgear
Finding all tertiary groups in: /flightgear/src/flightgear-simgear
Finding all quaternary classes in: /flightgear/src/flightgear-simgear
Finding all quaternary groups in: /flightgear/src/flightgear-simgear
Finding all primary classes in: /flightgear/src/flightgear-flightgear
Finding all primary groups in: /flightgear/src/flightgear-flightgear
Finding all secondary classes in: /flightgear/src/flightgear-flightgear
Skipping: 'src/FDM/SP/AISim.hpp:        : public FGInterface'
Finding all secondary groups in: /flightgear/src/flightgear-flightgear
Finding all tertiary classes in: /flightgear/src/flightgear-flightgear
Finding all tertiary groups in: /flightgear/src/flightgear-flightgear
Finding all quaternary classes in: /flightgear/src/flightgear-flightgear
Finding all quaternary groups in: /flightgear/src/flightgear-flightgear
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::get_visibility );
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::get_3dCloudDensity,
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::set_3dCloudDensity);
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::get_3dCloudVisRange,
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::set_3dCloudVisRange);
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::get_3dCloudImpostorDistance,
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::set_3dCloudImpostorDistance);
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::get_3dCloudLoD1Range,
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::set_3dCloudLoD1Range);
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::get_3dCloudLoD2Range,
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::set_3dCloudLoD2Range);
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::get_3dCloudWrap,
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::set_3dCloudWrap);
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::get_3dCloudUseImpostors,
/flightgear/src/flightgear-flightgear/src/Environment/environment_mgr.cxx:          &SGSky::set_3dCloudUseImpostors);
/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/precipitation_mgr.cxx:    SGSky* thesky = globals->get_renderer()->getSky();
/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();
}}
 
{{collapsible script
| type  = Grep output
| title  = Searching for all direct subsystem instantiations.
| lang  = c
| script =
$ ./find_subsystems.py --classes 2> /dev/null {{!}} xargs -I{} grep -nrI "new.*\<{}\>" src {{!}} sort -u
src/Autopilot/autopilot.cxx:134:      componentForge["pid-controller"]      = new CreateAndConfigureFunctor<PIDController,Component>();
src/Autopilot/autopilot.cxx:135:      componentForge["pi-simple-controller"] = new CreateAndConfigureFunctor<PISimpleController,Component>();
src/Autopilot/autopilot.cxx:136:      componentForge["predict-simple"]      = new CreateAndConfigureFunctor<Predictor,Component>();
src/Autopilot/autopilot.cxx:137:      componentForge["filter"]              = new CreateAndConfigureFunctor<DigitalFilter,Component>();
src/Autopilot/autopilot.cxx:138:      componentForge["logic"]                = new CreateAndConfigureFunctor<Logic,Component>();
src/Autopilot/autopilot.cxx:139:      componentForge["flipflop"]            = new CreateAndConfigureFunctor<FlipFlop,Component>();
src/Autopilot/autopilot.cxx:87:    return new StateMachineComponent(cfg, prop_root);
src/Autopilot/autopilotgroup.cxx:229:  return new FGXMLAutopilotGroupImplementation(nodeName);
src/Autopilot/autopilotgroup.cxx:82:  Autopilot* ap = new Autopilot(apNode, config);
src/Cockpit/cockpitDisplayManager.cxx:100:            set_subsystem( id, new wxRadarBg ( node ) );
src/Cockpit/cockpitDisplayManager.cxx:103:            set_subsystem( id, new GroundRadar( node ) );
src/Cockpit/cockpitDisplayManager.cxx:106:            set_subsystem( id, new agRadar( node ) );
src/Cockpit/cockpitDisplayManager.cxx:109:            set_subsystem( id, new NavDisplay( node ) );
src/Cockpit/panel_io.cxx:657:  FGPanel * panel = new FGPanel();
src/Environment/environment_ctrl.cxx:349:    return new LayerInterpolateControllerImplementation( rootNode );
src/Environment/environment_mgr.cxx:93:  set_subsystem("precipitation", new FGPrecipitationMgr);
src/Environment/environment_mgr.cxx:96:  set_subsystem("ridgelift", new FGRidgeLift);
src/Environment/environment_mgr.cxx:98:  set_subsystem("magvar", new FGMagVarManager);
src/Environment/realwx_ctrl.cxx:515:  return new NoaaMetarRealWxController( rootNode );
src/Environment/terrainsampler.cxx:381:        set_subsystem( areaSubsystemName(i), new AreaSampler( areaNodes[i] ) );
src/Environment/terrainsampler.cxx:430:    return new TerrainSamplerImplementation( rootNode );
src/FDM/fdm_shell.cxx:278:    _impl = new FGUFO( dt );
src/FDM/fdm_shell.cxx:282:    _impl = new FGNullFDM( dt );
src/FDM/fdm_shell.cxx:315:    _impl = new FGExternalNet( dt, host, port1, port2, port3 );
src/FDM/fdm_shell.cxx:318:    // /* old */ _impl = new FGExternalPipe( dt, pipe_path );
src/FDM/fdm_shell.cxx:332:    _impl = new FGExternalPipe( dt, pipe_path, pipe_protocol );
src/FDM/fdm_shell.cxx:334:    _impl = new FGNullFDM( dt );
src/FDM/fdm_shell.cxx:338:        _impl = new FGLaRCsim( dt );
src/FDM/fdm_shell.cxx:345:        _impl = new FGJSBsim( dt );
src/FDM/fdm_shell.cxx:352:        _impl = new FGADA( dt );
src/FDM/fdm_shell.cxx:354:        _impl = new FGACMS( dt );
src/FDM/fdm_shell.cxx:356:        _impl = new FGBalloonSim( dt );
src/FDM/fdm_shell.cxx:358:        _impl = new FGMagicCarpet( dt );
src/FDM/fdm_shell.cxx:360://      _impl = new FGAISim( dt );
src/FDM/fdm_shell.cxx:370:        _impl = new YASim( dt );
src/FDM/JSBSim/FGFDMExec.cpp:230:  Models[eInput]            = new FGInput(this);
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/Input/input.cxx:65:    set_subsystem( FGMouseInput::staticSubsystemClassId(), new FGMouseInput() );
src/Input/input.cxx:71:    set_subsystem( "input-keyboard", new FGKeyboardInput() );
src/Input/input.cxx:78:    set_subsystem( "input-joystick", new FGJoystickInput() );
src/Input/input.cxx:94:    set_subsystem( "input-event-hid", new FGHIDEventInput() );
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/Systems/system_mgr.cxx:77:                          new FGElectricalSystem( node ) );
src/Systems/system_mgr.cxx:80:                          new PitotSystem( node ) );
src/Systems/system_mgr.cxx:83:                          new StaticSystem( 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:182:        v = new View ( FG_LOOKFROM, from_model, from_model_index,
}}
 
== Refactoring ==
 
To check that all subsystems on a branch have been updated or refactored:
 
{{collapsible script
| type  = Python script
| title  = Python script verifying if all subsystems have been updated.
| lang  = python
| script =  
| script =  
$ ./find_subsystems.py -d -f -n 2> /dev/null | sort
#! /usr/bin/env python3
docs-mini/README.introduction
 
src/AIModel/AIManager.hxx
# Python module imports.
src/AIModel/performancedb.hxx
from subprocess import PIPE, Popen
src/AIModel/submodel.hxx
 
src/Aircraft/controls.hxx
# Other module imports.
src/Aircraft/FlightHistory.hxx
from find_subsystems import FindSubsystems
src/Aircraft/replay.hxx
 
src/Airports/airportdynamicsmanager.hxx
 
src/ATC/atc_mgr.hxx
# Source code repository paths.
src/Autopilot/analogcomponent.hxx
SIMGEAR_PATH = "/flightgear/src/flightgear-simgear"
src/Autopilot/autopilot.cxx
FLIGHTGEAR_PATH = "/flightgear/src/flightgear-flightgear"
src/Autopilot/component.hxx
 
src/Autopilot/digitalcomponent.hxx
 
src/Autopilot/digitalfilter.hxx
class ToUpdate:
src/Autopilot/flipflop.hxx
    """Class for finding all files yet to be updated."""
src/Autopilot/logic.hxx
 
src/Autopilot/pidcontroller.hxx
    def __init__(self):
src/Autopilot/pisimplecontroller.hxx
        """Find all files to be updated."""
src/Autopilot/predictor.hxx
 
src/Autopilot/route_mgr.hxx
        # First find all subsystems.
src/Canvas/gui_mgr.hxx
        sub = FindSubsystems()
src/Cockpit/agradar.hxx
 
src/Cockpit/groundradar.hxx
        # Generate a list of files to skip.
src/Cockpit/NavDisplay.hxx
        cmd = "cd %s;" % SIMGEAR_PATH
src/Cockpit/wxradar.hxx
        cmd += "git diff --name-only ..next;"
src/Environment/environment_ctrl.cxx
        cmd += "cd %s;" % FLIGHTGEAR_PATH
src/Environment/environment_ctrl.hxx
        cmd += "git diff --name-only ..next"
src/Environment/ephemeris.hxx
        pipe = Popen(cmd, shell=True, stdout=PIPE)
src/Environment/magvarmanager.hxx
        blacklist = []
src/Environment/precipitation_mgr.hxx
        for line in pipe.stdout.readlines():
src/Environment/realwx_ctrl.cxx
            file_name = line.decode()
src/Environment/realwx_ctrl.cxx
            file_name = file_name.strip()
src/Environment/realwx_ctrl.hxx
            blacklist.append(file_name)
src/Environment/ridge_lift.hxx
 
src/Environment/terrainsampler.cxx
        # Loop over all derived class declarations.
src/FDM/ExternalNet/ExternalNet.hxx
        print("\nYet to be updated:")
src/FDM/ExternalPipe/ExternalPipe.hxx
        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]:
src/FDM/fdm_shell.hxx
            if subsystem.declaration_file not in blacklist:
src/FDM/flight.hxx
                print("    %s: %s" % (subsystem.declaration_file, subsystem))
src/FDM/JSBSim/JSBSim.hxx
 
src/FDM/LaRCsim/LaRCsim.hxx
 
src/FDM/NullFDM.hxx
 
src/FDM/SP/ACMS.hxx
# Instantiate the class if run as a script.
src/FDM/SP/ADA.hxx
if __name__ == "__main__":
src/FDM/SP/AISim.hpp
    ToUpdate()
src/FDM/SP/Balloon.h
}}
src/FDM/SP/MagicCarpet.hxx
 
src/FDM/UFO.hxx
== Automated test suite test creation ==
src/FDM/YASim/YASim.hxx
 
src/GUI/new_gui.hxx
This script was used to generate the instanced and non-instanced subsystem system tests:
src/Input/FGEventInput.hxx
 
src/Input/FGHIDEventInput.hxx
{{collapsible script
src/Input/FGJoystickInput.hxx
| type  = Python script
src/Input/FGKeyboardInput.hxx
| title  = Python script for generating the code for the system tests
src/Input/FGLinuxEventInput.hxx
| lang  = python
src/Input/FGMacOSXEventInput.hxx
| script =
src/Input/FGMouseInput.hxx
#! /usr/bin/env python3
src/Instrumentation/adf.hxx
 
src/Instrumentation/airspeed_indicator.hxx
# Other module imports.
src/Instrumentation/altimeter.hxx
from find_subsystems import FindSubsystems
src/Instrumentation/attitude_indicator.hxx
 
src/Instrumentation/clock.hxx
src/Instrumentation/commradio.cxx
src/Instrumentation/commradio.hxx
src/Instrumentation/dclgps.hxx
src/Instrumentation/dme.hxx
src/Instrumentation/gps.hxx
src/Instrumentation/gsdi.hxx
src/Instrumentation/heading_indicator_dg.hxx
src/Instrumentation/heading_indicator_fg.hxx
src/Instrumentation/heading_indicator.hxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/inst_vertical_speed_indicator.hxx
src/Instrumentation/KLN89/kln89.hxx
src/Instrumentation/kr_87.hxx
src/Instrumentation/mag_compass.hxx
src/Instrumentation/marker_beacon.hxx
src/Instrumentation/mk_viii.hxx
src/Instrumentation/mrg.hxx
src/Instrumentation/navradio.hxx
src/Instrumentation/newnavradio.cxx
src/Instrumentation/newnavradio.hxx
src/Instrumentation/rad_alt.hxx
src/Instrumentation/slip_skid_ball.hxx
src/Instrumentation/tacan.hxx
src/Instrumentation/tcas.hxx
src/Instrumentation/transponder.hxx
src/Instrumentation/turn_indicator.hxx
src/Instrumentation/vertical_speed_indicator.hxx
src/Main/fg_io.hxx
src/Main/fg_props.hxx
src/Main/logger.hxx
src/Model/acmodel.hxx
src/Model/modelmgr.hxx
src/MultiPlayer/multiplaymgr.hxx
src/Network/DNSClient.hxx
src/Network/fgcom.hxx
src/Network/HTTPClient.hxx
src/Network/http/httpd.cxx
src/Network/http/httpd.hxx
src/Scenery/scenery.hxx
src/Scripting/NasalSys.hxx
src/Sound/soundmanager.hxx
src/Sound/soundmanager.hxx
src/Sound/voice.hxx
src/Systems/electrical.hxx
src/Systems/pitot.hxx
src/Systems/static.hxx
src/Systems/vacuum.hxx
src/Time/light.hxx
src/Time/TimeManager.hxx
src/Traffic/TrafficMgr.hxx
src/Viewer/view.hxx
src/Viewer/viewmgr.hxx
utils/fgpanel/FGPanel.hxx
utils/fgpanel/FGPanelProtocol.hxx
utils/fgpanel/panel_io.hxx
}}


{{collapsible script
class TestSuite:
| type  = Flightgear subsystem implementation file listing output
    """Class for generating the code for the system tests."""
| title  = The implementation files for all flightgear subsystems (excluding simgear sources and excluding subsystem groups).
| intro  = Implementation file listing output from the Python script for finding all subsystems within the flightgear C++ code base.  The error output from the script was redirected and hence not shown below.
| lang  = shell
| script =
$ ./find_subsystems.py -i -f -n 2> /dev/null | sort
docs-mini/README.introduction
src/AIModel/AIManager.cxx
src/AIModel/performancedb.cxx
src/AIModel/submodel.cxx
src/Aircraft/controls.cxx
src/Aircraft/FlightHistory.cxx
src/Aircraft/replay.cxx
src/Airports/airportdynamicsmanager.cxx
src/ATC/atc_mgr.cxx
src/Autopilot/analogcomponent.cxx
src/Autopilot/autopilot.cxx
src/Autopilot/component.cxx
src/Autopilot/digitalcomponent.cxx
src/Autopilot/digitalfilter.cxx
src/Autopilot/flipflop.cxx
src/Autopilot/logic.cxx
src/Autopilot/pidcontroller.cxx
src/Autopilot/pisimplecontroller.cxx
src/Autopilot/predictor.cxx
src/Autopilot/route_mgr.cxx
src/Canvas/gui_mgr.cxx
src/Cockpit/agradar.cxx
src/Cockpit/groundradar.cxx
src/Cockpit/NavDisplay.cxx
src/Cockpit/wxradar.cxx
src/Environment/environment_ctrl.cxx
src/Environment/ephemeris.cxx
src/Environment/magvarmanager.cxx
src/Environment/precipitation_mgr.cxx
src/Environment/realwx_ctrl.cxx
src/Environment/realwx_ctrl.cxx
src/Environment/realwx_ctrl.cxx
src/Environment/ridge_lift.cxx
src/Environment/terrainsampler.cxx
src/FDM/ExternalNet/ExternalNet.cxx
src/FDM/ExternalPipe/ExternalPipe.cxx
src/FDM/fdm_shell.cxx
src/FDM/flight.cxx
src/FDM/JSBSim/JSBSim.cxx
src/FDM/LaRCsim/LaRCsim.cxx
src/FDM/NullFDM.cxx
src/FDM/SP/ACMS.cxx
src/FDM/SP/ADA.cxx
src/FDM/SP/AISim.cpp
src/FDM/SP/Balloon.cxx
src/FDM/SP/MagicCarpet.cxx
src/FDM/UFO.cxx
src/FDM/YASim/YASim.cxx
src/GUI/new_gui.cxx
src/Input/FGEventInput.cxx
src/Input/FGHIDEventInput.cxx
src/Input/FGJoystickInput.cxx
src/Input/FGKeyboardInput.cxx
src/Input/FGLinuxEventInput.cxx
src/Input/FGMacOSXEventInput.cxx
src/Input/FGMouseInput.cxx
src/Instrumentation/adf.cxx
src/Instrumentation/airspeed_indicator.cxx
src/Instrumentation/altimeter.cxx
src/Instrumentation/attitude_indicator.cxx
src/Instrumentation/clock.cxx
src/Instrumentation/commradio.cxx
src/Instrumentation/dclgps.cxx
src/Instrumentation/dme.cxx
src/Instrumentation/gps.cxx
src/Instrumentation/gsdi.cxx
src/Instrumentation/heading_indicator.cxx
src/Instrumentation/heading_indicator_dg.cxx
src/Instrumentation/heading_indicator_fg.cxx
src/Instrumentation/HUD/HUD.cxx
src/Instrumentation/inst_vertical_speed_indicator.cxx
src/Instrumentation/KLN89/kln89.cxx
src/Instrumentation/kr_87.cxx
src/Instrumentation/mag_compass.cxx
src/Instrumentation/marker_beacon.cxx
src/Instrumentation/mk_viii.cxx
src/Instrumentation/mrg.cxx
src/Instrumentation/navradio.cxx
src/Instrumentation/newnavradio.cxx
src/Instrumentation/rad_alt.cxx
src/Instrumentation/slip_skid_ball.cxx
src/Instrumentation/tacan.cxx
src/Instrumentation/tcas.cxx
src/Instrumentation/transponder.cxx
src/Instrumentation/turn_indicator.cxx
src/Instrumentation/vertical_speed_indicator.cxx
src/Main/fg_io.cxx
src/Main/fg_props.cxx
src/Main/logger.cxx
src/Model/acmodel.cxx
src/Model/modelmgr.cxx
src/MultiPlayer/multiplaymgr.cxx
src/Network/DNSClient.cxx
src/Network/fgcom.cxx
src/Network/HTTPClient.cxx
src/Network/http/httpd.cxx
src/Scenery/scenery.cxx
src/Scripting/NasalSys.cxx
src/Sound/soundmanager.cxx
src/Sound/soundmanager.cxx
src/Sound/voice.cxx
src/Systems/electrical.cxx
src/Systems/pitot.cxx
src/Systems/static.cxx
src/Systems/vacuum.cxx
src/Time/light.cxx
src/Time/TimeManager.cxx
src/Traffic/TrafficMgr.cxx
src/Viewer/view.cxx
src/Viewer/viewmgr.cxx
utils/fgpanel/FGPanel.cxx
utils/fgpanel/FGPanelProtocol.cxx
utils/fgpanel/panel_io.cxx
}}


== Refactoring ==
    def __init__(self):
        """Auto-generate the C++ code."""


To check that all subsystems on a branch have been updated or refactored:
        # First find all subsystems.
        sub = FindSubsystems(output=False)


{{collapsible script
        # The test name and test code.
| type  = Python script
        name = []
| title  = Python script verifying if all subsystems have been updated.
        code = []
| lang  = python
| script =  
#! /usr/bin/env python3


# Python module imports.
        # Loop over all derived class declarations.
from subprocess import PIPE, Popen
        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


# Other module imports.
            # Add the test suite text.
from find_subsystems import FindSubsystems
            name.append("test%s" % (subsystem.name))
            code.append("{ create(\"%s\"); }" % (subsystem.staticSubsystemClassId))


            # Formatting.
            max_width = max(len(name[-1]), max_width)


# Source code repository paths.
        # Test setup printout.
SIMGEAR_PATH = "/flightgear/src/flightgear-simgear"
        print("\n")
FLIGHTGEAR_PATH = "/flightgear/src/flightgear-flightgear"
        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])


class ToUpdate:
         # Test implementation printout.
    """Class for finding all files yet to be updated."""
         print("\n")
 
         format_str = "void NonInstancedSubsystemTests::%%-%is() %%-s" % max_width
    def __init__(self):
         for i in range(len(name)):
        """Find all files to be updated."""
             print(format_str % (name[i], code[i]))
 
         # First find all subsystems.
         subsystems = FindSubsystems()
 
        # Generate a list of files to skip.
         cmd = "cd %s;" % SIMGEAR_PATH
        cmd += "git diff --name-only ..next;"
        cmd += "cd %s;" % FLIGHTGEAR_PATH
        cmd += "git diff --name-only ..next"
        pipe = Popen(cmd, shell=True, stdout=PIPE)
        blacklist = []
         for line in pipe.stdout.readlines():
            file_name = line.decode()
            file_name = file_name.strip()
            blacklist.append(file_name)
 
        # Loop over all derived classes.
        print("\nYet to be updated:")
        for storage_list in subsystems.subsystems + subsystems.groups:
             for subsystem in storage_list:
                if subsystem.file_name not in blacklist:
                    print("    %s: %s" % (subsystem.file_name, subsystem))




Line 2,084: Line 2,624:
# Instantiate the class if run as a script.
# Instantiate the class if run as a script.
if __name__ == "__main__":
if __name__ == "__main__":
     ToUpdate()
     TestSuite()
}}
}}

Revision as of 13:44, 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: