The Gaudi Framework  v30r3 (a5ef0a68)
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

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

Streaming of State values.

Definition at line 117 of file AlgsExecutionStates.h.

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