From 255d4a90a9861cc448a60be31e2e2f45f741d234 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 3 Feb 2021 22:23:31 +0100 Subject: [PATCH] extended controller base --- controller/CMakeLists.txt | 6 +++--- controller/ExtendedControllerBase.cpp | 3 +++ controller/ExtendedControllerBase.h | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/controller/CMakeLists.txt b/controller/CMakeLists.txt index b7624d98..550acfcd 100644 --- a/controller/CMakeLists.txt +++ b/controller/CMakeLists.txt @@ -1,4 +1,4 @@ -target_sources(${LIB_FSFW_NAME} - PRIVATE - ControllerBase.cpp +target_sources(${LIB_FSFW_NAME} PRIVATE + ControllerBase.cpp + ExtendedControllerBase.cpp ) \ No newline at end of file diff --git a/controller/ExtendedControllerBase.cpp b/controller/ExtendedControllerBase.cpp index 397c8c10..cc93efa8 100644 --- a/controller/ExtendedControllerBase.cpp +++ b/controller/ExtendedControllerBase.cpp @@ -8,6 +8,9 @@ ExtendedControllerBase::ExtendedControllerBase(object_id_t objectId, actionHelper(this, commandQueue) { } +ExtendedControllerBase::~ExtendedControllerBase() { +} + ReturnValue_t ExtendedControllerBase::executeAction(ActionId_t actionId, MessageQueueId_t commandedBy, const uint8_t *data, size_t size) { // needs to be overriden and implemented by child class. diff --git a/controller/ExtendedControllerBase.h b/controller/ExtendedControllerBase.h index bcb414dd..ae59b758 100644 --- a/controller/ExtendedControllerBase.h +++ b/controller/ExtendedControllerBase.h @@ -22,6 +22,7 @@ class ExtendedControllerBase: public ControllerBase, public: ExtendedControllerBase(object_id_t objectId, object_id_t parentId, size_t commandQueueDepth = 3); + virtual ~ExtendedControllerBase(); /** SystemObjectIF overrides */ virtual ReturnValue_t initialize() override;