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 CmdResponse& 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 120 s =
"INVALID_OPCODE";
123 s =
"VALIDATION_ERROR";
129 s =
"EXECUTION_ERROR";
138 s =
"DISPATCHED_UNTRACKED";
154 this->m_serializeValue = serializeValue;
155 this->m_serializeValueIsSet =
true;
Serialization/Deserialization operation was successful.
Invalid opcode dispatched.
enum T e
The raw enum value.
Deserialization data had incorrect values (unexpected data types)
Enum representing a command response.
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.
Command tracking was cleared before the command completed.
SerializeStatus
forward declaration for string
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
CmdResponse & operator=(const CmdResponse &obj)
Copy assignment operator (object)
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
const char * toChar() const
Convert to a C-style char*.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
Command successfully executed.
Command failed to deserialize.
Command had execution error.
U8 SerialType
The serial representation type.
Command failed validation.
Command was dispatched but the response tracking failed, indicating unknown state.
Implementation of malloc based allocator.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
ComCfg::Apid::SerialType SerialType