Ulrich Mohr
1f47c970af
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
65 lines
2.2 KiB
C++
65 lines
2.2 KiB
C++
#pragma once
|
|
|
|
#include <fsfw/action/MinMaxParameter.h>
|
|
#include <fsfw/action/TemplateAction.h>
|
|
|
|
#include "GomspaceDefinitions.h"
|
|
|
|
class GomspaceDeviceHandler;
|
|
|
|
class PingAction : public TemplateAction<GomspaceDeviceHandler, PingAction, GomspaceCommands> {
|
|
public:
|
|
PingAction(GomspaceDeviceHandler* owner) : TemplateAction(owner, GomspaceCommands::PING) {}
|
|
};
|
|
|
|
class NoneAction : public TemplateAction<GomspaceDeviceHandler, NoneAction, GomspaceCommands> {
|
|
public:
|
|
NoneAction(GomspaceDeviceHandler* owner) : TemplateAction(owner, GomspaceCommands::NONE) {}
|
|
};
|
|
|
|
class RebootAction : public TemplateAction<GomspaceDeviceHandler, RebootAction, GomspaceCommands> {
|
|
public:
|
|
RebootAction(GomspaceDeviceHandler* owner) : TemplateAction(owner, GomspaceCommands::REBOOT) {}
|
|
};
|
|
|
|
class GndwdtResetAction
|
|
: public TemplateAction<GomspaceDeviceHandler, GndwdtResetAction, GomspaceCommands> {
|
|
public:
|
|
GndwdtResetAction(GomspaceDeviceHandler* owner)
|
|
: TemplateAction(owner, GomspaceCommands::GNDWDT_RESET) {}
|
|
};
|
|
|
|
class ParamGetAction
|
|
: public TemplateAction<GomspaceDeviceHandler, ParamGetAction, GomspaceCommands> {
|
|
public:
|
|
ParamGetAction(GomspaceDeviceHandler* owner)
|
|
: TemplateAction(owner, GomspaceCommands::PARAM_GET) {}
|
|
};
|
|
|
|
class ParamSetAction
|
|
: public TemplateAction<GomspaceDeviceHandler, ParamSetAction, GomspaceCommands> {
|
|
public:
|
|
ParamSetAction(GomspaceDeviceHandler* owner)
|
|
: TemplateAction(owner, GomspaceCommands::PARAM_SET) {}
|
|
};
|
|
|
|
class RequestHkTableAction
|
|
: public TemplateAction<GomspaceDeviceHandler, RequestHkTableAction, GomspaceCommands> {
|
|
public:
|
|
RequestHkTableAction(GomspaceDeviceHandler* owner)
|
|
: TemplateAction(owner, GomspaceCommands::REQUEST_HK_TABLE) {}
|
|
};
|
|
|
|
class PrintSwitchVIAction
|
|
: public TemplateAction<GomspaceDeviceHandler, PrintSwitchVIAction, GomspaceCommands> {
|
|
public:
|
|
PrintSwitchVIAction(GomspaceDeviceHandler* owner)
|
|
: TemplateAction(owner, GomspaceCommands::PRINT_SWITCH_V_I) {}
|
|
};
|
|
|
|
class PrintLatchupsAction
|
|
: public TemplateAction<GomspaceDeviceHandler, PrintLatchupsAction, GomspaceCommands> {
|
|
public:
|
|
PrintLatchupsAction(GomspaceDeviceHandler* owner)
|
|
: TemplateAction(owner, GomspaceCommands::PRINT_LATCHUPS) {}
|
|
}; |