#include <src/PRGraph/Visitors/Promoters.h>
Definition at line 11 of file Promoters.h.
◆ DataReadyPromoter()
concurrency::DataReadyPromoter::DataReadyPromoter |
( |
EventSlot & |
slot, |
|
|
const Cause & |
cause, |
|
|
bool |
ifTrace = false |
|
) |
| |
|
inline |
◆ visit() [1/7]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [2/7]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [3/7]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [4/7]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [5/7]
bool concurrency::DataReadyPromoter::visit |
( |
AlgorithmNode & |
node | ) |
|
|
overridevirtual |
Reimplemented from concurrency::IGraphVisitor.
Definition at line 22 of file Promoters.cpp.
26 for (
auto dataNode : node.getInputDataNodes() ) {
28 result = dataNode->accept( *
this );
42 node.m_graph->addEdgeToPrecTrace( sourceNode, &node );
StatusCode set(unsigned int iAlgo, State newState)
AlgsExecutionStates algsStates
Vector of algorithms states.
◆ visit() [6/7]
bool concurrency::DataReadyPromoter::visit |
( |
DataNode & |
node | ) |
|
|
overridevirtual |
Reimplemented from concurrency::IGraphVisitor.
Definition at line 54 of file Promoters.cpp.
58 auto const& producers = node.getProducers();
59 for (
auto algoNode : producers ) {
61 if ( AState::EVTACCEPTED ==
state || AState::EVTREJECTED ==
state ) {
68 for (
auto algoNode : producers ) {
70 if ( AState::EVTACCEPTED ==
state || AState::EVTREJECTED ==
state ) {
EventSlot * parentSlot
Pointer to parent slot (null for top level)
AlgsExecutionStates algsStates
Vector of algorithms states.
◆ visit() [7/7]
bool concurrency::DataReadyPromoter::visit |
( |
ConditionNode & |
node | ) |
|
|
overridevirtual |
◆ visitEnter() [1/7]
virtual bool concurrency::IGraphVisitor::visitEnter |
|
inline |
◆ visitEnter() [2/7]
virtual bool concurrency::IGraphVisitor::visitEnter |
|
inline |
◆ visitEnter() [3/7]
virtual bool concurrency::IGraphVisitor::visitEnter |
|
inline |
◆ visitEnter() [4/7]
virtual bool concurrency::IGraphVisitor::visitEnter |
|
inline |
◆ visitEnter() [5/7]
bool concurrency::DataReadyPromoter::visitEnter |
( |
AlgorithmNode & |
node | ) |
const |
|
overridevirtual |
◆ visitEnter() [6/7]
bool concurrency::DataReadyPromoter::visitEnter |
( |
DataNode & |
| ) |
const |
|
overridevirtual |
◆ visitEnter() [7/7]
bool concurrency::DataReadyPromoter::visitEnter |
( |
ConditionNode & |
node | ) |
const |
|
overridevirtual |
◆ m_cause
Cause concurrency::DataReadyPromoter::m_cause |
◆ m_slot
EventSlot* concurrency::DataReadyPromoter::m_slot |
◆ m_trace
bool concurrency::DataReadyPromoter::m_trace |
The documentation for this class was generated from the following files: