PLCnext API Documentation 25.0.2.69
LimiterStatistic.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
12// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
13
15{
16
17using namespace Arp;
18using namespace Arp::Base::Rsc::Commons;
19using namespace Arp::Base::Rsc::Commons::Services;
20using namespace Arp::Base::JRsc::Commons;
21
25class ARP_EXPORT LimiterStatistic : public RscSerializable
26{
27public: // construction/destruction
29 LimiterStatistic(uint32 movingAverage, uint32 movingAverageMax, uint32 peak, uint64 limitingDuration, uint32 limitingEventCount);
30
31public: // Properties
35 uint32 MovingAverage = 0;
36
40 uint32 MovingAverageMax = 0;
41
45 uint32 Peak = 0;
46
50 uint64 LimitingDuration = 0;
51
55 uint32 LimitingEventCount = 0;
56
57public: // Rsc operations
58 void Serialize(RscWriter& writer)const;
59 void Deserialize(RscReader& reader);
60 void Serialize(JRscWriter& writer)const;
61 void Deserialize(JRscReader& reader);
62 static size_t GetFieldCount(void);
63};
64
65} // 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
LimiterStatistic(void)
Constructs an LimiterStatistic instance.
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
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
Root namespace for the PLCnext API