tf::TaskView
taskflow/core/task.hpp
class friend class Executor Executor tf::TaskView::Executor Executor
const Node & const Node& tf::TaskView::_node _node tf::TaskView::_node
const std::string & const std::string & tf::TaskView::name () const name tf::TaskView::name

queries the name of the task

size_t size_t tf::TaskView::num_successors () const num_successors tf::TaskView::num_successors

queries the number of successors of the task

size_t size_t tf::TaskView::num_dependents () const num_dependents tf::TaskView::num_dependents

queries the number of predecessors of the task

size_t size_t tf::TaskView::num_strong_dependents () const num_strong_dependents tf::TaskView::num_strong_dependents

queries the number of strong dependents of the task

size_t size_t tf::TaskView::num_weak_dependents () const num_weak_dependents tf::TaskView::num_weak_dependents

queries the number of weak dependents of the task

typename V
void void tf::TaskView::for_each_successor (V &&visitor) const for_each_successor tf::TaskView::for_each_successor V && visitor

applies an visitor callable to each successor of the task

typename V
void void tf::TaskView::for_each_dependent (V &&visitor) const for_each_dependent tf::TaskView::for_each_dependent V && visitor

applies an visitor callable to each dependents of the task

TaskType TaskType tf::TaskView::type () const type tf::TaskView::type

queries the task type

size_t size_t tf::TaskView::hash_value () const hash_value tf::TaskView::hash_value

obtains a hash value of the underlying node

tf::TaskView::TaskView
(const Node &)
TaskView
tf::TaskView::TaskView
const Node & node
tf::TaskView::TaskView
(const TaskView &)=default
TaskView
tf::TaskView::TaskView
const TaskView &

class to access task information from the observer interface

- tf::TaskView
  _node
- tf::TaskView
  Executor
- tf::TaskView
  for_each_dependent
- tf::TaskView
  for_each_successor
- tf::TaskView
  hash_value
- tf::TaskView
  name
- tf::TaskView
  num_dependents
- tf::TaskView
  num_strong_dependents
- tf::TaskView
  num_successors
- tf::TaskView
  num_weak_dependents
- tf::TaskView
  TaskView
- tf::TaskView
  TaskView
- tf::TaskView
  type