F´ Flight Software - C/C++ Documentation
NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
b
f
h
i
n
o
p
s
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
b
d
e
f
g
h
i
l
m
n
p
q
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
l
m
n
o
p
q
r
s
t
w
Related Functions
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
Functions
f
i
m
s
u
Variables
Typedefs
Enumerations
Enumerator
c
d
f
m
p
r
s
t
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
TaskRunner.hpp
Go to the documentation of this file.
1
/*
2
* TaskRunner.hpp
3
*
4
* Created on: Feb 28, 2019
5
* Author: lestarch
6
*/
7
8
#include <
Os/Task.hpp
>
9
10
#ifndef OS_BAREMETAL_TASKRUNNER_TASKRUNNER_HPP_
11
#define OS_BAREMETAL_TASKRUNNER_TASKRUNNER_HPP_
12
13
#define TASK_REGISTRY_CAP 100
14
namespace
Os
{
19
class
TaskRunner
:
TaskRegistry
{
20
public
:
22
TaskRunner
();
24
~TaskRunner
();
30
void
addTask
(
Task
* task);
35
void
removeTask
(
Task
* task);
39
void
stop
();
43
void
run
();
44
private
:
45
U32 m_index;
46
Task
* m_task_table[
TASK_REGISTRY_CAP
];
47
bool
m_cont;
48
};
49
}
//End Namespace Os
50
#endif
/* OS_BAREMETAL_TASKRUNNER_TASKRUNNER_HPP_ */
Os
Definition:
File.cpp:7
Os::TaskRunner::addTask
void addTask(Task *task)
Definition:
TaskRunner.cpp:24
Task.hpp
Os::TaskRunner::stop
void stop()
Definition:
TaskRunner.cpp:50
Os::TaskRunner::~TaskRunner
~TaskRunner()
Definition:
TaskRunner.cpp:22
Os::TaskRunner
Definition:
TaskRunner.hpp:19
Os::TaskRunner::run
void run()
Definition:
TaskRunner.cpp:54
Os::Task
forward declaration
Definition:
Task.hpp:15
Os::TaskRunner::removeTask
void removeTask(Task *task)
Definition:
TaskRunner.cpp:30
Os::TaskRunner::TaskRunner
TaskRunner()
< Nothing constructor
Definition:
TaskRunner.cpp:13
TASK_REGISTRY_CAP
#define TASK_REGISTRY_CAP
Definition:
TaskRunner.hpp:13
Os::TaskRegistry
Definition:
Task.hpp:70
Os
Baremetal
TaskRunner
TaskRunner.hpp
Generated by
1.8.17