1 // vacuum.hxx - a vacuum pump connected to the aircraft engine.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain and comes with no warranty.
7 #ifndef __SYSTEMS_VACUUM_HXX
8 #define __SYSTEMS_VACUUM_HXX 1
11 # error This library requires C++
14 #include <simgear/props/props.hxx>
16 #include <Main/fgfs.hxx>
20 * Model a vacuum-pump system.
22 * This first, simple draft is hard-wired to engine #1.
26 * /engines/engine[0]/rpm
27 * /environment/pressure-inhg
28 * /systems/vacuum[0]/serviceable
32 * /systems/vacuum[n]/suction-inhg
34 class VacuumSystem : public FGSubsystem
39 VacuumSystem( int i );
40 virtual ~VacuumSystem ();
44 virtual void unbind ();
45 virtual void update (double dt);
50 SGPropertyNode_ptr _serviceable_node;
51 SGPropertyNode_ptr _rpm_node;
52 SGPropertyNode_ptr _pressure_node;
53 SGPropertyNode_ptr _suction_node;
57 #endif // __SYSTEMS_VACUUM_HXX