PLCnext API Documentation 25.0.2.69
PnStationType.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 Io { namespace ProfinetStack
11{
12
13enum class ARP_CXX_SYMBOL_EXPORT PnStationType
14{
15 Controller,
16 Device,
17};
18
20// global stream operators of enum PnStationType for logging and parsing
21ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, PnStationType value);
22ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, PnStationType& value);
23
24}}}}} // namespace Arp::System::NmPayload::Io::ProfinetStack
25
26template<> struct fmt::formatter<Arp::System::NmPayload::Io::ProfinetStack::PnStationType>: public fmt::ostream_formatter {};
Root namespace for the PLCnext API