Avionics
Dropship Simulator
Diagnostics Class Reference

Diagnostics. More...

#include <Instrument.h>

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

Public Member Functions

 Diagnostics (int prmX, int prmY, float prmXScale, float prmYScale)
 
void Render (float fElapsed) override
 
- Public Member Functions inherited from Instrument
 Instrument (int prmX, int prmY, float prmXScale, float prmYScale)
 
virtual void Initialize (Bus *prmBus, Logger *prmLogger, DEVICE_OBJECT *prmDevice, int prmScreenWidth, int prmScreenHeight, std::vector< Font > *prmFonts, bool prmFlip)
 
void DrawText (const WCHAR *str, int x, int y, int flags, D3DXCOLOR color, int font, std::string elementName)
 
virtual ~Instrument ()
 

Additional Inherited Members

- Protected Attributes inherited from Instrument
Busbus = nullptr
 
Loggerlogger = nullptr
 
int screenWidth = 0
 
int screenHeight = 0
 
DEVICE_OBJECTpDevice = nullptr
 
std::vector< Font > * fonts = nullptr
 
bool flip = false
 
int x
 
int y
 
int width = 0
 
int height = 0
 
float xScale
 
float yScale
 
int standardWidth = 0
 
int standardHeight = 0
 

Detailed Description

Diagnostics.

Definition at line 196 of file Instrument.h.

Constructor & Destructor Documentation

◆ Diagnostics()

Diagnostics::Diagnostics ( int  prmX,
int  prmY,
float  prmXScale,
float  prmYScale 
)

Definition at line 4 of file Diagnostics.cpp.

Member Function Documentation

◆ Render()

void Diagnostics::Render ( float  fElapsed)
overridevirtual

until we have the flight control synoptic page

just until we have visual graph indication

until we have the EICAS pitch trim instrument

AOA is to be a bug on the PFD? Display will always need to be here or on a synoptic page

desired yaw is based on bank angle? 0.15737 * TAS (knots) gives us bank angle for 3 deg/s turn http://aviation.stackexchange.com/questions/2871/how-to-calculate-angular-velocity-and-radius-of-a-turn

Implements Instrument.

Definition at line 8 of file Diagnostics.cpp.

Here is the call graph for this function:

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