23 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
24 this->m_serializeValue = obj.m_serializeValue;
33 this->
e =
static_cast<enum
T>(e1);
35 this->m_serializeValueIsSet =
false;
36 this->m_serializeValue = 0;
47 this->m_serializeValueIsSet =
false;
48 this->m_serializeValue = 0;
55 std::ostream& operator<<(std::ostream& os,
const TlmSendState& obj) {
84 if (this->m_serializeValueIsSet) {
85 es = this->m_serializeValue;
104 this->
e =
static_cast<enum
T>(es);
109 #if FW_SERIALIZABLE_TO_STRING 117 s =
"INHERIT_FROM_PARENT";
120 s =
"SEND_WHEN_SECTION_ENABLED";
142 this->m_serializeValue = serializeValue;
143 this->m_serializeValueIsSet =
true;
Serialization/Deserialization operation was successful.
Send policy of a group or packet. Resolution: packet -> group -> section enable.
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
U8 SerialType
The serial representation type.
Deserialization data had incorrect values (unexpected data types)
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
bool isValid() const
Check raw enum value for validity.
SerializeStatus
forward declaration for string
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
Packet: use the group's state; group: use the section enable (default)
Send only while the section is enabled.
TlmSendState & operator=(const TlmSendState &obj)
Copy assignment operator (object)
const char * toChar() const
Convert to a C-style char*.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
enum T e
The raw enum value.
RateGroupDivider component implementation.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
ComCfg::Apid::SerialType SerialType
Send; the section enable is ignored.