9#include "Arp/Hardware/Nim/Services/NetloadLimiterErrorCode.hpp"
10#include "Arp/Hardware/Nim/Services/NetloadLimiterStatisticResult.hpp"
11#include "Arp/Hardware/Nim/Services/NetloadLimiterStatisticServiceProxyFactory.hpp"
12#include "Arp/System/Rsc/Services/IRscService.hpp"
16namespace Arp {
namespace Hardware {
namespace Nim {
namespace Services
30 using Ptr = std::shared_ptr<INetloadLimiterStatisticService>;
37 static IRscServiceProxyFactory& GetProxyFactory(
void);
52 virtual std::vector<NetloadLimiterStatisticResult>
GetStatistics(
const std::vector<uint8>& networkInterfaceIds) = 0;
64inline IRscServiceProxyFactory& INetloadLimiterStatisticService::GetProxyFactory()
66 return NetloadLimiterStatisticServiceProxyFactory::GetInstance();
Service for the netload limiter statistic handling
Definition: INetloadLimiterStatisticService.hpp:28
virtual NetloadLimiterErrorCode ResetStatistic(uint8 networkInterfaceId)=0
Reset the statistic values Max, Peak and Duration of the packet and byte statistics for the specified...
virtual NetloadLimiterStatisticResult GetStatistic(uint8 networkInterfaceId)=0
Read the statistic values of die specified network interface
virtual std::vector< NetloadLimiterStatisticResult > GetStatistics(const std::vector< uint8 > &networkInterfaceIds)=0
Read the statistic values of die specified network interfaces
INetloadLimiterStatisticService(void)=default
Constructs an INetloadLimiterStatisticService instance.
Result for reading the NetloadLimiter statistics.
Definition: NetloadLimiterStatisticResult.hpp:26
Base interface for all Rsc service interface.
Definition: IRscService.hpp:20
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:28
NetloadLimiterErrorCode
This enum contains the error codes for the operations of the netload limiter services.
Definition: NetloadLimiterErrorCode.hpp:19
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API