The Gaudi Framework  v36r1 (3e2fb5a8)
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
 
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 121 of file AlgsExecutionStates.h.

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