![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
types and constants shared by users of Os::Task and by its implementations More...
#include <Os/Interfaces/TaskUserInterface.hpp>
Classes | |
| class | Arguments |
Public Types | |
| enum | Status { OP_OK, INVALID_HANDLE, INVALID_PARAMS, INVALID_PRIORITY, INVALID_STACK, UNKNOWN_ERROR, INVALID_AFFINITY, DELAY_ERROR, JOIN_ERROR, ERROR_RESOURCES, ERROR_PERMISSION, NOT_SUPPORTED, INVALID_STATE } |
| enum | SuspensionType { INTENTIONAL, UNINTENTIONAL } |
| enum | State { NOT_STARTED, STARTING, RUNNING, SUSPENDED_INTENTIONALLY, SUSPENDED_UNINTENTIONALLY, EXITED, UNKNOWN } |
| typedef void(* | taskRoutine) (void *ptr) |
| Prototype for task routine started in task context. More... | |
Static Public Attributes | |
| static constexpr FwSizeType | TASK_DEFAULT = std::numeric_limits<FwSizeType>::max() |
| static constexpr FwTaskPriorityType | TASK_PRIORITY_DEFAULT = std::numeric_limits<FwTaskPriorityType>::max() |
types and constants shared by users of Os::Task and by its implementations
Definition at line 25 of file TaskUserInterface.hpp.
| typedef void(* Os::TaskUserInterface::taskRoutine) (void *ptr) |
Prototype for task routine started in task context.
Definition at line 59 of file TaskUserInterface.hpp.
| Enumerator | |
|---|---|
| NOT_STARTED | |
| STARTING | |
| RUNNING | |
| SUSPENDED_INTENTIONALLY | |
| SUSPENDED_UNINTENTIONALLY | |
| EXITED | |
| UNKNOWN | |
Definition at line 56 of file TaskUserInterface.hpp.
Definition at line 38 of file TaskUserInterface.hpp.
| Enumerator | |
|---|---|
| INTENTIONAL | |
| UNINTENTIONAL | |
Definition at line 54 of file TaskUserInterface.hpp.
|
static |
Sentinel value to use a default value for the task argument to which this is supplied.
Implementations of TaskInterface::start() should make a special case to use some default value that is valid for the target platform.
Definition at line 30 of file TaskUserInterface.hpp.
|
static |
Sentinel value to use a default priority for the task.
Implementations of TaskInterface::start() should make a special case to use some default task priority that is valid for the target platform.
Definition at line 36 of file TaskUserInterface.hpp.