The Gaudi Framework  master (d98a2936)
AlgsExecutionStates.h File Reference
#include <GaudiKernel/MsgStream.h>
#include <GaudiKernel/Service.h>
#include <algorithm>
#include <initializer_list>
#include <string>
#include <vector>
#include <boost/container/flat_set.hpp>
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
 

Functions

std::ostream & operator<< (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 99 of file AlgsExecutionStates.h.

99  {
101  switch ( x ) {
102  case State::INITIAL:
103  s << "INITIAL";
104  break;
105  case State::CONTROLREADY:
106  s << "CONTROLREADY";
107  break;
108  case State::DATAREADY:
109  s << "DATAREADY";
110  break;
111  case State::RESOURCELESS:
112  s << "RESOURCELESS";
113  break;
114  case State::SCHEDULED:
115  s << "SCHEDULED";
116  break;
117  case State::EVTACCEPTED:
118  s << "EVTACCEPTED";
119  break;
120  case State::EVTREJECTED:
121  s << "EVTREJECTED";
122  break;
123  case State::ERROR:
124  s << "ERROR";
125  break;
126  default:
127  s << "UNKNOWN";
128  }
129  return s;
130 }
gaudirun.s
string s
Definition: gaudirun.py:346
AlgExecState::State
State
Definition: IAlgExecStateSvc.h:23
MSG::ERROR
@ ERROR
Definition: IMessageSvc.h:22
AlgsExecutionStates::State
State
Execution states of the algorithms Must have contiguous integer values 0, 1...
Definition: AlgsExecutionStates.h:41