Rise
The Vieneo Province
Loading...
Searching...
No Matches
GpwsWindshear::Detector Class Reference

#include <GpwsWindshear.h>

Collaboration diagram for GpwsWindshear::Detector:
[legend]

Classes

struct  Point

Public Member Functions

void Reset ()
float HeadwindRateKnotsPerSecond () const
float UpdraftMs () const
Alert Update (const Sample &sample, float elapsed, bool enabled)

Static Public Attributes

static constexpr double WindowSeconds = 1.
static constexpr double StaleSeconds = 2.

Private Attributes

std::deque< Point > history
Sample previous {}
double age = 0
Alert alert = Alert::None
float headwindRate = 0
float updraft = 0

Detailed Description

Definition at line 57 of file GpwsWindshear.h.

Member Function Documentation

◆ HeadwindRateKnotsPerSecond()

float GpwsWindshear::Detector::HeadwindRateKnotsPerSecond ( ) const
inline

Definition at line 70 of file GpwsWindshear.h.

◆ Reset()

void GpwsWindshear::Detector::Reset ( )
inline

Definition at line 69 of file GpwsWindshear.h.

Here is the caller graph for this function:

◆ Update()

Alert GpwsWindshear::Detector::Update ( const Sample & sample,
float elapsed,
bool enabled )
inline

Definition at line 72 of file GpwsWindshear.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdraftMs()

float GpwsWindshear::Detector::UpdraftMs ( ) const
inline

Definition at line 71 of file GpwsWindshear.h.

Member Data Documentation

◆ age

double GpwsWindshear::Detector::age = 0
private

Definition at line 62 of file GpwsWindshear.h.

◆ alert

Alert GpwsWindshear::Detector::alert = Alert::None
private

Definition at line 63 of file GpwsWindshear.h.

◆ headwindRate

float GpwsWindshear::Detector::headwindRate = 0
private

Definition at line 64 of file GpwsWindshear.h.

◆ history

std::deque<Point> GpwsWindshear::Detector::history
private

Definition at line 60 of file GpwsWindshear.h.

◆ previous

Sample GpwsWindshear::Detector::previous {}
private

Definition at line 61 of file GpwsWindshear.h.

◆ StaleSeconds

double GpwsWindshear::Detector::StaleSeconds = 2.
static

Definition at line 68 of file GpwsWindshear.h.

◆ updraft

float GpwsWindshear::Detector::updraft = 0
private

Definition at line 64 of file GpwsWindshear.h.

◆ WindowSeconds

double GpwsWindshear::Detector::WindowSeconds = 1.
staticconstexpr

Definition at line 68 of file GpwsWindshear.h.


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