The Gaudi Framework  v30r3 (a5ef0a68)
precedence::CFDecision Struct Reference

#include <src/PrecedenceRulesGraph.h>

Inheritance diagram for precedence::CFDecision:
Collaboration diagram for precedence::CFDecision:

Public Member Functions

 CFDecision (const EventSlot &slot)
 
std::string operator() (const AlgoProps &props) const
 
std::string operator() (const DecisionHubProps &props) const
 
std::string operator() (const DataProps &) const
 

Public Attributes

EventSlot m_slot
 

Detailed Description

Definition at line 183 of file PrecedenceRulesGraph.h.

Constructor & Destructor Documentation

precedence::CFDecision::CFDecision ( const EventSlot slot)
inline

Definition at line 184 of file PrecedenceRulesGraph.h.

184 : m_slot( slot ) {}

Member Function Documentation

std::string precedence::CFDecision::operator() ( const AlgoProps props) const
inline

Definition at line 186 of file PrecedenceRulesGraph.h.

187  {
188  return std::to_string( m_slot.controlFlowState.at( props.m_nodeIndex ) );
189  }
T to_string(T...args)
T at(T...args)
std::vector< int > controlFlowState
State of the control flow.
Definition: EventSlot.h:53
std::string precedence::CFDecision::operator() ( const DecisionHubProps props) const
inline

Definition at line 191 of file PrecedenceRulesGraph.h.

192  {
193  return std::to_string( m_slot.controlFlowState.at( props.m_nodeIndex ) );
194  }
T to_string(T...args)
T at(T...args)
std::vector< int > controlFlowState
State of the control flow.
Definition: EventSlot.h:53
std::string precedence::CFDecision::operator() ( const DataProps ) const
inline

Definition at line 196 of file PrecedenceRulesGraph.h.

196 { return ""; }

Member Data Documentation

EventSlot precedence::CFDecision::m_slot

Definition at line 198 of file PrecedenceRulesGraph.h.


The documentation for this struct was generated from the following file: