MMCore 10.1.1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TaskSet Class Reference
Inheritance diagram for TaskSet:
TaskSet_CopyMemory

Public Member Functions

 TaskSet (std::shared_ptr< ThreadPool > pool)
 
 TaskSet (const TaskSet &)=delete
 
TaskSetoperator= (const TaskSet &)=delete
 
size_t GetUsedTaskCount () const
 
virtual void Execute ()
 
virtual void Wait ()
 

Protected Member Functions

template<class T , typename std::enable_if< std::is_base_of< Task, T >::value, int >::type = 0>
void CreateTasks ()
 

Protected Attributes

const std::shared_ptr< ThreadPoolpool_
 
const std::shared_ptr< Semaphoresemaphore_
 
std::vector< Task * > tasks_ {}
 
size_t usedTaskCount_ { 0 }
 

The documentation for this class was generated from the following files: