added a generic way to add a custom check
This commit is contained in:
@ -139,6 +139,8 @@ public:
|
||||
*/
|
||||
ReturnValue_t checkSequence() const;
|
||||
|
||||
void addCustomCheck(ReturnValue_t (*customCheckFunction)(const SlotList &));
|
||||
|
||||
/**
|
||||
* @brief Perform any initialization steps required after the executing
|
||||
* task has been created. This function should be called from the
|
||||
@ -162,6 +164,8 @@ protected:
|
||||
*/
|
||||
SlotList slotList;
|
||||
|
||||
ReturnValue_t (*customCheckFunction)(const SlotList&) = nullptr;
|
||||
|
||||
uint32_t lengthMs;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user