1
0
Fork 0
flightgear/src/Main
James Turner 0cda3cbfb2 Multiple-instance support.
Write PID file to FG_HOME, use this to detect multiple launches.
When this situation is detected, set a marker property and place various
objects into read-only mode, such as the NavCache and TerraSync.

PID file is created using open+unlink semantics on POSIX, and 
DELETE_ON_CLOSE on Windows, so it will be removed when fgfs exits,
even if killed or crashes.
2013-11-15 21:04:15 +00:00
..
.gitignore Ignore a generated file 2011-01-28 20:15:43 +01:00
bootstrap.cxx Message box support. 2013-11-14 22:02:29 +00:00
CMakeLists.txt Icons update 2013-11-13 22:49:07 +01:00
fg_commands.cxx Update/refactor for simgear HTTP changes. 2013-10-27 19:39:22 +01:00
fg_commands.hxx Tidy fg_commands header. 2010-09-30 23:10:00 +01:00
fg_init.cxx Multiple-instance support. 2013-11-15 21:04:15 +00:00
fg_init.hxx Multiple-instance support. 2013-11-15 21:04:15 +00:00
fg_io.cxx Make build information readonly and clean up debug output. 2013-10-20 12:59:44 +02:00
fg_io.hxx fg_io: Fixed mem leaks. 2012-11-01 14:42:26 +01:00
fg_os.hxx Reset: explicit close-window function. 2013-11-12 22:57:13 +00:00
fg_os_common.cxx Move viewer-related sources to separate folder. 2012-04-25 23:28:00 +02:00
fg_props.cxx Adapt to revised logging API. 2013-02-07 12:02:52 +00:00
fg_props.hxx Remove static property dependencies 2012-11-18 16:35:54 +01:00
FGInterpolator.cxx Replace SGInterpolator with new advanced interpolation system. 2013-03-16 16:45:03 +01:00
FGInterpolator.hxx Replace SGInterpolator with new advanced interpolation system. 2013-03-16 16:45:03 +01:00
flightgear.ico Force 32 bits depth on .ico - only for Windows 2013-11-14 21:24:56 +01:00
flightgear.rc Cmake: set an icon to the Windows executable 2011-01-28 19:30:27 +01:00
globals.cxx Reset: changes for SGSubsystem ownership. 2013-11-12 23:36:18 +00:00
globals.hxx Support for multiple data dirs. 2013-09-17 07:47:58 +01:00
locale.cxx More tweaks for Linux. 2013-11-14 23:32:02 +00:00
locale.hxx More tweaks for Linux. 2013-11-14 23:32:02 +00:00
logger.cxx Performance optimization: empty() instead of size()>0 2013-08-19 09:01:59 +01:00
logger.hxx prepare for subsystem_mgr.hxx no longer including props.hxx 2011-02-27 12:53:47 +01:00
main.cxx Multiple-instance support. 2013-11-15 21:04:15 +00:00
main.hxx Refactor FG_HOME init, so we can log sooner. 2013-02-08 12:57:17 +00:00
metar_main.cxx Update/refactor for simgear HTTP changes. 2013-10-27 19:39:22 +01:00
options.cxx Multiple-instance support. 2013-11-15 21:04:15 +00:00
options.hxx Cleanup exit handling. 2013-10-15 22:16:50 +01:00
positioninit.cxx Performance optimization: empty() instead of size()>0 2013-08-19 09:01:59 +01:00
positioninit.hxx Restructure positional finalisation for sim-reset. 2012-12-15 15:25:45 +00:00
README Moved FGAircraftModel subsystem out into its own directory, and 2002-04-05 03:19:34 +00:00
runfgfs.bat.in source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00
runfgfs.in Fix rpmlint/Linux packager complaints 2012-05-05 01:42:41 +02:00
subsystemFactory.cxx Performance optimization: empty() instead of size()>0 2013-08-19 09:01:59 +01:00
subsystemFactory.hxx Initial work on dynamic subsystem creation. 2012-09-30 16:34:51 +01:00
util.cxx Expose HTTP module to Nasal. 2013-10-27 19:39:22 +01:00
util.hxx Expose HTTP module to Nasal. 2013-10-27 19:39:22 +01:00

Last updated $Date$

This directory contains the main routine for FlightGear, together with
various utility classes and functions that do not fit in anywhere
else, and subsystems that have not yet graduated to having their own
directories (because the maintainers are lazy, not because the
subsystems are not important).

fg_commands.cxx
fg_commands.hxx
  This module defines a global function to register FlightGear's
  built-in commands.

fg_init.cxx
fg_init.hxx
  This module defines global functions to initialize for the various
  subsystems.  Code is gradually being moved out of here and into the
  subsystems' own init() methods, so this module will eventually
  disappear.

fg_io.cxx
fg_io.hxx
  This module defines high-level global I/O functions for FlightGear.
  I don't know how widely these are used, yet.

fg_props.cxx
fg_props.hxx
  This module provides a FlightGear layer over the SimGear property
  manager.  This module performs two roles: it provides global
  convenience functions for accessing the FlightGear property tree,
  and it ties some properties to its own static functions.  The second
  role has mostly disappeared, since subsystems now tie their own
  properties in their bind() methods, and eventually this module will
  contain only the convenience functions.

fgfs.cxx
fgfs.hxx
  This module defines FGSubsystem, the abstract base class (or
  interface) for subsystems in FlightGear.  Most of the important
  subsystems already extend this class, and eventually, all subsystems
  will.

globals.cxx
globals.hxx
  This module defines FGGlobals, a class that holds pointers to
  subsystems and other variables used by a FlightGear session.  Many
  global variables have migrated into here, and eventually, all will,
  so that the program can maintain state for more than one session at
  once.

logger.cxx
logger.hxx
  This module defines the FGLogger subsystem, which allows the user to
  log any property value to any number of CSV files, somewhat like an
  overenthusiastic flight data recorder.

main.cxx
  This file defines the main() function for FlightGear as well as the
  top-level loop.  Currently, there is a still lot of code in here
  that belongs in the individual subsystems' init() and update()
  methods; eventually, this will be a short, simple file defining the
  top-level flow logic of the program.

options.cxx
options.hxx
  This module defines global functions for parsing command-line
  options and transferring them to the property tree.

runfgfs.bat
runfgfs.bat.in
  This is a batch file for launching FlightGear under MSWindows.
  runfgfs.bat is autogenerated from runfgfs.bat.in, so any changes
  should be made to the latter file.

splash.cxx
splash.hxx
  This module defines global functions for displaying and updating the
  splash screen.

viewer.cxx
viewer.hxx
  This module defines the FGViewer subsystem, which calculates the
  viewpoint in world coordinates and provides transformation matrices
  for the scenery code.  FGViewer has methods that allow the program
  to rotate or move the current view direction.

viewmgr.cxx
viewmgr.hxx
  This module defines the FGViewMgr subsystem, which manages all of
  the different views available in FlightGear.