The Gaudi Framework  master (b9786168)
Loading...
Searching...
No Matches
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
 The AlgsExecutionStates encodes the state machine for the execution of algorithms within a single event. More...
 

Functions

std::ostream & operator<< (std::ostream &s, AlgsExecutionStates::State x)
 Streaming of State values.
 

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}
State
Execution states of the algorithms Must have contiguous integer values 0, 1... N.