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 | Static Public Attributes | List of all members
ace_time::LinkManager Class Referenceabstract

Common interface to the BasicLinkManager and ExtendedLinkManager so that a single interface can be passed around to various helper objects. More...

#include <LinkManager.h>

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

Public Member Functions

virtual uint32_t zoneIdForLinkId (uint32_t linkId) const =0
 Find the registry index for the given time link id. More...
 
virtual uint16_t linkRegistrySize () const =0
 Return the number of elements in the (thin) Link registry.
 

Static Public Attributes

static const uint32_t kInvalidZoneId = 0
 ZoneId which is not valid to indicates an error or not found. More...
 

Detailed Description

Common interface to the BasicLinkManager and ExtendedLinkManager so that a single interface can be passed around to various helper objects.

Definition at line 19 of file LinkManager.h.

Member Function Documentation

◆ zoneIdForLinkId()

virtual uint32_t ace_time::LinkManager::zoneIdForLinkId ( uint32_t  linkId) const
pure virtual

Find the registry index for the given time link id.

Returns kInvalidIndex if not found.

Implemented in ace_time::ExtendedLinkManager, and ace_time::BasicLinkManager.

Member Data Documentation

◆ kInvalidZoneId

const uint32_t ace_time::LinkManager::kInvalidZoneId = 0
static

ZoneId which is not valid to indicates an error or not found.

The AceTimeTools project will never generate a zoneId of 0.

Definition at line 25 of file LinkManager.h.


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