compiles, does not link yet
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit

This commit is contained in:
Ulrich Mohr 2022-08-17 19:19:49 +02:00
parent eb886dc53c
commit a3b5993fdc
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,5 @@
#pragma once
#include <fsfw/action/MinMaxParameter.h> #include <fsfw/action/MinMaxParameter.h>
#include <fsfw/action/TemplateAction.h> #include <fsfw/action/TemplateAction.h>
#include <fsfw/introspection/Enum.h> #include <fsfw/introspection/Enum.h>

View File

@ -79,6 +79,8 @@ ReturnValue_t PdecHandler::initialize() {
MessageQueueId_t PdecHandler::getCommandQueue() const { return commandQueue->getId(); } MessageQueueId_t PdecHandler::getCommandQueue() const { return commandQueue->getId(); }
ActionHelper* PdecHandler::getActionHelper() { return &actionHelper; }
void PdecHandler::writePdecConfig() { void PdecHandler::writePdecConfig() {
PdecConfig pdecConfig; PdecConfig pdecConfig;
@ -509,9 +511,7 @@ std::string PdecHandler::getMonStatusString(uint32_t status) {
} }
} }
ReturnValue_t PdecHandler::executeAction(Action* action) { ReturnValue_t PdecHandler::executeAction(Action* action) { return action->handle(); }
return action->handle();
}
ReturnValue_t PdecHandler::handleAction(PdecPrintClcwAction* action) { ReturnValue_t PdecHandler::handleAction(PdecPrintClcwAction* action) {
printClcw(); printClcw();

View File

@ -58,6 +58,7 @@ class PdecHandler : public SystemObject,
MessageQueueId_t getCommandQueue() const; MessageQueueId_t getCommandQueue() const;
ActionHelper *getActionHelper() override;
ReturnValue_t executeAction(Action* action) override; ReturnValue_t executeAction(Action* action) override;
ReturnValue_t handleAction(PdecPrintClcwAction * action); ReturnValue_t handleAction(PdecPrintClcwAction * action);
ReturnValue_t handleAction(PdecPrintMonAction * action); ReturnValue_t handleAction(PdecPrintMonAction * action);