AceTime
1.8.0
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.
|
6 #ifndef ACE_TIME_LINK_MANAGER_H
7 #define ACE_TIME_LINK_MANAGER_H
9 #include "internal/LinkRegistrar.h"
52 const basic::LinkEntry* linkRegistry
58 const basic::LinkEntry* linkEntry =
89 const extended::LinkEntry* linkRegistry
95 const extended::LinkEntry* linkEntry =
const LE * getLinkEntryForId(uint32_t linkId) const
Return the LinkEntry using the linkId.
uint16_t linkRegistrySize() const override
Return the number of elements in the (thin) Link registry.
Data broker for accessing a LinkEntry.
uint32_t zoneIdForLinkId(uint32_t linkId) const override
Find the registry index for the given time link id.
uint16_t linkRegistrySize() const
Return the number of (thin) links.
Common interface to the BasicLinkManager and ExtendedLinkManager so that a single interface can be pa...
Concrete template instantiation of LinkRegistrarTemplate for extended::LinkEntry.
uint16_t linkRegistrySize() const override
Return the number of elements in the (thin) Link registry.
uint32_t zoneIdForLinkId(uint32_t linkId) const override
Find the registry index for the given time link id.
virtual uint32_t zoneIdForLinkId(uint32_t linkId) const =0
Find the registry index for the given time link id.
An implementation of the LinkManager which uses a registry of basic::ZoneInfo records.
Data broker for accessing a LinkEntry.
ExtendedLinkManager(uint16_t linkRegistrySize, const extended::LinkEntry *linkRegistry)
Constructor.
BasicLinkManager(uint16_t linkRegistrySize, const basic::LinkEntry *linkRegistry)
Constructor.
Concrete template instantiation of LinkRegistrarTemplate for basic::LinkEntry.
An implementation of the LinkManager which uses a registry of extended::ZoneInfo records.
virtual uint16_t linkRegistrySize() const =0
Return the number of elements in the (thin) Link registry.
static const uint32_t kInvalidZoneId
ZoneId which is not valid to indicates an error or not found.