AceTime
3.0.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
An implementation of an CompleteZoneProcessorCacheBase where the cache of size SIZE is embedded into the class itself. More...
#include <ZoneProcessorCache.h>
Additional Inherited Members | |
![]() | |
ZoneProcessorCacheBaseTemplate (ZP *zoneProcessors, uint8_t size) | |
uint8_t | size () const |
Return the size of the cache. | |
ZP * | getZoneProcessorAtIndex (uint8_t i) |
Get the ZoneProcessor at index i. | |
ZP * | getZoneProcessor (uintptr_t zoneKey) |
Get ZoneProcessor from either a ZoneKey, basic::Info::ZoneInfo, an extended::Info::ZoneInfo, or complete::Info::ZoneInfo. More... | |
An implementation of an CompleteZoneProcessorCacheBase where the cache of size SIZE is embedded into the class itself.
This is expected to be created as a global object and passed into the CompleteZoneManager.
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. |
Definition at line 175 of file ZoneProcessorCache.h.