#include </builds/gaudi/Gaudi/GaudiHive/src/PRGraph/Visitors/Promoters.h>
Definition at line 87 of file Promoters.h.
◆ RunSimulator()
concurrency::RunSimulator::RunSimulator |
( |
EventSlot & |
slot, |
|
|
const Cause & |
cause |
|
) |
| |
|
inline |
◆ reset()
void concurrency::RunSimulator::reset |
( |
| ) |
|
|
inlineoverridevirtual |
◆ visit() [1/6]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [2/6]
Reimplemented from concurrency::IGraphVisitor.
Definition at line 402 of file Promoters.cpp.
409 if ( AState::INITIAL == states[node.getAlgoIndex()] ) {
410 states.set( node.getAlgoIndex(), AState::CONTROLREADY ).ignore( );
411 if ( dataPromoter.visit( node ) ) {
412 states.set( node.getAlgoIndex(), AState::SCHEDULED ).ignore( );
413 states.set( node.getAlgoIndex(), AState::EVTACCEPTED ).ignore( );
419 }
else if ( AState::CONTROLREADY == states[node.getAlgoIndex()] && dataPromoter.visit( node ) ) {
420 states.set( node.getAlgoIndex(), AState::SCHEDULED ).ignore( );
421 states.set( node.getAlgoIndex(), AState::EVTACCEPTED ).ignore( );
◆ visit() [3/6]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [4/6]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [5/6]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [6/6]
bool concurrency::RunSimulator::visit |
( |
DecisionNode & |
node | ) |
|
|
overridevirtual |
Reimplemented from concurrency::IGraphVisitor.
Definition at line 361 of file Promoters.cpp.
363 bool allChildDecisionsResolved =
true;
365 for (
const auto& child : node.getDaughters() ) {
367 child->accept( *
this );
370 if ( childDecision == -1 ) allChildDecisionsResolved =
false;
373 if ( !node.m_modeConcurrent && childDecision == -1 )
return false;
375 if ( childDecision == 1 && node.m_modeOR && node.m_modePromptDecision ) {
379 for (
auto parent : node.m_parents ) { parent->accept( *
this ); }
384 if ( allChildDecisionsResolved ) {
388 for (
auto parent : node.m_parents ) { parent->accept( *
this ); }
391 return allChildDecisionsResolved;
◆ visitEnter() [1/6]
virtual bool concurrency::IGraphVisitor::visitEnter |
|
inline |
◆ visitEnter() [2/6]
bool concurrency::RunSimulator::visitEnter |
( |
AlgorithmNode & |
node | ) |
const |
|
overridevirtual |
◆ visitEnter() [3/6]
virtual bool concurrency::IGraphVisitor::visitEnter |
|
inline |
◆ visitEnter() [4/6]
virtual bool concurrency::IGraphVisitor::visitEnter |
|
inline |
◆ visitEnter() [5/6]
virtual bool concurrency::IGraphVisitor::visitEnter |
|
inline |
◆ visitEnter() [6/6]
bool concurrency::RunSimulator::visitEnter |
( |
DecisionNode & |
node | ) |
const |
|
overridevirtual |
◆ m_cause
Cause concurrency::RunSimulator::m_cause |
◆ m_nodesSucceeded
int concurrency::RunSimulator::m_nodesSucceeded { 0 } |
◆ m_slot
The documentation for this class was generated from the following files: