PLCnext API Documentation 25.0.2.69
PciDeviceState.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/System/Core/Enum.hxx"
9
10namespace Arp { namespace System { namespace NmPayload { namespace Device
11{
12
13enum class ARP_CXX_SYMBOL_EXPORT PciDeviceState : uint8
14{
15 Ok = 0x01,
16 Diagnosis = 0x02,
17 Error = 0x03
18};
19
21// global stream operators of enum PciDeviceState for logging and parsing
22ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, PciDeviceState value);
23ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, PciDeviceState& value);
24
25}}}} // namespace Arp::System::NmPayload::Device
26
27template<> struct fmt::formatter<Arp::System::NmPayload::Device::PciDeviceState>: public fmt::ostream_formatter {};
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:25
Root namespace for the PLCnext API