The Gaudi Framework  v32r0 (3325bb39)
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 109 of file AlgsExecutionStates.h.

109  {
111  switch ( x ) {
112  case State::INITIAL:
113  s << "INITIAL";
114  break;
115  case State::CONTROLREADY:
116  s << "CONTROLREADY";
117  break;
118  case State::DATAREADY:
119  s << "DATAREADY";
120  break;
121  case State::RESOURCELESS:
122  s << "RESOURCELESS";
123  break;
124  case State::SCHEDULED:
125  s << "SCHEDULED";
126  break;
127  case State::EVTACCEPTED:
128  s << "EVTACCEPTED";
129  break;
130  case State::EVTREJECTED:
131  s << "EVTREJECTED";
132  break;
133  case State::ERROR:
134  s << "ERROR";
135  break;
136  default:
137  s << "UNKNOWN";
138  }
139  return s;
140 }
State
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm, Service, AlgTool).
Definition: StateMachine.h:12
State
Execution states of the algorithms.
string s
Definition: gaudirun.py:316