eive-obsw/mission/controller/ThermalController.h

32 lines
1.0 KiB
C
Raw Normal View History

2021-01-08 09:34:43 +01:00
#ifndef MISSION_CONTROLLER_THERMALCONTROLLER_H_
#define MISSION_CONTROLLER_THERMALCONTROLLER_H_
#include <fsfw/controller/ExtendedControllerBase.h>
2022-01-17 15:58:27 +01:00
#include "ctrldefinitions/ThermalCtrlPackets.h"
2021-01-08 09:34:43 +01:00
2022-01-17 15:58:27 +01:00
class ThermalController : public ExtendedControllerBase {
public:
ThermalController(object_id_t objectId);
2021-01-08 09:34:43 +01:00
2022-01-17 15:58:27 +01:00
private:
// TODO: Add stubs for thermal components. Each device / assembly with one
// or multiple redundant sensors will have a thermal component.
2021-01-08 09:34:43 +01:00
2022-01-17 15:58:27 +01:00
/** ExtendedControllerBase overrides */
virtual ReturnValue_t handleCommandMessage(CommandMessage *message) override;
2021-01-08 09:34:43 +01:00
2022-01-17 15:58:27 +01:00
virtual void performControlOperation() override;
2021-01-08 09:34:43 +01:00
2022-01-17 15:58:27 +01:00
virtual ReturnValue_t checkModeCommand(Mode_t mode, Submode_t submode,
uint32_t *msToReachTheMode) override;
2021-01-08 09:34:43 +01:00
2022-01-17 15:58:27 +01:00
ReturnValue_t initializeAfterTaskCreation() override;
2021-01-08 09:34:43 +01:00
2022-01-17 15:58:27 +01:00
void handleChangedDataset(sid_t sid, store_address_t storeId) override;
2021-01-08 09:34:43 +01:00
2022-01-17 15:58:27 +01:00
ThermalCtrl::ThermalControllerTemperatureSet thermalControllerSet;
2021-01-08 09:34:43 +01:00
};
#endif /* MISSION_CONTROLLER_THERMALCONTROLLER_H_ */