7 #ifndef Os_TaskStatusEnumAc_HPP
8 #define Os_TaskStatusEnumAc_HPP
125 return this->
e == e1;
131 return !(*
this == e1);
137 friend std::ostream& operator<<(
163 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
FPP shadow-enum representing Os::Task::Status.
TaskStatus(const T e1)
Constructor (user-provided value)
I32 SerialType
The serial representation type.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
bool operator==(T e1) const
Equality operator.
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
bool operator!=(T e1) const
Inequality operator.
T t
For backwards compatibility.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
TaskStatus(const TaskStatus &obj)
Copy constructor.
TaskStatus()
Constructor (default value of OP_OK)
@ 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