From ed71a3700435aa8532abd2764ddfa9d5be882235 Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Sat, 10 Oct 2020 20:11:20 +0200 Subject: [PATCH] get command queue override --- controller/ExtendedControllerBase.cpp | 4 ++++ controller/ExtendedControllerBase.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/controller/ExtendedControllerBase.cpp b/controller/ExtendedControllerBase.cpp index f3336e43..f69d2ea1 100644 --- a/controller/ExtendedControllerBase.cpp +++ b/controller/ExtendedControllerBase.cpp @@ -103,6 +103,10 @@ ReturnValue_t ExtendedControllerBase::performOperation(uint8_t opCode) { return RETURN_OK; } +MessageQueueId_t ExtendedControllerBase::getCommandQueue() const { + return commandQueue->getId(); +} + LocalPoolDataSetBase* ExtendedControllerBase::getDataSetHandle(sid_t sid) { sif::warning << "ExtendedControllerBase::getDataSetHandle: No child " << " implementation provided, returning nullptr!" << std::endl; diff --git a/controller/ExtendedControllerBase.h b/controller/ExtendedControllerBase.h index fa47950a..02c5728e 100644 --- a/controller/ExtendedControllerBase.h +++ b/controller/ExtendedControllerBase.h @@ -26,6 +26,8 @@ public: /** SystemObjectIF overrides */ virtual ReturnValue_t initialize() override; + virtual MessageQueueId_t getCommandQueue() const override; + /** ExecutableObjectIF overrides */ virtual ReturnValue_t performOperation(uint8_t opCode) override; virtual ReturnValue_t initializeAfterTaskCreation() override;