#include <src/PRGraphVisitors.h>
Definition at line 10 of file PRGraphVisitors.h.
concurrency::DataReadyPromoter::DataReadyPromoter |
( |
EventSlot & |
slot, |
|
|
const Cause & |
cause, |
|
|
bool |
ifTrace = false |
|
) |
| |
|
inline |
bool concurrency::DataReadyPromoter::visit |
( |
AlgorithmNode & |
node | ) |
|
|
overridevirtual |
Reimplemented from concurrency::IGraphVisitor.
Definition at line 21 of file PRGraphVisitors.cpp.
25 for (
auto dataNode : node.getInputDataNodes() ) {
27 result = dataNode->accept( *
this );
41 node.m_graph->addEdgeToPrecTrace( sourceNode, &node );
StatusCode set(unsigned int iAlgo, State newState)
AlgsExecutionStates algsStates
Vector of algorithms states.
bool concurrency::DataReadyPromoter::visit |
( |
DataNode & |
node | ) |
|
|
overridevirtual |
Reimplemented from concurrency::IGraphVisitor.
Definition at line 53 of file PRGraphVisitors.cpp.
57 auto const& producers = node.getProducers();
58 for (
auto algoNode : producers ) {
60 if ( AState::EVTACCEPTED ==
state || AState::EVTREJECTED ==
state ) {
67 for (
auto algoNode : producers ) {
69 if ( AState::EVTACCEPTED ==
state || AState::EVTREJECTED ==
state ) {
EventSlot * parentSlot
Pointer to parent slot (null for top level)
AlgsExecutionStates algsStates
Vector of algorithms states.
bool concurrency::DataReadyPromoter::visit |
( |
ConditionNode & |
node | ) |
|
|
overridevirtual |
bool concurrency::DataReadyPromoter::visitEnter |
( |
AlgorithmNode & |
node | ) |
const |
|
overridevirtual |
bool concurrency::DataReadyPromoter::visitEnter |
( |
DataNode & |
| ) |
const |
|
overridevirtual |
bool concurrency::DataReadyPromoter::visitEnter |
( |
ConditionNode & |
node | ) |
const |
|
overridevirtual |
Cause concurrency::DataReadyPromoter::m_cause |
EventSlot* concurrency::DataReadyPromoter::m_slot |
bool concurrency::DataReadyPromoter::m_trace |
The documentation for this class was generated from the following files: