PLCnext API Documentation 25.0.2.69
RscCommunicationKind.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Core/Enum.hxx"
9
10namespace Arp::Base::Rsc::Commons::Services
11{
12
15enum class RscCommunicationKind
16{
17 None = 0,
18 Ipc = 1,
19 Tcp = 2,
20 Tls = 3
21};
22
24// global stream operators of enum RscCommunicationKind for logging and parsing
25ARP_EXPORT std::ostream& operator<<(std::ostream& os, RscCommunicationKind value);
26ARP_EXPORT std::istream& operator>>(std::istream& is, RscCommunicationKind& value);
27
28} // end of namespace Arp::Base::Rsc::Commons::Services
29
31// template specialization of RscCommunicationKind formatter
32template<> struct fmt::formatter<Arp::Base::Rsc::Commons::Services::RscCommunicationKind>: public fmt::ostream_formatter {};
Root namespace for the PLCnext API