F´ Flight Software - C/C++ Documentation
NASA-v1.5.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
c
f
h
i
l
m
n
o
p
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
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
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
c
t
u
w
Enumerations
b
c
d
e
f
g
h
i
m
o
p
q
s
t
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Functions
a
b
c
f
g
h
l
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Functions
f
i
m
s
u
Variables
_
c
f
i
l
p
t
Typedefs
Enumerations
Enumerator
a
c
d
f
i
m
p
r
s
t
w
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
►
F´ Flight Software - C/C++ Documentation
•
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:28
Task.hpp
Os::TaskRunner::stop
void stop()
Definition:
TaskRunner.cpp:59
Os::TaskRunner::~TaskRunner
~TaskRunner()
Definition:
TaskRunner.cpp:22
Os::TaskRunner
Definition:
TaskRunner.hpp:19
Os::TaskRunner::run
void run()
Definition:
TaskRunner.cpp:65
Os::Task
forward declaration
Definition:
Task.hpp:15
Os::TaskRunner::removeTask
void removeTask(Task *task)
Definition:
TaskRunner.cpp:37
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.19