22 lines
533 B
C
22 lines
533 B
C
|
#ifndef MISSION_SYSTEM_RWASS_H_
|
||
|
#define MISSION_SYSTEM_RWASS_H_
|
||
|
|
||
|
#include <fsfw/devicehandlers/AssemblyBase.h>
|
||
|
|
||
|
struct RwHelper {
|
||
|
RwHelper(std::array<object_id_t, 4> rwIds) : rwIds(rwIds) {}
|
||
|
|
||
|
std::array<object_id_t, 4> rwIds = {};
|
||
|
};
|
||
|
|
||
|
class RwAssembly: public AssemblyBase {
|
||
|
public:
|
||
|
RwAssembly(object_id_t objectId, object_id_t parentId, PowerSwitchIF* pwrSwitcher,
|
||
|
power::Switch_t switcher, RwHelper helper);
|
||
|
private:
|
||
|
RwHelper helper;
|
||
|
PowerSwitcher pwrSwitcher;
|
||
|
};
|
||
|
|
||
|
#endif /* MISSION_SYSTEM_RWASS_H_ */
|