1 // static.hxx - the static air system.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain and comes with no warranty.
7 #ifndef __SYSTEMS_STATIC_HXX
8 #define __SYSTEMS_STATIC_HXX 1
11 # error This library requires C++
14 #include <simgear/props/props.hxx>
15 #include <simgear/structure/subsystem_mgr.hxx>
19 * Model a static air system.
23 * /environment/pressure-inhg
24 * /systems/static[0]/serviceable
28 * /systems/static[0]/pressure-inhg
30 * TODO: support multiple static ports and specific locations
31 * TODO: support alternate air with errors
33 class StaticSystem : public SGSubsystem
39 virtual ~StaticSystem ();
43 virtual void unbind ();
44 virtual void update (double dt);
48 SGPropertyNode_ptr _serviceable_node;
49 SGPropertyNode_ptr _pressure_in_node;
50 SGPropertyNode_ptr _pressure_out_node;
54 #endif // __SYSTEMS_STATIC_HXX