![]() |
Taskflow
3.2.0-Master-Branch
|
class to access task information from the observer interface More...
#include <task.hpp>
Public Member Functions | |
const std::string & | name () 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 |
class to access task information from the observer interface