PLCnext API Documentation 25.0.2.69
NetloadLimiterState.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 NetloadLimiterState : public RscSerializable
26{
27public: // construction/destruction
29 NetloadLimiterState(boolean packetLimiterActive, boolean byteLimiterActive);
30
31public: // Properties
35 boolean PacketLimiterActive = false;
36
40 boolean ByteLimiterActive = false;
41
42public: // Rsc operations
43 void Serialize(RscWriter& writer)const;
44 void Deserialize(RscReader& reader);
45 void Serialize(JRscWriter& writer)const;
46 void Deserialize(JRscReader& reader);
47 static size_t GetFieldCount(void);
48};
49
50} // 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 the current state of the network limiter for one network interface.
Definition: NetloadLimiterState.hpp:26
NetloadLimiterState(void)
Constructs an NetloadLimiterState instance.
Namespace for the JSON RSC extension
Namespace for services of the Network Interface Manager
Root namespace for the PLCnext API