The Gaudi Framework  v29r0 (ff2e7097)
precedence::FSMState Struct Reference

#include <src/PrecedenceRulesGraph.h>

Inheritance diagram for precedence::FSMState:
Collaboration diagram for precedence::FSMState:

Public Member Functions

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

Public Attributes

EventSlot m_slot
 

Detailed Description

Definition at line 181 of file PrecedenceRulesGraph.h.

Constructor & Destructor Documentation

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

Definition at line 182 of file PrecedenceRulesGraph.h.

182 : m_slot( slot ) {}

Member Function Documentation

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

Definition at line 184 of file PrecedenceRulesGraph.h.

185  {
187  State state = m_slot.algsStates[props.m_algoIndex];
188  switch ( state ) {
189  case State::INITIAL:
190  return "INITIAL";
191  case State::CONTROLREADY:
192  return "CONTROLREADY";
193  case State::DATAREADY:
194  return "DATAREADY";
195  case State::EVTACCEPTED:
196  return "EVTACCEPTED";
197  case State::EVTREJECTED:
198  return "EVTREJECTED";
199  case State::ERROR:
200  return "ERROR";
201  default:
202  return "UKNOWN";
203  }
204  }
AlgsExecutionStates algsStates
Vector of algorithms states.
Definition: EventSlot.h:37
State
Execution states of the algorithms.
std::string precedence::FSMState::operator() ( const DecisionHubProps ) const
inline

Definition at line 206 of file PrecedenceRulesGraph.h.

206 { return ""; }
std::string precedence::FSMState::operator() ( const DataProps ) const
inline

Definition at line 208 of file PrecedenceRulesGraph.h.

208 { return ""; }

Member Data Documentation

EventSlot precedence::FSMState::m_slot

Definition at line 210 of file PrecedenceRulesGraph.h.


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