AceTime  0.5.1
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.
Public Member Functions | Static Public Attributes | List of all members
ace_time::ZoneProcessorCache Class Referenceabstract

Common interface to BasicZoneProcessorCache and ExtendedZoneProcessorCache. More...

#include <ZoneProcessorCache.h>

Inheritance diagram for ace_time::ZoneProcessorCache:
Inheritance graph
[legend]

Public Member Functions

virtual uint8_t getType ()=0
 Return the type of this cache. More...
 
virtual ZoneProcessorgetZoneProcessor (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
 

Detailed Description

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.

Member Function Documentation

◆ getType()

virtual uint8_t ace_time::ZoneProcessorCache::getType ( )
pure virtual

◆ getZoneProcessor()

virtual ZoneProcessor* ace_time::ZoneProcessorCache::getZoneProcessor ( const void *  zoneInfo)
pure virtual

Member Data Documentation

◆ kTypeExtendedManaged

const uint8_t ace_time::ZoneProcessorCache::kTypeExtendedManaged
static
Initial value:

Definition at line 27 of file ZoneProcessorCache.h.


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