commented out all new hk manager components

This commit is contained in:
Robin Müller 2020-07-16 12:57:29 +02:00
parent 36f7cf2caf
commit c9bc022941
2 changed files with 20 additions and 20 deletions

View File

@ -191,14 +191,14 @@ ReturnValue_t DeviceHandlerBase::initialize() {
return result; return result;
} }
if(hkDestination == objects::NO_OBJECT) { // if(hkDestination == objects::NO_OBJECT) {
hkDestination = defaultHkDestination; // hkDestination = defaultHkDestination;
} // }
//
result = hkManager.initialize(commandQueue, hkDestination); // result = hkManager.initialize(commandQueue, hkDestination);
if (result != HasReturnvaluesIF::RETURN_OK) { // if (result != HasReturnvaluesIF::RETURN_OK) {
return result; // return result;
} // }
fillCommandAndReplyMap(); fillCommandAndReplyMap();
@ -262,10 +262,10 @@ void DeviceHandlerBase::readCommandQueue() {
return; return;
} }
result = hkManager.handleHousekeepingMessage(&command); // result = hkManager.handleHousekeepingMessage(&command);
if (result == RETURN_OK) { // if (result == RETURN_OK) {
return; // return;
} // }
result = handleDeviceHandlerMessage(&command); result = handleDeviceHandlerMessage(&command);
if (result == RETURN_OK) { if (result == RETURN_OK) {

View File

@ -17,8 +17,8 @@
#include <framework/health/HealthHelper.h> #include <framework/health/HealthHelper.h>
#include <framework/parameters/ParameterHelper.h> #include <framework/parameters/ParameterHelper.h>
#include <framework/datapool/HkSwitchHelper.h> #include <framework/datapool/HkSwitchHelper.h>
#include <framework/datapoollocal/HasLocalDataPoolIF.h> //#include <framework/datapoollocal/HasLocalDataPoolIF.h>
#include <framework/datapoollocal/LocalDataPoolManager.h> //#include <framework/datapoollocal/LocalDataPoolManager.h>
#include <framework/devicehandlers/DeviceHandlerFailureIsolation.h> #include <framework/devicehandlers/DeviceHandlerFailureIsolation.h>
#include <map> #include <map>
@ -86,8 +86,8 @@ class DeviceHandlerBase: public DeviceHandlerIF,
public HasModesIF, public HasModesIF,
public HasHealthIF, public HasHealthIF,
public HasActionsIF, public HasActionsIF,
public ReceivesParameterMessagesIF, public ReceivesParameterMessagesIF
public HasLocalDataPoolIF { /* public HasLocalDataPoolIF */ {
friend void (Factory::setStaticFrameworkObjectIds)(); friend void (Factory::setStaticFrameworkObjectIds)();
public: public:
/** /**
@ -480,11 +480,11 @@ protected:
* @param localDataPoolMap * @param localDataPoolMap
* @return * @return
*/ */
virtual ReturnValue_t initializePoolEntries( //virtual ReturnValue_t initializePoolEntries(
LocalDataPool& localDataPoolMap) override; // LocalDataPool& localDataPoolMap) override;
/** Get the HK manager object handle */ /** Get the HK manager object handle */
virtual LocalDataPoolManager* getHkManagerHandle() override; //virtual LocalDataPoolManager* getHkManagerHandle() override;
/** /**
* @brief Hook function for child handlers which is called once per * @brief Hook function for child handlers which is called once per
@ -611,7 +611,7 @@ protected:
/** Action helper for HasActionsIF */ /** Action helper for HasActionsIF */
ActionHelper actionHelper; ActionHelper actionHelper;
/** Housekeeping Manager */ /** Housekeeping Manager */
LocalDataPoolManager hkManager; //LocalDataPoolManager hkManager;
/** /**
* @brief Information about commands * @brief Information about commands