FlightGear next
FGRelAxisEvent Class Reference

#include <FGEventInput.hxx>

Inherits FGAxisEvent.

Public Member Functions

 FGRelAxisEvent (FGInputDevice *device, SGPropertyNode_ptr eventNode)
 
- Public Member Functions inherited from FGAxisEvent
 FGAxisEvent (FGInputDevice *device, SGPropertyNode_ptr eventNode)
 
 ~FGAxisEvent ()
 
void SetMaxRange (double value)
 
void SetMinRange (double value)
 
void SetRange (double min, double max)
 
- Public Member Functions inherited from FGInputEvent
 FGInputEvent (FGInputDevice *device, SGPropertyNode_ptr eventNode)
 
virtual ~FGInputEvent ()
 
std::string GetName () const
 
std::string GetDescription () const
 
virtual void update (double dt)
 

Protected Member Functions

void fire (SGAbstractBinding *binding, FGEventData &eventData) override
 
- Protected Member Functions inherited from FGAxisEvent
virtual void fire (FGEventData &eventData)
 

Additional Inherited Members

- Static Public Member Functions inherited from FGInputEvent
static FGInputEventNewObject (FGInputDevice *device, SGPropertyNode_ptr node)
 
- Protected Attributes inherited from FGAxisEvent
double tolerance
 
double minRange
 
double maxRange
 
double center
 
double deadband
 
double lowThreshold
 
double highThreshold
 
double lastValue
 
std::unique_ptr< SGInterpTable > interpolater
 
bool mirrorInterpolater = false
 
- Protected Attributes inherited from FGInputEvent
std::string desc
 
std::string name
 
binding_list_t bindings [KEYMOD_MAX]
 
setting_list_t settings
 
FGInputDevicedevice
 
double lastDt
 
double intervalSec
 
double lastSettingValue
 

Detailed Description

Definition at line 188 of file FGEventInput.hxx.

Constructor & Destructor Documentation

◆ FGRelAxisEvent()

FGRelAxisEvent::FGRelAxisEvent ( FGInputDevice * device,
SGPropertyNode_ptr eventNode )

Definition at line 203 of file FGEventInput.cxx.

Member Function Documentation

◆ fire()

void FGRelAxisEvent::fire ( SGAbstractBinding * binding,
FGEventData & eventData )
overrideprotectedvirtual

Reimplemented from FGInputEvent.

Definition at line 210 of file FGEventInput.cxx.


The documentation for this class was generated from the following files: