2020-12-29 13:59:31 +01:00
|
|
|
#ifndef BSP_Q7S_INITMISSION_H_
|
|
|
|
#define BSP_Q7S_INITMISSION_H_
|
|
|
|
|
2023-02-08 16:45:19 +01:00
|
|
|
#include <pollingsequence/pollingSequenceFactory.h>
|
2023-02-08 16:46:30 +01:00
|
|
|
|
2021-07-19 13:15:45 +02:00
|
|
|
#include <vector>
|
|
|
|
|
2022-05-18 14:51:33 +02:00
|
|
|
#include "fsfw/tasks/definitions.h"
|
2022-01-17 15:58:27 +01:00
|
|
|
|
2023-02-08 16:45:19 +01:00
|
|
|
using pst::AcsPstCfg;
|
|
|
|
|
2021-07-19 13:15:45 +02:00
|
|
|
class PeriodicTaskIF;
|
|
|
|
class TaskFactory;
|
|
|
|
|
2022-11-25 11:04:33 +01:00
|
|
|
namespace scheduling {
|
2020-12-29 13:59:31 +01:00
|
|
|
void initMission();
|
|
|
|
void initTasks();
|
2021-07-19 13:15:45 +02:00
|
|
|
|
|
|
|
void createPstTasks(TaskFactory& factory, TaskDeadlineMissedFunction missedDeadlineFunc,
|
2023-02-08 16:45:19 +01:00
|
|
|
std::vector<PeriodicTaskIF*>& taskVec, AcsPstCfg cfg);
|
2021-07-19 13:15:45 +02:00
|
|
|
void createPusTasks(TaskFactory& factory, TaskDeadlineMissedFunction missedDeadlineFunc,
|
2022-01-17 15:58:27 +01:00
|
|
|
std::vector<PeriodicTaskIF*>& taskVec);
|
2021-07-19 13:15:45 +02:00
|
|
|
void createTestTasks(TaskFactory& factory, TaskDeadlineMissedFunction missedDeadlineFunc,
|
2022-01-17 15:58:27 +01:00
|
|
|
std::vector<PeriodicTaskIF*>& taskVec);
|
2022-11-25 11:04:33 +01:00
|
|
|
}; // namespace scheduling
|
2020-12-29 13:59:31 +01:00
|
|
|
|
|
|
|
#endif /* BSP_Q7S_INITMISSION_H_ */
|