MMCore 10.1.1
mmcore::internal::TaskSet Class Reference
Inheritance diagram for mmcore::internal::TaskSet:
mmcore::internal::TaskSet_CopyMemory

Public Member Functions

 TaskSet (std::shared_ptr< ThreadPool > pool)
 TaskSet (const TaskSet &)=delete
TaskSet & operator= (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< ThreadPool > pool_
const std::shared_ptr< Semaphore > semaphore_
std::vector< std::unique_ptr< Task > > tasks_ {}
size_t usedTaskCount_ { 0 }

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