F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Os/Baremetal/TaskRunner/TaskRunner.hpp>
Public Member Functions | |
TaskRunner () | |
< Nothing constructor | |
~TaskRunner () | |
void | addTask (Task *task) |
void | removeTask (Task *task) |
void | stop () |
void | run () |
Combination TaskRegistry and task runner. This does the "heavy lifting" for baremetal running of tasks.
Definition at line 19 of file TaskRunner.hpp.
Os::TaskRunner::TaskRunner | ( | ) |
Os::TaskRunner::~TaskRunner | ( | ) |
Definition at line 22 of file TaskRunner.cpp.
|
virtual |
Add a task to the registry. These tasks will be run on a bare-metal loop. The function used in this task may be overridden.
task | task to be added |
Implements Os::TaskRegistry.
Definition at line 24 of file TaskRunner.cpp.
|
virtual |
Remove a task to the registry. These tasks will no-longer be run.
task | task to be removed |
Implements Os::TaskRegistry.
Definition at line 30 of file TaskRunner.cpp.
void Os::TaskRunner::run | ( | ) |
Run once function call, used to run one pass over tasks
Definition at line 54 of file TaskRunner.cpp.
void Os::TaskRunner::stop | ( | ) |
Stop this task registry
Definition at line 50 of file TaskRunner.cpp.