The Gaudi Framework  master (37c0b60a)
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::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 100 of file AlgsExecutionStates.h.

100  {
102  switch ( x ) {
103  case State::INITIAL:
104  s << "INITIAL";
105  break;
106  case State::CONTROLREADY:
107  s << "CONTROLREADY";
108  break;
109  case State::DATAREADY:
110  s << "DATAREADY";
111  break;
112  case State::RESOURCELESS:
113  s << "RESOURCELESS";
114  break;
115  case State::SCHEDULED:
116  s << "SCHEDULED";
117  break;
118  case State::EVTACCEPTED:
119  s << "EVTACCEPTED";
120  break;
121  case State::EVTREJECTED:
122  s << "EVTREJECTED";
123  break;
124  case State::ERROR:
125  s << "ERROR";
126  break;
127  default:
128  s << "UNKNOWN";
129  }
130  return s;
131 }
gaudirun.s
string s
Definition: gaudirun.py:346
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:42