1#ifndef IV_SRC_MIMICS_RETRO_ELEMENTS_DYNAMICTEXT_1_0_HPP_
2#define IV_SRC_MIMICS_RETRO_ELEMENTS_DYNAMICTEXT_1_0_HPP_
22 [[nodiscard]] std::shared_ptr<AbstractRetroMimicElement>
toNextVersion()
const override;
23 [[nodiscard]] std::shared_ptr<iv::mimics::AbstractMimicElement>
toMimicElement()
const override;
44 std::map<iv::types::order, iv::mimics::support::DynamicTextCondition>
m_conditions;
51 static constexpr std::string_view
width {
"Width"};
52 static constexpr std::string_view
height {
"Height"};
55 static constexpr std::string_view
textColor {
"Color"};
60 static constexpr std::string_view
lengthLine {
"UnderlineLength"};
61 static constexpr std::string_view
lineWidth {
"UnderlineWidth"};
69 static constexpr std::string
string {};
88 static constexpr std::string_view
location {
"Location"};
90 static constexpr std::string_view
addedAlarms {
"AddedAlarms"};
98 static constexpr std::string_view
conditions {
"Conditions"};
99 static constexpr std::string_view
condition {
"Condition"};
Definition xmlFile.hpp:15
Definition AbstractRetroMimicElement.hpp:12
Definition DynamicText_1_0.hpp:13
iv::types::length m_underlineLength
Definition DynamicText_1_0.hpp:40
iv::mimics::retro::stringMimicElementType getElementType() const override
Definition DynamicText_1_0.cpp:125
iv::types::color m_textColor
Definition DynamicText_1_0.hpp:36
iv::mimics::Location m_location
Definition DynamicText_1_0.hpp:27
DynamicText_1_0()
Definition DynamicText_1_0.cpp:9
iv::types::color m_underlineColor
Definition DynamicText_1_0.hpp:39
std::shared_ptr< iv::mimics::AbstractMimicElement > toMimicElement() const override
Definition DynamicText_1_0.cpp:187
iv::mimics::Background m_background
Definition DynamicText_1_0.hpp:33
bool m_hasUnderline
Definition DynamicText_1_0.hpp:38
iv::types::width m_width
Definition DynamicText_1_0.hpp:29
iv::types::width m_underlineWidth
Definition DynamicText_1_0.hpp:41
iv::mimics::TitleSettings m_titleSettings
Definition DynamicText_1_0.hpp:32
iv::mimics::eMimicElementType m_mimicElementType
Definition DynamicText_1_0.hpp:26
std::map< iv::types::order, iv::mimics::support::DynamicTextCondition > m_conditions
Definition DynamicText_1_0.hpp:44
bool save(iv::file::xml::node &nodeControlMimic) const override
Definition DynamicText_1_0.cpp:87
~DynamicText_1_0() override=default
iv::types::height m_height
Definition DynamicText_1_0.hpp:30
bool load(const iv::file::xml::node &nodeControlMimic) override
Definition DynamicText_1_0.cpp:30
std::shared_ptr< AbstractRetroMimicElement > toNextVersion() const override
Definition DynamicText_1_0.cpp:130
std::string m_defaultMessage
Definition DynamicText_1_0.hpp:45
constexpr iv::types::color White
Definition color.hpp:222
constexpr iv::types::color Red
Definition color.hpp:179
Definition AbstractRetroMimicElement.hpp:9
std::string stringMimicElementType
Definition types.hpp:9
eMimicElementType
Definition enums.hpp:8
double height
Definition types.hpp:14
double length
Definition types.hpp:15
double width
Definition types.hpp:23
uint32_t color
Definition types.hpp:12
Definition structs.hpp:176
Definition structs.hpp:15
Definition structs.hpp:67
Definition DynamicText_1_0.hpp:67
static constexpr iv::types::length lengthLine
Definition DynamicText_1_0.hpp:78
static constexpr iv::types::width lineWidth
Definition DynamicText_1_0.hpp:79
static constexpr bool hasUnderline
Definition DynamicText_1_0.hpp:76
static constexpr std::string mimicElementType
Definition DynamicText_1_0.hpp:70
static constexpr std::string defaultMessage
Definition DynamicText_1_0.hpp:82
static constexpr iv::types::color textColor
Definition DynamicText_1_0.hpp:75
static constexpr iv::types::height height
Definition DynamicText_1_0.hpp:72
static constexpr iv::types::width width
Definition DynamicText_1_0.hpp:71
static constexpr iv::types::color underlineColor
Definition DynamicText_1_0.hpp:77
Definition DynamicText_1_0.hpp:48
static constexpr std::string_view backgroundColor
Definition DynamicText_1_0.hpp:57
static constexpr std::string_view lineWidth
Definition DynamicText_1_0.hpp:61
static constexpr std::string_view underlineColor
Definition DynamicText_1_0.hpp:59
static constexpr std::string_view mimicElementType
Definition DynamicText_1_0.hpp:50
static constexpr std::string_view lengthLine
Definition DynamicText_1_0.hpp:60
static constexpr std::string_view textColor
Definition DynamicText_1_0.hpp:55
static constexpr std::string_view hasBackground
Definition DynamicText_1_0.hpp:56
static constexpr std::string_view hasUnderline
Definition DynamicText_1_0.hpp:58
static constexpr std::string_view width
Definition DynamicText_1_0.hpp:51
static constexpr std::string_view defaultMessage
Definition DynamicText_1_0.hpp:64
static constexpr std::string_view height
Definition DynamicText_1_0.hpp:52
Definition DynamicText_1_0.hpp:85
static constexpr std::string_view dynamicTextIndicator
Definition DynamicText_1_0.hpp:97
static constexpr std::string_view condition
Definition DynamicText_1_0.hpp:99
static constexpr std::string_view addedChannel
Definition DynamicText_1_0.hpp:91
static constexpr std::string_view onlineVariables
Definition DynamicText_1_0.hpp:89
static constexpr std::string_view addedAlarms
Definition DynamicText_1_0.hpp:90
static constexpr std::string_view conditions
Definition DynamicText_1_0.hpp:98
static constexpr std::string_view titleSettings
Definition DynamicText_1_0.hpp:87
static constexpr std::string_view location
Definition DynamicText_1_0.hpp:88
static constexpr std::string_view textAttributes
Definition DynamicText_1_0.hpp:94