Fresh DHB pre-queue check hook #162

Merged
muellerr merged 2 commits from fresh-dhb-pre-queue-hook into develop 2023-11-29 14:18:24 +01:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit c02d9e009e - Show all commits

View File

@ -28,7 +28,7 @@ FreshDeviceHandlerBase::~FreshDeviceHandlerBase() {
}
ReturnValue_t FreshDeviceHandlerBase::performOperation(uint8_t opCode) {
performDeviceOperationPreQueueHandling();
performDeviceOperationPreQueueHandling(opCode);
handleQueue();
performDeviceOperation(opCode);
poolManager.performHkOperation();

View File

@ -82,6 +82,12 @@ class FreshDeviceHandlerBase : public SystemObject,
MessageQueueIF* messageQueue;
/**
* The default queue handler will process all messages for the interfaces implemented
* by this class. If there are special requirements, for example that action commands are
* received on a different queue, the user can override this function for those special
* requirements.
*/
virtual ReturnValue_t handleQueue();
// Mode Helpers.