]> git.mxchange.org Git - flightgear.git/blob - src/Instrumentation/slip_skid_ball.hxx
Fix unused private vars.
[flightgear.git] / src / Instrumentation / slip_skid_ball.hxx
1 // slip_skid_ball.hxx - an slip-skid ball.
2 // Written by David Megginson, started 2003.
3 //
4 // This file is in the Public Domain and comes with no warranty.
5
6
7 #ifndef __INSTRUMENTS_SLIP_SKID_BALL_HXX
8 #define __INSTRUMENTS_SLIP_SKID_BALL_HXX 1
9
10 #ifndef __cplusplus
11 # error This library requires C++
12 #endif
13
14 #include <simgear/props/props.hxx>
15 #include <simgear/structure/subsystem_mgr.hxx>
16
17
18 /**
19  * Model a slip-skid ball.
20  *
21  * Input properties:
22  *
23  * /instrumentation/"name"/serviceable
24  * /accelerations/pilot/y-accel-fps_sec
25  * /accelerations/pilot/z-accel-fps_sec
26  *
27  * Output properties:
28  *
29  * /instrumentation/"name"/indicated-slip-skid
30  */
31 class SlipSkidBall : public SGSubsystem
32 {
33
34 public:
35
36     SlipSkidBall ( SGPropertyNode *node );
37     virtual ~SlipSkidBall ();
38
39     virtual void init ();
40     virtual void reinit ();
41     virtual void update (double dt);
42
43 private:
44     std::string _name;
45     int _num;
46
47     SGPropertyNode_ptr _serviceable_node;
48     SGPropertyNode_ptr _y_accel_node;
49     SGPropertyNode_ptr _z_accel_node;
50     SGPropertyNode_ptr _out_node;
51     SGPropertyNode_ptr _override_node;
52    
53 };
54
55 #endif // __INSTRUMENTS_SLIP_SKID_BALL_HXX