Controller base missing a function
This commit is contained in:
parent
f9e9ff320f
commit
dd281f8a67
@ -8,9 +8,12 @@ ExtendedControllerBase::ExtendedControllerBase(object_id_t objectId, object_id_t
|
|||||||
|
|
||||||
ExtendedControllerBase::~ExtendedControllerBase() {}
|
ExtendedControllerBase::~ExtendedControllerBase() {}
|
||||||
|
|
||||||
|
ActionHelper *ExtendedControllerBase::getActionHelper() {
|
||||||
|
return &actionHelper;
|
||||||
|
}
|
||||||
|
|
||||||
ReturnValue_t ExtendedControllerBase::executeAction(Action *action) {
|
ReturnValue_t ExtendedControllerBase::executeAction(Action *action) {
|
||||||
/* Needs to be overriden and implemented by child class. */
|
return action->handle();
|
||||||
return HasReturnvaluesIF::RETURN_OK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object_id_t ExtendedControllerBase::getObjectId() const { return SystemObject::getObjectId(); }
|
object_id_t ExtendedControllerBase::getObjectId() const { return SystemObject::getObjectId(); }
|
||||||
|
@ -29,6 +29,10 @@ class ExtendedControllerBase : public ControllerBase,
|
|||||||
virtual ReturnValue_t performOperation(uint8_t opCode) override;
|
virtual ReturnValue_t performOperation(uint8_t opCode) override;
|
||||||
virtual ReturnValue_t initializeAfterTaskCreation() override;
|
virtual ReturnValue_t initializeAfterTaskCreation() override;
|
||||||
|
|
||||||
|
/* HasActionsIF overrides */
|
||||||
|
ActionHelper* getActionHelper() override;
|
||||||
|
ReturnValue_t executeAction(Action* actionId) override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
LocalDataPoolManager poolManager;
|
LocalDataPoolManager poolManager;
|
||||||
ActionHelper actionHelper;
|
ActionHelper actionHelper;
|
||||||
@ -49,9 +53,6 @@ class ExtendedControllerBase : public ControllerBase,
|
|||||||
/* Handle the four messages mentioned above */
|
/* Handle the four messages mentioned above */
|
||||||
void handleQueue() override;
|
void handleQueue() override;
|
||||||
|
|
||||||
/* HasActionsIF overrides */
|
|
||||||
virtual ReturnValue_t executeAction(Action* actionId) override;
|
|
||||||
|
|
||||||
/* HasLocalDatapoolIF overrides */
|
/* HasLocalDatapoolIF overrides */
|
||||||
virtual LocalDataPoolManager* getHkManagerHandle() override;
|
virtual LocalDataPoolManager* getHkManagerHandle() override;
|
||||||
virtual object_id_t getObjectId() const override;
|
virtual object_id_t getObjectId() const override;
|
||||||
|
Loading…
Reference in New Issue
Block a user