tf::TaskView class | Taskflow QuickStart

# tf::TaskView class

class to access task information from the observer interface

## Public functions

auto name() const -> const std::string&
  queries the name of the task
auto num_successors() const -> size_t
  queries the number of successors of the task
auto num_dependents() const -> size_t
  queries the number of predecessors of the task
auto num_strong_dependents() const -> size_t
  queries the number of strong dependents of the task
auto num_weak_dependents() const -> size_t
  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
auto type() const -> TaskType
  queries the task type
auto hash_value() const -> size_t
  obtains a hash value of the underlying node

Tab / T to search, Esc to close
…

Search for symbols, directories, files, pages or modules. You can omit any prefix from the symbol or file path; adding a `:` or `/` suffix lists all members of given symbol or directory.

Use ↓ / ↑ to navigate through the list, Enter to go. Tab autocompletes common prefix, you can copy a link to the result using ⌘ L while ⌘ M produces a Markdown link.

Sorry, nothing was found.