AceTime
0.5.2
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
|
A cache of ZoneProcessors that provides a ZoneProcessor to the TimeZone upon request. More...
#include <ZoneProcessorCache.h>
Public Member Functions | |
uint8_t | getType () override |
Return the type of this cache. More... | |
ZoneProcessor * | getZoneProcessor (const void *zoneInfo) override |
Get the ZoneProcessor from the zoneInfo. More... | |
Additional Inherited Members | |
![]() | |
static const uint8_t | kTypeBasicManaged = ZoneProcessor::kTypeBasic + 2 |
static const uint8_t | kTypeExtendedManaged |
A cache of ZoneProcessors that provides a ZoneProcessor to the TimeZone upon request.
SIZE | number of zone processors, should be approximate the number zones concurrently used in the app. It is expected that this will be small. It can be 1 if the app never changes the TimeZone. It should be 2 if the user is able to select different timezones from a menu. |
ZS | type of ZoneProcessor (BasicZoneProcessor or ExtendedZoneProcessor) |
ZI | type of ZoneInfo (basic::ZoneInfo or extended::ZoneInfo) |
ZIB | type of ZoneInfoBroker (basic::ZoneInfoBroker or extended::ZoneInfoBroker) |
Definition at line 32 of file BasicZoneProcessor.h.
|
inlineoverridevirtual |
Return the type of this cache.
Implements ace_time::ZoneProcessorCache.
Definition at line 61 of file ZoneProcessorCache.h.
|
inlineoverridevirtual |
Get the ZoneProcessor from the zoneInfo.
Will never return nullptr.
Implements ace_time::ZoneProcessorCache.
Definition at line 64 of file ZoneProcessorCache.h.