eive-obsw/mission/system/objects/ImtqAssembly.h

19 lines
611 B
C
Raw Normal View History

2023-03-02 16:08:31 +01:00
#pragma once
2023-03-02 16:01:36 +01:00
2023-03-02 16:08:31 +01:00
#include <fsfw/devicehandlers/AssemblyBase.h>
2023-03-02 16:01:36 +01:00
2023-03-02 16:08:31 +01:00
class ImtqAssembly : public AssemblyBase {
public:
ImtqAssembly(object_id_t objectId);
2023-03-02 16:01:36 +01:00
2023-03-02 16:08:31 +01:00
private:
FixedArrayList<ModeListEntry, 1> commandTable;
2023-03-02 16:01:36 +01:00
2023-03-02 16:08:31 +01:00
ReturnValue_t commandChildren(Mode_t mode, Submode_t submode) override;
ReturnValue_t checkChildrenStateOn(Mode_t wantedMode, Submode_t wantedSubmode) override;
ReturnValue_t isModeCombinationValid(Mode_t mode, Submode_t submode) override;
2023-03-06 14:02:03 +01:00
void handleChildrenLostMode(ReturnValue_t result) override;
2023-03-02 16:01:36 +01:00
2023-03-02 16:08:31 +01:00
ReturnValue_t checkAndHandleHealthState(Mode_t deviceMode, Submode_t deviceSubmode);
};