4 Logo::Logo(
Bus* prmBus,
Logger* prmLogger,
float prmLatitude,
float prmLongitude,
float prmAltitudeFeet,
float prmZenithDegrees) :
Module(prmBus)
17 GetTimeZoneInformation(&
tz);
32 float current =
static_cast<float>(
cTime.GetHour()) + static_cast<float>(
cTime.GetMinute()) / 60.0f;
49 else if ((current <= *sunrise || current >= *
sunset) && *
status == 0.0f)
Abstract base class for modules By definition, instruments don't do any of the work (they don't modif...
float calculateSunrise(int year, int month, int day, int localOffset, int daylightSavings) const
void FrameMove(float fElapsedTime) override
float * GetComponentSetStatePtr(std::string guidStr)
Logo(Bus *prmBus, Logger *prmLogger, float prmLatitude, float prmLongitude, float prmAltitudeFeet, float prmZenithDegrees)
float calculateSunset(int year, int month, int day, int localOffset, int daylightSavings) const
_SYSTEMTIME Time
this section is required flight data (FDR)