Rise
The Vieneo Province
Loading...
Searching...
No Matches
IndicatedAirSpeed2 Class Reference

#include <Instrument.h>

Inheritance diagram for IndicatedAirSpeed2:
[legend]
Collaboration diagram for IndicatedAirSpeed2:
[legend]

Public Member Functions

 IndicatedAirSpeed2 (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts)
void Render () override
void FrameMove (float fElapsed) override
Public Member Functions inherited from Instrument
 Instrument (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts)
void DrawText (const WCHAR *str, int relativeX, int relativeY, float prmZ, int flags, RiseMath::Color color, int font=-1, std::string elementName="", int width=0, int height=0) const
virtual bool HandleKeyPress (short key, bool shift)
virtual bool UpdateKeyRepeat (const unsigned char *keys, bool shift, float elapsed)
virtual void OnPageChanged ()

Private Attributes

Sprite * tape = nullptr
Sprite * overspeed = nullptr
Sprite * stall = nullptr
Sprite * trend = nullptr
Sprite * bug = nullptr
Sprite * cueVr = nullptr
Sprite * cueVref = nullptr
bool airspeedAlive = true
bool v1 = true
bool v2 = true
float oldIndicatedAirspeedKms = 0.0f
float smoothDelta = 0.0f
WCHAR strVr [8]

Additional Inherited Members

Public Attributes inherited from Instrument
std::string profileName = "Instrument"
Protected Attributes inherited from Instrument
int x = 0
int y = 0
float xScale = 1.0f
float yScale = 1.0f
DeviceObject * pDevice = nullptr
Bus * bus = nullptr
Logger * logger = nullptr
UINT defaultFont = 0
bool cacheFixedText = false
int uiRow = 0
bool showMenu = false
int uiMenuColumn = -1

Detailed Description

Definition at line 612 of file Instrument.h.

Constructor & Destructor Documentation

◆ IndicatedAirSpeed2()

IndicatedAirSpeed2::IndicatedAirSpeed2 ( int prmX,
int prmY,
float prmXScale,
float prmYScale,
Bus * prmBus,
Logger * prmLogger,
DeviceObject * prmDevice,
std::vector< Font * > prmFonts )

Definition at line 4 of file IndicatedAirSpeed2.cpp.

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

Member Function Documentation

◆ FrameMove()

void IndicatedAirSpeed2::FrameMove ( float fElapsed)
overridevirtual

Reimplemented from Instrument.

Definition at line 38 of file IndicatedAirSpeed2.cpp.

Here is the call graph for this function:

◆ Render()

void IndicatedAirSpeed2::Render ( )
overridevirtual

Implements Instrument.

Definition at line 19 of file IndicatedAirSpeed2.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ airspeedAlive

bool IndicatedAirSpeed2::airspeedAlive = true
private

Definition at line 621 of file Instrument.h.

◆ bug

Sprite* IndicatedAirSpeed2::bug = nullptr
private

Definition at line 618 of file Instrument.h.

◆ cueVr

Sprite* IndicatedAirSpeed2::cueVr = nullptr
private

Definition at line 619 of file Instrument.h.

◆ cueVref

Sprite* IndicatedAirSpeed2::cueVref = nullptr
private

Definition at line 620 of file Instrument.h.

◆ oldIndicatedAirspeedKms

float IndicatedAirSpeed2::oldIndicatedAirspeedKms = 0.0f
private

Definition at line 624 of file Instrument.h.

◆ overspeed

Sprite* IndicatedAirSpeed2::overspeed = nullptr
private

Definition at line 615 of file Instrument.h.

◆ smoothDelta

float IndicatedAirSpeed2::smoothDelta = 0.0f
private

Definition at line 625 of file Instrument.h.

◆ stall

Sprite* IndicatedAirSpeed2::stall = nullptr
private

Definition at line 616 of file Instrument.h.

◆ strVr

WCHAR IndicatedAirSpeed2::strVr[8]
private

Definition at line 626 of file Instrument.h.

◆ tape

Sprite* IndicatedAirSpeed2::tape = nullptr
private

Definition at line 614 of file Instrument.h.

◆ trend

Sprite* IndicatedAirSpeed2::trend = nullptr
private

Definition at line 617 of file Instrument.h.

◆ v1

bool IndicatedAirSpeed2::v1 = true
private

Definition at line 622 of file Instrument.h.

◆ v2

bool IndicatedAirSpeed2::v2 = true
private

Definition at line 623 of file Instrument.h.


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