AceTime  3.0.0
Date and time classes for Arduino that support timezones from the TZ Database.
List of all members
ace_time::BasicZoneProcessorCache< SIZE > Class Template Reference

An implementation of a BasicZoneProcessorCacheBase where the cache of size SIZE is embedded into the class itself. More...

#include <ZoneProcessorCache.h>

Inheritance diagram for ace_time::BasicZoneProcessorCache< SIZE >:
Inheritance graph
[legend]
Collaboration diagram for ace_time::BasicZoneProcessorCache< SIZE >:
Collaboration graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from ace_time::ZoneProcessorCacheBaseTemplate< ZP >
 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...
 

Detailed Description

template<uint8_t SIZE>
class ace_time::BasicZoneProcessorCache< SIZE >

An implementation of a BasicZoneProcessorCacheBase 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 BasicZoneManager.

Template Parameters
SIZEnumber 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 122 of file ZoneProcessorCache.h.


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