Inherited by tpie::pipelining::bits::pipe_nonterm_base< child_t >, and tpie::pipelining::bits::pipe_term_base< child_t, fact_t >.
Public Member Functions | |
| pipe_base (pipe_base &other)=delete | |
| pipe_base (pipe_base &&other)=default | |
| pipe_base & | operator= (pipe_base &other)=delete |
| pipe_base & | operator= (pipe_base &&other)=default |
| child_t | memory (double amount) |
| Set memory fraction for this node in the pipeline phase. More... | |
| double | memory () const |
| Get memory fraction for this node in the pipeline phase. More... | |
| child_t | name (const std::string &n, priority_type p=PRIORITY_USER) |
| Set name for this node. More... | |
| child_t | phase_name (const std::string &n, priority_type p=PRIORITY_USER) |
| Set name for this phase. More... | |
| child_t | add_to_set (node_set s) |
| Get a refenerce to this node. More... | |
| child_t | add_dependencies (node_set s) |
| Add a depencency to a referenced node. More... | |
| child_t | add_forwarding_dependencies (node_set s) |
| Add a forwarding dependency to a referenced node. More... | |
| child_t | breadcrumb (const std::string &n) |
| Set a prefix for the name of this node. More... | |
| child_t | forward_any (const std::string &key, any_noncopyable value) |
| template<typename T > | |
| child_t | forward (const std::string &key, T value) |
Protected Member Functions | |
| child_t & | self () |
| const child_t & | self () const |
Definition at line 45 of file pipe_base.h.
|
inline |
Add a depencency to a referenced node.
Definition at line 125 of file pipe_base.h.
|
inline |
Add a forwarding dependency to a referenced node.
Definition at line 135 of file pipe_base.h.
|
inline |
Get a refenerce to this node.
This reference can be used to call add_dependency on another node
Definition at line 115 of file pipe_base.h.
|
inline |
Set a prefix for the name of this node.
The name is used in the GraphViz plot generated by pipeline::plot.
Definition at line 147 of file pipe_base.h.
|
inline |
Get memory fraction for this node in the pipeline phase.
Definition at line 74 of file pipe_base.h.
|
inline |
Set memory fraction for this node in the pipeline phase.
In the absence of minimum and maximum memory requirements set by node implementations, the memory assigned to the node will be proportional to the amount parameter which sets the memory priority of this node in relation to the rest of the phase.
Definition at line 63 of file pipe_base.h.
|
inline |
Set name for this node.
The name is used in the GraphViz plot generated by pipeline::plot.
The name priority given in the second argument should indicate how important this node is for the current phase, and is used in naming the progress indicator for this phase. The node with the highest priority name gets to name the entire phase.
Definition at line 90 of file pipe_base.h.
Referenced by tpie::pipelining::serialization_sort(), tpie::pipelining::sort(), and tpie::pipelining::store_sort().
|
inline |
Set name for this phase.
The maximal priority phase name given for a phase wins.
Definition at line 102 of file pipe_base.h.