AceTime
0.5
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.
|
Common interface to BasicZoneProcessorCache and ExtendedZoneProcessorCache. More...
#include <ZoneProcessorCache.h>
Public Member Functions | |
virtual uint8_t | getType ()=0 |
Return the type of this cache. More... | |
virtual ZoneProcessor * | getZoneProcessor (const void *zoneInfo)=0 |
Get ZoneProcessor from either a basic::ZoneInfo or an extended::ZoneInfo. More... | |
Static Public Attributes | |
static const uint8_t | kTypeBasicManaged = ZoneProcessor::kTypeBasic + 2 |
static const uint8_t | kTypeExtendedManaged |
Common interface to BasicZoneProcessorCache and ExtendedZoneProcessorCache.
This allows TimeZone to hold only a single implementation of ZoneProcessorCache, without having to load the code for both implementations.
Definition at line 24 of file ZoneProcessorCache.h.
|
pure virtual |
Return the type of this cache.
Implemented in ace_time::ZoneProcessorCacheImpl< SIZE, TYPE, ZS, ZI, ZIB >, ace_time::ZoneProcessorCacheImpl< SIZE, ZoneProcessorCache::kTypeBasicManaged, BasicZoneProcessor, basic::ZoneInfo, basic::ZoneInfoBroker >, and ace_time::ZoneProcessorCacheImpl< SIZE, ZoneProcessorCache::kTypeExtendedManaged, ExtendedZoneProcessor, extended::ZoneInfo, extended::ZoneInfoBroker >.
|
pure virtual |
Get ZoneProcessor from either a basic::ZoneInfo or an extended::ZoneInfo.
Unfortunately, this is not type-safe, but that's the only way we can avoid compile-time dependencies to both implementation classes.
Implemented in ace_time::ZoneProcessorCacheImpl< SIZE, TYPE, ZS, ZI, ZIB >, ace_time::ZoneProcessorCacheImpl< SIZE, ZoneProcessorCache::kTypeBasicManaged, BasicZoneProcessor, basic::ZoneInfo, basic::ZoneInfoBroker >, and ace_time::ZoneProcessorCacheImpl< SIZE, ZoneProcessorCache::kTypeExtendedManaged, ExtendedZoneProcessor, extended::ZoneInfo, extended::ZoneInfoBroker >.
|
static |
Definition at line 27 of file ZoneProcessorCache.h.