Avionics
Dropship Simulator
Page Class Reference

#include <Page.h>

Collaboration diagram for Page:
[legend]

Public Member Functions

void Initialize (Bus *prmBus, Logger *prmLogger, DEVICE_OBJECT *prmpDevice, int screenWidth, int screenHeight, std::vector< Font > *fonts, bool flip)
 
void Render (float fElapsed)
 
void Destroy ()
 

Public Attributes

int id
 
std::string name
 
std::vector< Instrument * > instruments
 
std::vector< Elementelements
 

Private Attributes

Busbus
 
Loggerlogger
 
DEVICE_OBJECTpDevice
 
bool flip
 

Detailed Description

Definition at line 6 of file Page.h.

Member Function Documentation

◆ Destroy()

void Page::Destroy ( )

Definition at line 56 of file Page.cpp.

◆ Initialize()

void Page::Initialize ( Bus prmBus,
Logger prmLogger,
DEVICE_OBJECT prmpDevice,
int  screenWidth,
int  screenHeight,
std::vector< Font > *  fonts,
bool  flip 
)

Definition at line 3 of file Page.cpp.

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

◆ Render()

void Page::Render ( float  fElapsed)

Definition at line 42 of file Page.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bus

Bus* Page::bus
private

Definition at line 9 of file Page.h.

◆ elements

std::vector<Element> Page::elements

Definition at line 18 of file Page.h.

◆ flip

bool Page::flip
private

Definition at line 12 of file Page.h.

◆ id

int Page::id

Definition at line 15 of file Page.h.

◆ instruments

std::vector<Instrument*> Page::instruments

Definition at line 17 of file Page.h.

◆ logger

Logger* Page::logger
private

Definition at line 10 of file Page.h.

◆ name

std::string Page::name

Definition at line 16 of file Page.h.

◆ pDevice

DEVICE_OBJECT* Page::pDevice
private

Definition at line 11 of file Page.h.


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