23 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
24 this->m_serializeValue = obj.m_serializeValue;
33 this->
e =
static_cast<enum
T>(e1);
35 this->m_serializeValueIsSet =
false;
36 this->m_serializeValue = 0;
47 this->m_serializeValueIsSet =
false;
48 this->m_serializeValue = 0;
55 std::ostream& operator<<(std::ostream& os,
const QueueStatus& obj) {
84 if (this->m_serializeValueIsSet) {
85 es = this->m_serializeValue;
104 this->
e =
static_cast<enum
T>(es);
109 #if FW_SERIALIZABLE_TO_STRING 120 s =
"ALREADY_CREATED";
138 s =
"INVALID_PRIORITY";
147 s =
"ALLOCATION_FAILED";
166 this->m_serializeValue = serializeValue;
167 this->m_serializeValueIsSet =
true;
Serialization/Deserialization operation was successful.
invalid priority requested
bool isValid() const
Check raw enum value for validity.
QueueStatus & operator=(const QueueStatus &obj)
Copy assignment operator (object)
Deserialization data had incorrect values (unexpected data types)
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.
enum T e
The raw enum value.
const char * toChar() const
Convert to a C-style char*.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
creating an already created queue
U8 SerialType
The serial representation type.
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.
ComCfg::Apid::SerialType SerialType
Unexpected error; can't match with returns.