AceTime 2.4.0 Date and time classes for Arduino that support timezones from the TZ Database.

brokers.h
Go to the documentation of this file.
1 /*
2 * MIT License
3 * Copyright (c) 2019 Brian T. Park
4 */
5
6 #ifndef ACE_TIME_BROKERS_H
7 #define ACE_TIME_BROKERS_H
8
9 #include "infos.h"
10 #include "BrokersLow.h"
11 #include "BrokersMid.h"
12 #include "BrokersHigh.h"
13
23 namespace ace_time {
24
25 namespace basic {
26
28 using ZoneContextBroker = zoneinfolow::ZoneContextBroker<ZoneContext>;
29
31 using ZoneRuleBroker = zoneinfolow::ZoneRuleBroker<ZoneContext, ZoneRule>;
32
34 using ZonePolicyBroker = zoneinfolow::ZonePolicyBroker<
35 ZoneContext, ZonePolicy, ZoneRule>;
36
38 using ZoneEraBroker = zoneinfolow::ZoneEraBroker<
39 ZoneContext, ZoneEra, ZonePolicy, ZoneRule>;
40
42 using ZoneInfoBroker = zoneinfolow::ZoneInfoBroker<
43 ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule>;
44
49 using ZoneRegistryBroker = zoneinfolow::ZoneRegistryBroker<ZoneInfo>;
50
52 using ZoneInfoStore = zoneinfolow::ZoneInfoStore<
53 ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule>;
54
55 } // basic
56
57 namespace extended {
58
60 using ZoneContextBroker = zoneinfolow::ZoneContextBroker<ZoneContext>;
61
63 using ZoneRuleBroker = zoneinfolow::ZoneRuleBroker<ZoneContext, ZoneRule>;
64
66 using ZonePolicyBroker = zoneinfolow::ZonePolicyBroker<
67 ZoneContext, ZonePolicy, ZoneRule>;
68
70 using ZoneEraBroker = zoneinfolow::ZoneEraBroker<
71 ZoneContext, ZoneEra, ZonePolicy, ZoneRule>;
72
74 using ZoneInfoBroker = zoneinfolow::ZoneInfoBroker<
75 ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule>;
76
81 using ZoneRegistryBroker = zoneinfolow::ZoneRegistryBroker<ZoneInfo>;
82
84 using ZoneInfoStore = zoneinfolow::ZoneInfoStore<
85 ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule>;
86
87 } // extended
88
89 namespace complete {
90
92 using ZoneContextBroker = zoneinfohigh::ZoneContextBroker<ZoneContext>;
93
95 using ZoneRuleBroker = zoneinfohigh::ZoneRuleBroker<ZoneContext, ZoneRule>;
96
98 using ZonePolicyBroker = zoneinfohigh::ZonePolicyBroker<
99 ZoneContext, ZonePolicy, ZoneRule>;
100
102 using ZoneEraBroker = zoneinfohigh::ZoneEraBroker<
103 ZoneContext, ZoneEra, ZonePolicy, ZoneRule>;
104
106 using ZoneInfoBroker = zoneinfohigh::ZoneInfoBroker<
107 ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule>;
108
113 using ZoneRegistryBroker = zoneinfohigh::ZoneRegistryBroker<ZoneInfo>;
114
115 using ZoneInfoStore = zoneinfohigh::ZoneInfoStore<
116 ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule>;
117
118 } // complete
119
120 } // ace_time
121
122 #endif
BrokersHigh.h
These classes provide a thin layer of indirection for accessing the data structures defined by ZoneIn...
BrokersLow.h
These classes provide a thin layer of indirection for accessing the data structures defined by ZoneIn...
BrokersMid.h
These classes provide a thin layer of indirection for accessing the data structures defined by ZoneIn...
ace_time::zoneinfohigh::ZoneContextBroker
Data broker for accessing a ZoneContext.
Definition: BrokersHigh.h:81
ace_time::zoneinfohigh::ZoneEraBroker
Data broker for accessing ZoneEra.
Definition: BrokersHigh.h:270
ace_time::zoneinfohigh::ZoneInfoBroker
Data broker for accessing ZoneInfo.
Definition: BrokersHigh.h:348
ace_time::zoneinfohigh::ZoneInfoStore
A storage object that creates an ZoneInfoBroker from a key that identifies the ZoneInfo.
Definition: BrokersHigh.h:474
ace_time::zoneinfohigh::ZonePolicyBroker
Data broker for accessing ZonePolicy.
Definition: BrokersHigh.h:228
ace_time::zoneinfohigh::ZoneRegistryBroker
Data broker for accessing the ZoneRegistry.
Definition: BrokersHigh.h:441
ace_time::zoneinfohigh::ZoneRuleBroker
Data broker for accessing ZoneRule.
Definition: BrokersHigh.h:159
ace_time::zoneinfolow::ZoneContextBroker
Data broker for accessing a ZoneContext.
Definition: BrokersLow.h:91
ace_time::zoneinfolow::ZoneEraBroker
Data broker for accessing ZoneEra.
Definition: BrokersLow.h:297
ace_time::zoneinfolow::ZoneInfoBroker< ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule >
ace_time::zoneinfolow::ZoneInfoStore< ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule >
ace_time::zoneinfolow::ZonePolicyBroker
Data broker for accessing ZonePolicy.
Definition: BrokersLow.h:255
ace_time::zoneinfolow::ZoneRegistryBroker
Data broker for accessing the ZoneRegistry.
Definition: BrokersLow.h:477
ace_time::zoneinfolow::ZoneRuleBroker
Data broker for accessing ZoneRule.
Definition: BrokersLow.h:169
ace_time::zoneinfohigh::ZoneContext
Metadata about the zone database.
Definition: ZoneInfoHigh.h:37
ace_time::zoneinfohigh::ZoneEra
An entry in ZoneInfo which describes which ZonePolicy was being followed during a particular time per...
Definition: ZoneInfoHigh.h:206
ace_time::zoneinfohigh::ZoneInfo
Representation of a given time zone, implemented as an array of ZoneEra records.
Definition: ZoneInfoHigh.h:295
ace_time::zoneinfohigh::ZonePolicy
A collection of transition rules which describe the DST rules of a given administrative region.
Definition: ZoneInfoHigh.h:187
ace_time::zoneinfohigh::ZoneRule
A time zone transition rule.
Definition: ZoneInfoHigh.h:113
ace_time::zoneinfolow::ZoneContext
Metadata about the zone database.
Definition: ZoneInfoLow.h:37
ace_time::zoneinfolow::ZoneEra
An entry in ZoneInfo which describes which ZonePolicy was being followed during a particular time per...
Definition: ZoneInfoLow.h:226
ace_time::zoneinfolow::ZoneInfo
Representation of a given time zone, implemented as an array of ZoneEra records.
Definition: ZoneInfoLow.h:320
ace_time::zoneinfolow::ZonePolicy
A collection of transition rules which describe the DST rules of a given administrative region.
Definition: ZoneInfoLow.h:207
ace_time::zoneinfolow::ZoneRule
A time zone transition rule.
Definition: ZoneInfoLow.h:128