extended controller base
This commit is contained in:
parent
f7c1aae464
commit
255d4a90a9
@ -1,4 +1,4 @@
|
|||||||
target_sources(${LIB_FSFW_NAME}
|
target_sources(${LIB_FSFW_NAME} PRIVATE
|
||||||
PRIVATE
|
ControllerBase.cpp
|
||||||
ControllerBase.cpp
|
ExtendedControllerBase.cpp
|
||||||
)
|
)
|
@ -8,6 +8,9 @@ ExtendedControllerBase::ExtendedControllerBase(object_id_t objectId,
|
|||||||
actionHelper(this, commandQueue) {
|
actionHelper(this, commandQueue) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ExtendedControllerBase::~ExtendedControllerBase() {
|
||||||
|
}
|
||||||
|
|
||||||
ReturnValue_t ExtendedControllerBase::executeAction(ActionId_t actionId,
|
ReturnValue_t ExtendedControllerBase::executeAction(ActionId_t actionId,
|
||||||
MessageQueueId_t commandedBy, const uint8_t *data, size_t size) {
|
MessageQueueId_t commandedBy, const uint8_t *data, size_t size) {
|
||||||
// needs to be overriden and implemented by child class.
|
// needs to be overriden and implemented by child class.
|
||||||
|
@ -22,6 +22,7 @@ class ExtendedControllerBase: public ControllerBase,
|
|||||||
public:
|
public:
|
||||||
ExtendedControllerBase(object_id_t objectId, object_id_t parentId,
|
ExtendedControllerBase(object_id_t objectId, object_id_t parentId,
|
||||||
size_t commandQueueDepth = 3);
|
size_t commandQueueDepth = 3);
|
||||||
|
virtual ~ExtendedControllerBase();
|
||||||
|
|
||||||
/** SystemObjectIF overrides */
|
/** SystemObjectIF overrides */
|
||||||
virtual ReturnValue_t initialize() override;
|
virtual ReturnValue_t initialize() override;
|
||||||
|
Loading…
Reference in New Issue
Block a user