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

#include <TaskGraph.hpp>

Inheritance diagram for task::TaskGraph:
Inheritance graph
Collaboration diagram for task::TaskGraph:
Collaboration graph

Public Member Functions

 TaskGraph (Private)
 
std::shared_ptr< TaskGraphgetPtr ()
 
 ~TaskGraph ()
 
 TaskGraph (const TaskGraph &)=delete
 
TaskGraphoperator= (const TaskGraph &)=delete
 
 TaskGraph (TaskGraph &&)=default
 
TaskGraphoperator= (TaskGraph &&)=default
 
template<typename F >
Task emplace (F &&task)
 
Task emplace (std::shared_ptr< TaskGraph > graph)
 
void clear ()
 
bool empty ()
 

Static Public Member Functions

static std::shared_ptr< TaskGraphcreate ()
 

Friends

class TaskNode
 
class task::Executor
 

Constructor & Destructor Documentation

◆ TaskGraph() [1/3]

task::TaskGraph::TaskGraph ( Private  )
inline

◆ ~TaskGraph()

task::TaskGraph::~TaskGraph ( )
inline

◆ TaskGraph() [2/3]

task::TaskGraph::TaskGraph ( const TaskGraph )
delete

◆ TaskGraph() [3/3]

task::TaskGraph::TaskGraph ( TaskGraph &&  )
default

Member Function Documentation

◆ clear()

void task::TaskGraph::clear ( )
inline

◆ create()

static std::shared_ptr< TaskGraph > task::TaskGraph::create ( )
inlinestatic

◆ emplace() [1/2]

template<typename F >
Task task::TaskGraph::emplace ( F &&  task)
inline

◆ emplace() [2/2]

Task task::TaskGraph::emplace ( std::shared_ptr< TaskGraph graph)
inline

◆ empty()

bool task::TaskGraph::empty ( )
inline

◆ getPtr()

std::shared_ptr< TaskGraph > task::TaskGraph::getPtr ( )
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

TaskGraph & task::TaskGraph::operator= ( TaskGraph &&  )
default

Friends And Related Function Documentation

◆ task::Executor

friend class task::Executor
friend

◆ TaskNode

friend class TaskNode
friend

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