18 #include <fmt/format.h> 19 #include <fmt/ostream.h> 25 namespace data_conversion_layer
27 namespace monitoring_frame
33 os << fmt::format(
"Device: {} - {}",
constexpr ByteLocation byte() const
constexpr BitLocation bit() const
constexpr configuration::ScannerId scannerId() const
Defines an Diagnostic message by defining the ErrorLocation and a scanner ID.
static const std::map< ErrorType, ErrorMessage > ERROR_CODE_TO_STRING
std::ostream & operator<<(std::ostream &os, const diagnostic::Message &msg)
bool isAmbiguous(const ErrorType &code)
Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
constexpr ErrorLocation errorLocation() const
constexpr ErrorType diagnosticCode() const
static const std::map< ScannerId, std::string > SCANNER_ID_TO_STRING