VOX
A little voxel engine
Loading...
Searching...
No Matches
task::Executor Class Reference

#include <Executor.hpp>

Collaboration diagram for task::Executor:
Collaboration graph

Public Member Functions

 ~Executor ()
 
 Executor (const Executor &)=delete
 
Executoroperator= (const Executor &)=delete
 
 Executor (Executor &&)=delete
 
Executoroperator= (Executor &&)=delete
 
std::future< void > run (std::shared_ptr< TaskGraph > graph)
 
template<typename F >
std::future< void > run (F &&f)
 
void waitForAll ()
 

Static Public Member Functions

static ExecutorgetInstance ()
 

Friends

class TaskNode
 
class TaskGraph
 

Constructor & Destructor Documentation

◆ ~Executor()

task::Executor::~Executor ( )

◆ Executor() [1/2]

task::Executor::Executor ( const Executor )
delete

◆ Executor() [2/2]

task::Executor::Executor ( Executor &&  )
delete

Member Function Documentation

◆ getInstance()

static Executor & task::Executor::getInstance ( )
inlinestatic

◆ operator=() [1/2]

Executor & task::Executor::operator= ( const Executor )
delete

◆ operator=() [2/2]

Executor & task::Executor::operator= ( Executor &&  )
delete

◆ run() [1/2]

template<typename F >
std::future< void > task::Executor::run ( F &&  f)
inline

◆ run() [2/2]

std::future< void > task::Executor::run ( std::shared_ptr< TaskGraph graph)

◆ waitForAll()

void task::Executor::waitForAll ( )

Friends And Related Function Documentation

◆ TaskGraph

friend class TaskGraph
friend

◆ TaskNode

friend class TaskNode
friend

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