2020-11-20 18:10:39 +01:00
|
|
|
#ifndef BSP_LINUX_INITMISSION_H_
|
|
|
|
#define BSP_LINUX_INITMISSION_H_
|
|
|
|
|
2021-09-22 14:04:39 +02:00
|
|
|
#include <vector>
|
|
|
|
|
2022-01-17 13:48:55 +01:00
|
|
|
#include "fsfw/tasks/Typedef.h"
|
|
|
|
|
2021-09-22 14:04:39 +02:00
|
|
|
class PeriodicTaskIF;
|
|
|
|
class TaskFactory;
|
|
|
|
|
2021-03-04 18:29:28 +01:00
|
|
|
namespace initmission {
|
2020-11-20 18:10:39 +01:00
|
|
|
void initMission();
|
|
|
|
void initTasks();
|
2021-09-22 14:04:39 +02:00
|
|
|
|
2022-01-17 13:48:55 +01:00
|
|
|
void createPstTasks(TaskFactory& factory, TaskDeadlineMissedFunction missedDeadlineFunc,
|
|
|
|
std::vector<PeriodicTaskIF*>& taskVec);
|
|
|
|
void createTestTasks(TaskFactory& factory, TaskDeadlineMissedFunction missedDeadlineFunc,
|
|
|
|
std::vector<PeriodicTaskIF*>& taskVec);
|
2021-09-22 14:27:01 +02:00
|
|
|
void createPusTasks(TaskFactory& factory, TaskDeadlineMissedFunction missedDeadlineFunc,
|
2022-01-17 13:48:55 +01:00
|
|
|
std::vector<PeriodicTaskIF*>& taskVec);
|
|
|
|
}; // namespace initmission
|
2020-11-20 18:10:39 +01:00
|
|
|
|
|
|
|
#endif /* BSP_LINUX_INITMISSION_H_ */
|