ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Namespaces | Functions
status.cpp File Reference
#include <algorithm>
#include <daq/status.hpp>
#include <ostream>
#include <fmt/format.h>

Go to the source code of this file.

Namespaces

 daq
 

Functions

void daq::SetAlert (std::vector< Alert > &alerts, Alert alert)
 Set alert. More...
 
bool daq::ClearAlert (std::vector< Alert > &alerts, AlertId const &alert)
 Clear alert. More...
 
Alert daq::MakeAlert (std::string_view category, std::string key, std::string description)
 Construct alert. More...
 
Alert daq::MakeAlert (AlertId id, std::string description)
 
AlertId daq::MakeAlertId (std::string_view category, std::string key)
 
bool daq::operator== (AlertId const &lhs, AlertId const &rhs) noexcept
 
bool daq::operator!= (AlertId const &lhs, AlertId const &rhs) noexcept
 
bool daq::operator== (Alert const &lhs, Alert const &rhs) noexcept
 Comparison operator for Alert. More...
 
bool daq::operator== (Alert const &lhs, AlertId const &rhs) noexcept
 
bool daq::operator== (AlertId const &lhs, Alert const &rhs) noexcept
 
bool daq::operator!= (Alert const &lhs, Alert const &rhs) noexcept
 
std::ostream & daq::operator<< (std::ostream &os, Status const &s)
 
std::ostream & daq::operator<< (std::ostream &os, ObservableStatus const &s)