PLCnext API Documentation 25.0.2.69
NetloadLimiterStatisticResult.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/JRsc/Commons/JRsc.hpp"
10#include "Arp/Base/Rsc/Commons/RscSerializable.hpp"
11#include "Arp/Hardware/Nim/Services/LimiterStatistic.hpp"
12#include "Arp/Hardware/Nim/Services/NetloadLimiterErrorCode.hpp"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
15
17{
18
19using namespace Arp;
20using namespace Arp::Base::Rsc::Commons;
21using namespace Arp::Base::Rsc::Commons::Services;
22using namespace Arp::Base::JRsc::Commons;
23
28{
29public: // construction/destruction
31 NetloadLimiterStatisticResult(uint8 networkInterfaceId, NetloadLimiterErrorCode errorCode, uint64 durationSinceLastReset, const LimiterStatistic& packetLimiterStatistic, const LimiterStatistic& byteLimiterStatistic);
32
33public: // Properties
37 uint8 NetworkInterfaceId = 0;
38
43
47 uint64 DurationSinceLastReset = 0;
48
53
58
59public: // Rsc operations
60 void Serialize(RscWriter& writer)const;
61 void Deserialize(RscReader& reader);
62 void Serialize(JRscWriter& writer)const;
63 void Deserialize(JRscReader& reader);
64 static size_t GetFieldCount(void);
65};
66
67} // end of namespace Arp::Hardware::Nim::Services
Any custom struct type which is intended to be marshalled in a Rsc serialization context,...
Definition: RscSerializable.hpp:35
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
Statistical values for the NetloadLimiter
Definition: LimiterStatistic.hpp:26
Result for reading the NetloadLimiter statistics.
Definition: NetloadLimiterStatisticResult.hpp:28
LimiterStatistic PacketLimiterStatistic
Statistic values of the packet limiter.
Definition: NetloadLimiterStatisticResult.hpp:52
LimiterStatistic ByteLimiterStatistic
Statistic values of the byte limiter.
Definition: NetloadLimiterStatisticResult.hpp:57
NetloadLimiterStatisticResult(void)
Constructs an NetloadLimiterStatisticResult instance.
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:25
std::uint64_t uint64
The Arp unsigned integer type of 8 byte size.
Definition: PrimitiveTypes.hpp:37
Namespace for the JSON RSC extension
Namespace for services of the Network Interface Manager
NetloadLimiterErrorCode
This enum contains the error codes for the operations of the netload limiter services.
Definition: NetloadLimiterErrorCode.hpp:19
ErrorCode
Possible error codes for data-logger rsc services.
Definition: ErrorCode.hpp:19
Root namespace for the PLCnext API