The Gaudi Framework  v33r0 (d5ea422b)
AlgsExecutionStates.h File Reference
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/Service.h"
#include <algorithm>
#include <initializer_list>
#include <iterator>
#include <string>
#include <vector>
Include dependency graph for AlgsExecutionStates.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AlgsExecutionStates
 The AlgsExecutionStates encodes the state machine for the execution of algorithms within a single event. More...
 
class  AlgsExecutionStates::Iterator
 

Functions

std::ostreamoperator<< (std::ostream &s, AlgsExecutionStates::State x)
 Streaming of State values. More...
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream s,
AlgsExecutionStates::State  x 
)
inline

Streaming of State values.

Definition at line 119 of file AlgsExecutionStates.h.

119  {
121  switch ( x ) {
122  case State::INITIAL:
123  s << "INITIAL";
124  break;
125  case State::CONTROLREADY:
126  s << "CONTROLREADY";
127  break;
128  case State::DATAREADY:
129  s << "DATAREADY";
130  break;
131  case State::RESOURCELESS:
132  s << "RESOURCELESS";
133  break;
134  case State::SCHEDULED:
135  s << "SCHEDULED";
136  break;
137  case State::EVTACCEPTED:
138  s << "EVTACCEPTED";
139  break;
140  case State::EVTREJECTED:
141  s << "EVTREJECTED";
142  break;
143  case State::ERROR:
144  s << "ERROR";
145  break;
146  default:
147  s << "UNKNOWN";
148  }
149  return s;
150 }
State
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm,...
Definition: StateMachine.h:22
State
Execution states of the algorithms.
string s
Definition: gaudirun.py:328