#include <graph.h>
Inherits dispenso::Node.
Public Member Functions | |
BiPropNode (const BiPropNode &)=delete | |
BiPropNode & | operator= (const BiPropNode &)=delete |
BiPropNode (BiPropNode &&other) noexcept | |
template<class... Ns> | |
void | biPropDependsOn (Ns &... nodes) |
bool | isSameSet (const BiPropNode &node) const |
Public Member Functions inherited from dispenso::Node | |
Node (const Node &)=delete | |
Node & | operator= (const Node &)=delete |
Node (Node &&other) noexcept | |
template<typename... Ns> | |
void | dependsOn (Ns &... nodes) |
void | run () const |
template<class F > | |
void | forEachDependent (F &&func) const |
template<class F > | |
void | forEachDependent (F &&func) |
size_t | numPredecessors () const |
bool | isCompleted () const |
bool | setIncomplete () const |
void | setCompleted () const |
Friends | |
template<class N > | |
class | SubgraphT |
Additional Inherited Members | |
Protected Member Functions inherited from dispenso::Node | |
template<class F , class X = std::enable_if_t<!std::is_base_of<Node, F>::value, void>> | |
Node (F &&f) | |
void | dependsOnOneNode (Node &node) |
Protected Attributes inherited from dispenso::Node | |
std::atomic< size_t > | numIncompletePredecessors_ |
size_t | numPredecessors_ = 0 |
Static Protected Attributes inherited from dispenso::Node | |
static constexpr size_t | kCompleted = std::numeric_limits<size_t>::max() |
Class to store task with dependencies. Support bidirectional propagation dependency between nodes.
|
inlinenoexcept |
|
inline |