Searched refs:IWelsTask (Results 1 – 8 of 8) sorted by relevance
67 virtual WELS_THREAD_ERROR_CODE OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask);68 virtual WELS_THREAD_ERROR_CODE OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask);73 WELS_THREAD_ERROR_CODE QueueTask (IWelsTask* pTask);88 bool AddTaskToWaitedList (IWelsTask* pTask);90 IWelsTask* GetWaitedTask();106 CWelsNonDuplicatedList<IWelsTask>* m_cWaitedTasks;
55 virtual WELS_THREAD_ERROR_CODE OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;56 virtual WELS_THREAD_ERROR_CODE OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;64 WELS_THREAD_ERROR_CODE SetTask (IWelsTask* pTask);74 IWelsTask* m_pTask;
54 class IWelsTask {56 IWelsTask (IWelsTaskSink* pSink) { in IWelsTask() function59 virtual ~IWelsTask() { } in ~IWelsTask()
134 WELS_THREAD_ERROR_CODE CWelsThreadPool::OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) { in OnTaskStart()140 WELS_THREAD_ERROR_CODE CWelsThreadPool::OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) { in OnTaskStop()167 m_cWaitedTasks = new CWelsNonDuplicatedList<IWelsTask>(); in Init()232 IWelsTask* pTask = NULL; in ExecuteTask()251 WELS_THREAD_ERROR_CODE CWelsThreadPool::QueueTask (IWelsTask* pTask) { in QueueTask()319 bool CWelsThreadPool::AddTaskToWaitedList (IWelsTask* pTask) { in AddTaskToWaitedList()351 IWelsTask* CWelsThreadPool::GetWaitedTask() { in GetWaitedTask()358 IWelsTask* pTask = m_cWaitedTasks->begin(); in GetWaitedTask()370 IWelsTask* pTask = NULL; in ClearWaitedTasks()
72 WELS_THREAD_ERROR_CODE CWelsTaskThread::SetTask (WelsCommon::IWelsTask* pTask) { in SetTask()
17 virtual int32_t OnTaskExecuted (IWelsTask* pTask) { in OnTaskExecuted()24 virtual int32_t OnTaskCancelled (IWelsTask* pTask) { in OnTaskCancelled()56 class CSimpleTask : public IWelsTask {60 CSimpleTask (WelsCommon::IWelsTaskSink* pSink) : IWelsTask (pSink) { in CSimpleTask()
15 CWelsList<IWelsTask>* pTaskList; in TEST()16 pTaskList = new CWelsList<IWelsTask>(); in TEST()22 IWelsTask* pCurTask; in TEST()
51 class CWelsBaseTask : public WelsCommon::IWelsTask {63 CWelsBaseTask (WelsCommon::IWelsTaskSink* pSink): IWelsTask (pSink) {}; in CWelsBaseTask()