PLCnext API Documentation 23.6.0.37
DurationUnit.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 Chrono
11{
12
13enum class DurationUnit
14{
15 None = 0,
19 Seconds,
20 Minutes,
21 Hours,
22 Default = Nanoseconds
23};
24
26// global stream operators of enum DurationUnit for logging and parsing
27ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, DurationUnit value);
28ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, DurationUnit& value);
29
30}}}} // end of namesapce Arp::System::Commons::Chrono
std::chrono::seconds Seconds
The Arp Seconds unit class.
Definition: TypeSystem.h:55
std::chrono::hours Hours
The Arp Hours unit class.
Definition: TypeSystem.h:61
std::chrono::milliseconds Milliseconds
The Arp Milliseconds unit class.
Definition: TypeSystem.h:52
std::chrono::microseconds Microseconds
The Arp Microseconds unit class.
Definition: TypeSystem.h:49
std::chrono::minutes Minutes
The Arp Minutes unit class.
Definition: TypeSystem.h:58
std::chrono::nanoseconds Nanoseconds
The Arp Nanoseconds unit class.
Definition: TypeSystem.h:46
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API