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

26 lines
723 B
C
Raw Normal View History

#ifndef MISSION_SYSTEM_DUALLANEPOWERSTATEMACHINE_H_
#define MISSION_SYSTEM_DUALLANEPOWERSTATEMACHINE_H_
#include <devices/powerSwitcherList.h>
#include <fsfw/modes/HasModesIF.h>
2022-04-25 10:36:03 +02:00
#include <mission/system/objects/PowerStateMachineBase.h>
#include "definitions.h"
class AssemblyBase;
class PowerSwitchIF;
2022-03-22 15:49:22 +01:00
class DualLanePowerStateMachine : public PowerStateMachineBase {
public:
2022-03-25 16:01:44 +01:00
DualLanePowerStateMachine(power::Switch_t switchA, power::Switch_t switchB,
2022-03-07 18:39:33 +01:00
PowerSwitchIF* pwrSwitcher, dur_millis_t checkTimeout = 5000);
2022-03-22 15:49:22 +01:00
power::OpCodes fsm() override;
2022-03-25 16:01:44 +01:00
const power::Switch_t SWITCH_A;
const power::Switch_t SWITCH_B;
private:
};
#endif /* MISSION_SYSTEM_DUALLANEPOWERSTATEMACHINE_H_ */