docs/classtf_1_1TaskView.html
class to access task information from the observer interface
auto name() const -> const std::string&queries the name of the taskauto num_successors() const -> size_tqueries the number of successors of the taskauto num_predecessors() const -> size_tqueries the number of predecessors of the taskauto num_strong_dependencies() const -> size_tqueries the number of strong dependencies of the taskauto num_weak_dependencies() const -> size_tqueries the number of weak dependencies of the task template<typename V> void for_each_successor(V&& visitor) constapplies an visitor callable to each successor of the task template<typename V> void for_each_predecessor(V&& visitor) constapplies an visitor callable to each predecessor of the taskauto type() const -> TaskTypequeries the task typeauto hash_value() const -> size_tobtains a hash value of the underlying node
applies an visitor callable to each successor of the task
| Template parameters |
|---|
| V |
| Parameters |
| --- |
| visitor |
This method allows you to traverse and inspect successor tasks of this task.
applies an visitor callable to each predecessor of the task
| Template parameters |
|---|
| V |
| Parameters |
| --- |
| visitor |
This method allows you to traverse and inspect predecessor tasks of this task.