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

#include <Instrument.h>

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

Classes

struct  PlotLabel

Public Member Functions

 Orbit (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
bool HandleKeyPress (short key, bool shift) override
bool UpdateKeyRepeat (const unsigned char *keys, bool shift, float elapsed) override
void OnPageChanged () 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

Private Member Functions

bool ApplyKey (short key)

Private Attributes

std::vector< RiseScreenVertex > lines
std::vector< Orbital::Row > rows
std::vector< PlotLabel > labels
std::vector< PlotLabel > readouts
double textClock = -1
int textRow = -1
bool textDor = false
std::uint64_t textRevision = ~std::uint64_t(0)
std::uint64_t plottedRevision = ~std::uint64_t(0)
Orbital::View plottedView = Orbital::View::Orbit
short repeatKey = -1
double repeatRemaining = 0
double repeatInterval = .05

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 454 of file Instrument.h.

Constructor & Destructor Documentation

◆ Orbit()

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

Definition at line 5 of file Orbit.cpp.

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

Member Function Documentation

◆ ApplyKey()

bool Orbit::ApplyKey ( short key)
private

Definition at line 70 of file Orbit.cpp.

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

◆ FrameMove()

void Orbit::FrameMove ( float fElapsed)
overridevirtual

Reimplemented from Instrument.

Definition at line 12 of file Orbit.cpp.

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

◆ HandleKeyPress()

bool Orbit::HandleKeyPress ( short key,
bool shift )
overridevirtual

Reimplemented from Instrument.

Definition at line 88 of file Orbit.cpp.

Here is the call graph for this function:

◆ OnPageChanged()

void Orbit::OnPageChanged ( )
inlineoverridevirtual

Reimplemented from Instrument.

Definition at line 477 of file Instrument.h.

◆ Render()

void Orbit::Render ( )
overridevirtual

Implements Instrument.

Definition at line 41 of file Orbit.cpp.

Here is the call graph for this function:

◆ UpdateKeyRepeat()

bool Orbit::UpdateKeyRepeat ( const unsigned char * keys,
bool shift,
float elapsed )
overridevirtual

Reimplemented from Instrument.

Definition at line 101 of file Orbit.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ labels

std::vector<PlotLabel> Orbit::labels
private

Definition at line 459 of file Instrument.h.

◆ lines

std::vector<RiseScreenVertex> Orbit::lines
private

Definition at line 456 of file Instrument.h.

◆ plottedRevision

std::uint64_t Orbit::plottedRevision = ~std::uint64_t(0)
private

Definition at line 465 of file Instrument.h.

◆ plottedView

Orbital::View Orbit::plottedView = Orbital::View::Orbit
private

Definition at line 466 of file Instrument.h.

◆ readouts

std::vector<PlotLabel> Orbit::readouts
private

Definition at line 460 of file Instrument.h.

◆ repeatInterval

double Orbit::repeatInterval = .05
private

Definition at line 468 of file Instrument.h.

◆ repeatKey

short Orbit::repeatKey = -1
private

Definition at line 467 of file Instrument.h.

◆ repeatRemaining

double Orbit::repeatRemaining = 0
private

Definition at line 468 of file Instrument.h.

◆ rows

std::vector<Orbital::Row> Orbit::rows
private

Definition at line 457 of file Instrument.h.

◆ textClock

double Orbit::textClock = -1
private

Definition at line 461 of file Instrument.h.

◆ textDor

bool Orbit::textDor = false
private

Definition at line 463 of file Instrument.h.

◆ textRevision

std::uint64_t Orbit::textRevision = ~std::uint64_t(0)
private

Definition at line 464 of file Instrument.h.

◆ textRow

int Orbit::textRow = -1
private

Definition at line 462 of file Instrument.h.


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