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/"name"/serviceable
28 * /systems/"name"/pressure-inhg
30 * TODO: support specific locations
31 * TODO: support alternate air with errors
33 class StaticSystem : public SGSubsystem
38 StaticSystem ( SGPropertyNode *node );
39 StaticSystem ( int i );
40 virtual ~StaticSystem ();
43 virtual void reinit ();
45 virtual void unbind ();
46 virtual void update (double dt);
53 SGPropertyNode_ptr _serviceable_node;
54 SGPropertyNode_ptr _pressure_in_node;
55 SGPropertyNode_ptr _pressure_out_node;
59 #endif // __SYSTEMS_STATIC_HXX