26 lines
571 B
C++
26 lines
571 B
C++
// system_mgr.cxx - manage aircraft systems.
|
|
// Written by David Megginson, started 2002.
|
|
//
|
|
// This file is in the Public Domain and comes with no warranty.
|
|
|
|
|
|
#include "system_mgr.hxx"
|
|
#include "electrical.hxx"
|
|
#include "pitot.hxx"
|
|
#include "static.hxx"
|
|
#include "vacuum.hxx"
|
|
|
|
|
|
FGSystemMgr::FGSystemMgr ()
|
|
{
|
|
set_subsystem("electrical", new FGElectricalSystem);
|
|
set_subsystem("pitot", new PitotSystem);
|
|
set_subsystem("static", new StaticSystem);
|
|
set_subsystem("vacuum", new VacuumSystem);
|
|
}
|
|
|
|
FGSystemMgr::~FGSystemMgr ()
|
|
{
|
|
}
|
|
|
|
// end of system_manager.cxx
|