PLCnext API Documentation 25.0.2.69
EthernetLinkState.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 EthernetLinkState : uint8
14{
15 None = 0xFF,
16 Down = 0x00,
17 Up = 0x01
18};
19
21// global stream operators of enum EthernetLinkState for logging and parsing
22ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, EthernetLinkState value);
23ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, EthernetLinkState& value);
24
25}}}} // namespace Arp::System::NmPayload::Device
26
27template<> struct fmt::formatter<Arp::System::NmPayload::Device::EthernetLinkState>: 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