Avionics
Dropship Simulator
Logo Class Reference

CUSTOM## Logo module

More...

#include <Module.h>

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

Public Member Functions

 Logo (Bus *prmBus, Logger *prmLogger, float prmLatitude, float prmLongitude, float prmAltitudeFeet, float prmZenithDegrees)
 
void FrameMove (float fElapsedTime) override
 
 ~Logo ()
 
- Public Member Functions inherited from Module
 Module (Bus *prmBus)
 
virtual ~Module ()
 

Private Attributes

Loggerlogger
 
Busbus
 
float latitude = 0.0f
 
float longitude = 0.0f
 
float altitudeFeet = 0.0f
 
float zenithDegrees = 0.0f
 
float timeSinceLast = 60.0f
 
float * sunrise = nullptr
 
float * sunset = nullptr
 
float * status = nullptr
 
time_t t = 0
 
struct tm * lt = nullptr
 
TIME_ZONE_INFORMATION tz
 
Library::Solar solar
 
CTime cTime
 

Additional Inherited Members

- Protected Attributes inherited from Module
Busbus
 

Detailed Description

CUSTOM## Logo module

Definition at line 390 of file Module.h.

Constructor & Destructor Documentation

◆ Logo()

Logo::Logo ( Bus prmBus,
Logger prmLogger,
float  prmLatitude,
float  prmLongitude,
float  prmAltitudeFeet,
float  prmZenithDegrees 
)

turn it off to start

Definition at line 4 of file Logo.cpp.

Here is the call graph for this function:

◆ ~Logo()

Logo::~Logo ( )

make sure we turn off!

Definition at line 55 of file Logo.cpp.

Member Function Documentation

◆ FrameMove()

void Logo::FrameMove ( float  fElapsedTime)
overridevirtual

evaluate sunrise and sunset times

send messages to the logo light accordingly

Implements Module.

Definition at line 24 of file Logo.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ altitudeFeet

float Logo::altitudeFeet = 0.0f
private

Definition at line 395 of file Module.h.

◆ bus

Bus* Logo::bus
private

Definition at line 394 of file Module.h.

◆ cTime

CTime Logo::cTime
private

Definition at line 406 of file Module.h.

◆ latitude

float Logo::latitude = 0.0f
private

Definition at line 395 of file Module.h.

◆ logger

Logger* Logo::logger
private

Definition at line 393 of file Module.h.

◆ longitude

float Logo::longitude = 0.0f
private

Definition at line 395 of file Module.h.

◆ lt

struct tm* Logo::lt = nullptr
private

Definition at line 403 of file Module.h.

◆ solar

Library::Solar Logo::solar
private

Definition at line 405 of file Module.h.

◆ status

float* Logo::status = nullptr
private

Definition at line 400 of file Module.h.

◆ sunrise

float* Logo::sunrise = nullptr
private

Definition at line 398 of file Module.h.

◆ sunset

float* Logo::sunset = nullptr
private

Definition at line 399 of file Module.h.

◆ t

time_t Logo::t = 0
private

Definition at line 402 of file Module.h.

◆ timeSinceLast

float Logo::timeSinceLast = 60.0f
private

Definition at line 396 of file Module.h.

◆ tz

TIME_ZONE_INFORMATION Logo::tz
private

Definition at line 404 of file Module.h.

◆ zenithDegrees

float Logo::zenithDegrees = 0.0f
private

Definition at line 395 of file Module.h.


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