ifw-daq  1.0.0
IFW Data Acquisition modules
Namespaces | Enumerations | Functions
state.hpp File Reference

Declares daq::State and related functions. More...

#include <ostream>

Go to the source code of this file.

Namespaces

 daq
 

Enumerations

enum  daq::State {
  daq::State::NotStarted = 0, daq::State::Starting = 1, daq::State::Acquiring = 2, daq::State::Stopping = 3,
  daq::State::Stopped = 4, daq::State::Aborting = 100, daq::State::Aborted = 101
}
 Observable states of the data acquisition process. More...
 

Functions

std::ostream & daq::operator<< (std::ostream &os, State state)
 Prints state string representation to os. More...
 
bool daq::IsFinalState (State state) noexcept
 Query whether state is in a final state. More...
 
bool daq::IsSubsequentState (State state, State after) noexcept
 Compares states and returns whether state occurs after after. More...
 

Detailed Description

Declares daq::State and related functions.

Definition in file state.hpp.