35 std::ostream& operator<<(std::ostream& os,
const QueueStatus& obj) {
61 static_cast<SerialType>(this->
e),
76 this->
e =
static_cast<T>(es);
84 #if FW_SERIALIZABLE_TO_STRING 95 s =
"ALREADY_CREATED";
113 s =
"INVALID_PRIORITY";
122 s =
"ALLOCATION_FAILED";
134 #elif FW_ENABLE_TEXT_LOGGING Serialization/Deserialization operation was successful.
invalid priority requested
bool isValid() const
Check raw enum value for validity.
const char * toChar() const
Convert to a C-style char*.
QueueStatus & operator=(const QueueStatus &obj)
Copy assignment operator (object)
Deserialization data had incorrect values (unexpected data types)
U8 SerialType
The serial representation type.
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
message sent/received okay
SerializeStatus
forward declaration for string
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
Queue was full when attempting to send a message.
attempted to send or receive with buffer too large, too small
Queue feature is not supported.
FPP shadow-enum representing Os::Queue::Status.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
creating an already created queue
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
If non-blocking, all the messages have been drained.
required memory could not be allocated
Queue wasn't initialized successfully.
Unexpected error; can't match with returns.