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.
Public Member Functions | List of all members
ace_time::ExtendedLinkManager Class Reference

An implementation of the LinkManager which uses a registry of extended::ZoneInfo records. More...

#include <LinkManager.h>

Inheritance diagram for ace_time::ExtendedLinkManager:
Inheritance graph
[legend]
Collaboration diagram for ace_time::ExtendedLinkManager:
Collaboration graph
[legend]

Public Member Functions

 ExtendedLinkManager (uint16_t linkRegistrySize, const extended::LinkEntry *linkRegistry)
 Constructor. More...
 
uint32_t zoneIdForLinkId (uint32_t linkId) const override
 Find the registry index for the given time link id. More...
 
uint16_t linkRegistrySize () const override
 Return the number of elements in the (thin) Link registry.
 

Additional Inherited Members

- Static Public Attributes inherited from ace_time::LinkManager
static const uint32_t kInvalidZoneId = 0
 ZoneId which is not valid to indicates an error or not found. More...
 

Detailed Description

An implementation of the LinkManager which uses a registry of extended::ZoneInfo records.

Definition at line 80 of file LinkManager.h.

Constructor & Destructor Documentation

◆ ExtendedLinkManager()

ace_time::ExtendedLinkManager::ExtendedLinkManager ( uint16_t  linkRegistrySize,
const extended::LinkEntry *  linkRegistry 
)
inline

Constructor.

Parameters
linkRegistrySizenumber of LinkEntry entries in linkRegistry
linkRegistryan array of LinkEntry entries

Definition at line 87 of file LinkManager.h.

Member Function Documentation

◆ zoneIdForLinkId()

uint32_t ace_time::ExtendedLinkManager::zoneIdForLinkId ( uint32_t  linkId) const
inlineoverridevirtual

Find the registry index for the given time link id.

Returns kInvalidIndex if not found.

Implements ace_time::LinkManager.

Definition at line 94 of file LinkManager.h.


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