Types for storing historical data.
More...
Go to the source code of this file.
Types for storing historical data.
Definition in file history_type.hpp.
◆ HistoryData
Container type for storing history data.
- Template Parameters
-
Definition at line 53 of file history_type.hpp.
◆ ValidHistoryMask
◆ HISTORY_MAX_DIVISION
constexpr uint8_t HISTORY_MAX_DIVISION = std::max({HISTORY_MONTH.division, HISTORY_QUARTER.division, HISTORY_YEAR.division}) |
|
staticconstexpr |
Maximum number of divisions from previous history range.
Definition at line 40 of file history_type.hpp.
◆ HISTORY_MONTH
◆ HISTORY_PERIODS
constexpr uint8_t HISTORY_PERIODS = 24 |
|
staticconstexpr |
◆ HISTORY_QUARTER
constexpr HistoryRange HISTORY_QUARTER {HISTORY_MONTH, 3, HISTORY_PERIODS} |
|
staticconstexpr |
◆ HISTORY_RECORDS
constexpr uint8_t HISTORY_RECORDS = HISTORY_YEAR.last |
|
staticconstexpr |
Total number of records require for all history data.
Definition at line 43 of file history_type.hpp.
◆ HISTORY_YEAR
constexpr HistoryRange HISTORY_YEAR {HISTORY_QUARTER, 4, HISTORY_PERIODS} |
|
staticconstexpr |
◆ LAST_MONTH
constexpr uint8_t LAST_MONTH = 1 |
|
staticconstexpr |
◆ THIS_MONTH
constexpr uint8_t THIS_MONTH = 0 |
|
staticconstexpr |