40 #ifndef WORK_QUEUE_HPP_ 41 #define WORK_QUEUE_HPP_ 51 #define DEFAULT_MAX_WORK_ITEMS 10 52 #define DEFAULT_WORK_QUEUE_STACK_SIZE (configMINIMAL_STACK_SIZE * 2) 53 #define DEFAULT_WORK_QUEUE_PRIORITY (tskIDLE_PRIORITY + 1) 87 WorkItem(
bool freeAfterComplete =
false);
104 virtual void Run() = 0;
163 #if (INCLUDE_vTaskDelete == 1) 177 #if __cplusplus >= 201103L 211 UBaseType_t Priority,
215 UBaseType_t Priority,
const WorkQueue * ParentWorkQueue
const bool FreeItemAfterCompleted
WorkItem(bool freeAfterComplete=false)
CWorkerThread * WorkerThread
#define DEFAULT_WORK_QUEUE_STACK_SIZE
#define DEFAULT_WORK_QUEUE_PRIORITY
BinarySemaphore * ThreadComplete
#define DEFAULT_MAX_WORK_ITEMS