FlightGear
next
slip_skid_ball.hxx
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: CC0-1.0
3
*
4
* slip_skid_ball.hxx - an slip-skid ball.
5
* Written by David Megginson, started 2003.
6
*
7
* This file is in the Public Domain and comes with no warranty.
8
*/
9
10
#pragma once
11
12
#ifndef __cplusplus
13
# error This library requires C++
14
#endif
15
16
#include <simgear/props/props.hxx>
17
#include <simgear/structure/subsystem_mgr.hxx>
18
19
33
class
SlipSkidBall
:
public
SGSubsystem
34
{
35
public
:
36
SlipSkidBall
( SGPropertyNode *node );
37
virtual
~SlipSkidBall
();
38
39
// Subsystem API.
40
void
init
()
override
;
41
void
reinit
()
override
;
42
void
update
(
double
dt)
override
;
43
44
// Subsystem identification.
45
static
const
char
*
staticSubsystemClassId
() {
return
"slip-skid-ball"
; }
46
47
private
:
48
std::string _name;
49
int
_num;
50
51
SGPropertyNode_ptr _serviceable_node;
52
SGPropertyNode_ptr _y_accel_node;
53
SGPropertyNode_ptr _z_accel_node;
54
SGPropertyNode_ptr _out_node;
55
SGPropertyNode_ptr _override_node;
56
};
SlipSkidBall::update
void update(double dt) override
Definition
slip_skid_ball.cxx:50
SlipSkidBall::reinit
void reinit() override
Definition
slip_skid_ball.cxx:44
SlipSkidBall::init
void init() override
Definition
slip_skid_ball.cxx:28
SlipSkidBall::SlipSkidBall
SlipSkidBall(SGPropertyNode *node)
Definition
slip_skid_ball.cxx:16
SlipSkidBall::~SlipSkidBall
virtual ~SlipSkidBall()
Definition
slip_skid_ball.cxx:23
SlipSkidBall::staticSubsystemClassId
static const char * staticSubsystemClassId()
Definition
slip_skid_ball.hxx:45
src
Instrumentation
slip_skid_ball.hxx
Generated on Tue Jun 3 2025 12:58:40 for FlightGear by
1.13.2