PLCnext API Documentation 24.0.0.71
PollMode.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 PollMode
15{
17 None = 0,
19 Read = 1,
21 Write = 2,
23 Connect = 3,
25 Accept = 4
26};
27
29// global stream operators of enum PollMode for logging and parsing
30ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, PollMode value);
31ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, PollMode& value);
32
33}}}} // end of namespace Arp::System::Commons::Net
@ System
System components used by the System, Device, Plc or Io domains.
PollMode
This enum is used to specifiy the poll mode of the <cref name="Socket::Poll" > operation.
Definition: PollMode.hpp:15
@ Connect
Connect operation should be polled.
@ Accept
Accept operation should be polled.
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
Root namespace for the PLCnext API