7 #ifndef Os_QueueStatusEnumAc_HPP
8 #define Os_QueueStatusEnumAc_HPP
123 return this->
e == e1;
129 return !(*
this == e1);
135 friend std::ostream& operator<<(
161 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
FPP shadow-enum representing Os::Queue::Status.
QueueStatus()
Constructor (default value of OP_OK)
QueueStatus(const T e1)
Constructor (user-provided value)
T t
For backwards compatibility.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
I32 SerialType
The serial representation type.
QueueStatus & operator=(const QueueStatus &obj)
Copy assignment operator (object)
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
bool operator==(T e1) const
Equality operator.
bool isValid() const
Check raw enum value for validity.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
@ RECEIVE_ERROR
message receive error
@ OP_OK
message sent/received okay
@ SIZE_MISMATCH
attempted to send or receive with buffer too large, too small
@ UNINITIALIZED
Queue wasn't initialized successfully.
@ EMPTY
If non-blocking, all the messages have been drained.
@ ALREADY_CREATED
creating an already created queue
@ FULL
queue was full when attempting to send a message
@ UNKNOWN_ERROR
Unexpected error; can't match with returns.
@ SEND_ERROR
message send error
@ INVALID_PRIORITY
invalid priority requested
QueueStatus(const QueueStatus &obj)
Copy constructor.
bool operator!=(T e1) const
Inequality operator.
SerializeStatus
forward declaration for string