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/math/sg_types.hxx>
15 #include <simgear/props/props.hxx>
16 #include <simgear/structure/subsystem_mgr.hxx>
20 * Model a vacuum-pump system.
22 * Multiple pumps (i.e. for a multiengine aircraft) can be specified.
29 * /environment/pressure-inhg
30 * /systems/"name"/serviceable
34 * /systems/"name"/suction-inhg
36 class VacuumSystem : public SGSubsystem
41 VacuumSystem( SGPropertyNode *node );
42 VacuumSystem( int i );
43 virtual ~VacuumSystem ();
47 virtual void unbind ();
48 virtual void update (double dt);
56 SGPropertyNode_ptr _serviceable_node;
57 vector<SGPropertyNode_ptr> _rpm_nodes;
58 SGPropertyNode_ptr _pressure_node;
59 SGPropertyNode_ptr _suction_node;
63 #endif // __SYSTEMS_VACUUM_HXX