35 std::ostream& operator<<(std::ostream& os,
const TaskStatus& obj) {
69 this->
e =
static_cast<T>(es);
77 #if FW_SERIALIZABLE_TO_STRING
100 s =
"INVALID_AFFINITY";
109 s =
"ERROR_RESOURCES";
112 s =
"ERROR_PERMISSION";
124 #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::Task::Status.
I32 SerialType
The serial representation type.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
@ UNKNOWN_ERROR
unexpected error return value
@ INVALID_STATE
Task is in an invalid state for the operation.
@ INVALID_HANDLE
Task handle invalid.
@ INVALID_AFFINITY
unable to set the task affinity
@ DELAY_ERROR
error trying to delay the task
@ ERROR_RESOURCES
unable to allocate more tasks
@ OP_OK
message sent/received okay
@ ERROR_PERMISSION
permissions error setting-up tasks
@ JOIN_ERROR
error trying to join the task
@ INVALID_PARAMS
started task with invalid parameters
@ INVALID_STACK
started with invalid stack size
TaskStatus & operator=(const TaskStatus &obj)
Copy assignment operator (object)
bool isValid() const
Check raw enum value for validity.
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.