35 std::ostream& operator<<(std::ostream& os,
const QueueStatus& obj) {
69 this->
e =
static_cast<T>(es);
77 #if FW_SERIALIZABLE_TO_STRING
88 s =
"ALREADY_CREATED";
106 s =
"INVALID_PRIORITY";
121 #elif FW_ENABLE_TEXT_LOGGING
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
void format(const CHAR *formatString,...)
write formatted string to buffer
const char * toChar() const
FPP shadow-enum representing Os::Queue::Status.
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)
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
SerializeStatus
forward declaration for string
@ FW_DESERIALIZE_FORMAT_ERROR
Deserialization data had incorrect values (unexpected data types)
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.