21 lines
749 B
C++
21 lines
749 B
C++
#ifndef MISSION_SYSTEM_OBJECTS_CAMSWITCHER_H_
|
|
#define MISSION_SYSTEM_OBJECTS_CAMSWITCHER_H_
|
|
|
|
#include <common/config/eive/objects.h>
|
|
#include <fsfw/power/PowerSwitcherComponent.h>
|
|
#include <mission/controller/controllerdefinitions/PowerCtrlDefinitions.h>
|
|
|
|
class CamSwitcher : public PowerSwitcherComponent {
|
|
public:
|
|
CamSwitcher(object_id_t objectId, PowerSwitchIF& pwrSwitcher, power::Switch_t pwrSwitch);
|
|
|
|
private:
|
|
pwrctrl::EnablePl enablePl = pwrctrl::EnablePl(objects::POWER_CONTROLLER);
|
|
ReturnValue_t checkModeCommand(Mode_t commandedMode, Submode_t commandedSubmode,
|
|
uint32_t* msToReachTheMode) override;
|
|
|
|
void performFaultyOperation() override;
|
|
};
|
|
|
|
#endif /* MISSION_SYSTEM_OBJECTS_CAMSWITCHER_H_ */
|