7 #ifndef Fw_CmdResponseEnumAc_HPP
8 #define Fw_CmdResponseEnumAc_HPP
115 return this->
e == e1;
121 return !(*
this == e1);
127 friend std::ostream& operator<<(
153 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
Enum representing a command response.
CmdResponse()
Constructor (default value of OK)
bool isValid() const
Check raw enum value for validity.
@ FORMAT_ERROR
Command failed to deserialize.
@ EXECUTION_ERROR
Command had execution error.
@ VALIDATION_ERROR
Command failed validation.
@ OK
Command successfully executed.
@ INVALID_OPCODE
Invalid opcode dispatched.
CmdResponse(const T e1)
Constructor (user-provided value)
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
@ SERIALIZED_SIZE
The size of the serial representation.
@ NUM_CONSTANTS
The number of enumerated constants.
bool operator==(T e1) const
Equality operator.
CmdResponse & operator=(const CmdResponse &obj)
Copy assignment operator (object)
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
CmdResponse(const CmdResponse &obj)
Copy constructor.
bool operator!=(T e1) const
Inequality operator.
T t
For backwards compatibility.
I32 SerialType
The serial representation type.
SerializeStatus
forward declaration for string