PLCnext API Documentation 25.0.2.69
NetloadLimiterSettings.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 NetloadLimiterSettings : public RscSerializable
26{
27public: // construction/destruction
29 NetloadLimiterSettings(boolean packetLimiterEnabled, boolean byteLimiterEnabled, uint16 packetLimit, uint32 byteLimit);
30
31public: // Properties
35 boolean PacketLimiterEnabled = false;
36
40 boolean ByteLimiterEnabled = false;
41
46 uint16 PacketLimit = 0;
47
52 uint32 ByteLimit = 0;
53
54public: // Rsc operations
55 void Serialize(RscWriter& writer)const;
56 void Deserialize(RscReader& reader);
57 void Serialize(JRscWriter& writer)const;
58 void Deserialize(JRscReader& reader);
59 static size_t GetFieldCount(void);
60};
61
62} // 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
This struct contains all settings of the netload limiter. It is used to set and get the current setti...
Definition: NetloadLimiterSettings.hpp:26
NetloadLimiterSettings(void)
Constructs an NetloadLimiterSettings instance.
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:29
Namespace for the JSON RSC extension
Namespace for services of the Network Interface Manager
Root namespace for the PLCnext API