35 std::ostream& operator<<(std::ostream& os,
const TaskStatus& obj) {
51 return ((e >= OP_OK) && (e <= INVALID_STATE));
69 this->e =
static_cast<T>(es);
70 if (!this->isValid()) {
77#if FW_SERIALIZABLE_TO_STRING
99 case INVALID_AFFINITY:
100 s =
"INVALID_AFFINITY";
108 case ERROR_RESOURCES:
109 s =
"ERROR_RESOURCES";
111 case ERROR_PERMISSION:
112 s =
"ERROR_PERMISSION";
124#elif FW_ENABLE_TEXT_LOGGING
129 sb.
format(
"%" PRIi32
"", e);
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::Task::Status.
I32 SerialType
The serial representation type.
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.