Taskflow  3.2.0-Master-Branch
Loading...
Searching...
No Matches
tf::TaskView Class Reference

class to access task information from the observer interface More...

#include <task.hpp>

Public Member Functions

const std::stringname () const
 queries the name of the task
 
size_t num_successors () const
 queries the number of successors of the task
 
size_t num_dependents () const
 queries the number of predecessors of the task
 
size_t num_strong_dependents () const
 queries the number of strong dependents of the task
 
size_t num_weak_dependents () const
 queries the number of weak dependents of the task
 
template<typename V >
void for_each_successor (V &&visitor) const
 applies an visitor callable to each successor of the task
 
template<typename V >
void for_each_dependent (V &&visitor) const
 applies an visitor callable to each dependents of the task
 
TaskType type () const
 queries the task type
 
size_t hash_value () const
 obtains a hash value of the underlying node
 

Friends

class Executor
 

Detailed Description

class to access task information from the observer interface


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