PLCnext API Documentation 24.0.0.71
ShutdownMode.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/System/Core/Enum.hxx"
9
10namespace Arp { namespace System { namespace Commons { namespace Net
11{
12
14enum class ShutdownMode
15{
17 None = 0,
19 Read = 1,
21 Write = 2,
23 ReadWrite = 3,
24};
25
27// global stream operators of enum PollMode for logging and parsing
28ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, ShutdownMode value);
29ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, ShutdownMode& value);
30
31}}}} // end of namespace Arp::System::Commons::Net
@ System
System components used by the System, Device, Plc or Io domains.
std::ostream & operator<<(std::ostream &os, const IpAddress &ipAddress)
The ostream operator is used for logging and string formatting.
Definition: IpAddress.hpp:107
std::istream & operator>>(std::istream &is, IpAddress &ipAddress)
The istream operator is used for string parsing.
Definition: IpAddress.hpp:114
ShutdownMode
This enum is used to specifiy the shutdown mode of the <cref name="Socket::Shutdown(ShutdownMode)" > ...
Definition: ShutdownMode.hpp:15
Root namespace for the PLCnext API