7 #ifndef Drv_RecvStatusEnumAc_HPP
8 #define Drv_RecvStatusEnumAc_HPP
109 return this->
e == e1;
115 return !(*
this == e1);
121 friend std::ostream& operator<<(
147 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
Status associated with the received data.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
bool operator==(T e1) const
Equality operator.
T t
For backwards compatibility.
@ RECV_OK
Receive worked as expected.
@ RECV_ERROR
Receive error occurred retrying may succeed.
@ RECV_NO_DATA
Receive worked, but there was no data.
@ SERIALIZED_SIZE
The size of the serial representation.
@ NUM_CONSTANTS
The number of enumerated constants.
bool operator!=(T e1) const
Inequality operator.
I32 SerialType
The serial representation type.
RecvStatus(const RecvStatus &obj)
Copy constructor.
RecvStatus(const T e1)
Constructor (user-provided value)
bool isValid() const
Check raw enum value for validity.
RecvStatus & operator=(const RecvStatus &obj)
Copy assignment operator (object)
RecvStatus()
Constructor (default value of RECV_OK)
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
SerializeStatus
forward declaration for string