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>
16 #include <Main/fgfs.hxx>
20 * Model a static air system.
24 * /environment/pressure-inhg
25 * /systems/static[0]/serviceable
29 * /systems/static[0]/pressure-inhg
31 * TODO: support multiple static ports and specific locations
32 * TODO: support alternate air with errors
34 class StaticSystem : public FGSubsystem
40 virtual ~StaticSystem ();
44 virtual void unbind ();
45 virtual void update (double dt);
49 SGPropertyNode_ptr _serviceable_node;
50 SGPropertyNode_ptr _pressure_in_node;
51 SGPropertyNode_ptr _pressure_out_node;
55 #endif // __SYSTEMS_STATIC_HXX