25 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
26 this->m_serializeValue = obj.m_serializeValue;
35 this->
e =
static_cast<enum
T>(e1);
37 this->m_serializeValueIsSet =
false;
38 this->m_serializeValue = 0;
49 this->m_serializeValueIsSet =
false;
50 this->m_serializeValue = 0;
57 std::ostream& operator<<(std::ostream& os,
const FrameError& obj) {
86 if (this->m_serializeValueIsSet) {
87 es = this->m_serializeValue;
106 this->
e =
static_cast<enum
T>(es);
111 #if FW_SERIALIZABLE_TO_STRING 119 s =
"SP_INVALID_PACKET";
122 s =
"SP_INVALID_LENGTH";
125 s =
"TC_INVALID_SCID";
128 s =
"TC_INVALID_LENGTH";
131 s =
"TC_INVALID_VCID";
134 s =
"TC_INVALID_CRC";
137 s =
"AOS_INVALID_SCID";
140 s =
"AOS_INVALID_LENGTH";
143 s =
"AOS_INVALID_VCID";
146 s =
"AOS_INVALID_CRC";
149 s =
"AOS_INVALID_VERSION";
152 s =
"AOS_INVALID_EPP";
155 s =
"AOS_VC_FRAME_COUNT_GAP";
158 s =
"SDLS_DECRYPTION_FAILURE";
174 this->m_serializeValue = serializeValue;
175 this->m_serializeValueIsSet =
true;
Serialization/Deserialization operation was successful.
CCSDS 732.0-B-5: Transfer Frame Version Number mismatch (4.1.2.2.2)
CCSDS 133.1-B-3: Encapsulation Packet Protocol error.
CCSDS 732.0-B-5: Frame length insufficient.
CCSDS 732.0-B-5: Frame Error Control Field CRC mismatch (4.1.6)
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.
CCSDS 732.0-B-5: Virtual Channel ID mismatch (4.1.2.3)
SerializeStatus
forward declaration for string
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
enum T e
The raw enum value.
FrameError & operator=(const FrameError &obj)
Copy assignment operator (object)
const char * toChar() const
Convert to a C-style char*.
CCSDS 732.0-B-5: Spacecraft ID mismatch (4.1.2.2)
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
RateGroupDivider component implementation.
bool isValid() const
Check raw enum value for validity.
U8 SerialType
The serial representation type.
ComCfg::Apid::SerialType SerialType
CCSDS 732.0-B-5: AOS VC frame count discontinuity detected.