#include </builds/gaudi/Gaudi/GaudiHive/src/PRGraph/Visitors/Promoters.h>
Definition at line 48 of file Promoters.h.
◆ DecisionUpdater()
concurrency::DecisionUpdater::DecisionUpdater |
( |
EventSlot & |
slot, |
|
|
const Cause & |
cause, |
|
|
bool |
ifTrace = false |
|
) |
| |
|
inline |
◆ visit() [1/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [2/5]
Reimplemented from concurrency::IGraphVisitor.
Definition at line 104 of file Promoters.cpp.
108 const int decision = [
state]() {
110 case AState::EVTACCEPTED:
112 case AState::EVTREJECTED:
119 if ( -1 == decision ) {
return false; }
124 for (
const auto&
output : node.getOutputDataNodes() )
125 for (
auto& consumer :
output->getConsumers() ) consumer->accept( promoter );
129 auto& parents = node.getParentDecisionHubs();
130 if ( parents.size() == 1 ) {
131 parents[0]->accept( vis );
133 auto scout = SubSlotScout(
m_slot, node );
134 for (
auto& p : parents ) {
136 if ( scout.reply() ) p->accept( vis );
140 auto scout = ActiveLineageScout(
m_slot, node );
141 for (
auto& p : parents ) {
143 if ( scout.reply() ) p->accept( vis );
◆ visit() [3/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [4/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [5/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ m_cause
Cause concurrency::DecisionUpdater::m_cause |
◆ m_slot
EventSlot* concurrency::DecisionUpdater::m_slot |
◆ m_trace
bool concurrency::DecisionUpdater::m_trace |
The documentation for this class was generated from the following files: