PLCnext API Documentation  22.3.0.20
IArStatisticService.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
8 #include "Arp/System/Rsc/Services/IRscService.hpp"
9 #include "ArStatisticServiceProxyFactory.hpp"
10 #include "Arp/System/Rsc/Services/RscString.hxx"
11 #include "ArStatisticValue.hpp"
12 #include <vector>
13 
14 // DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IArStatisticService.cs
15 
16 namespace Arp { namespace Io { namespace ProfinetStack { namespace Controller { namespace Services
17 {
18 
19 using namespace Arp;
20 using namespace Arp::System::Rsc::Services;
21 
26 {
27 public: // typedefs
28  using Ptr = std::shared_ptr<IArStatisticService>;
29 
30 public: // construction/destruction
32  IArStatisticService(void) = default;
33 
34 public: // static policy operation
35  static IRscServiceProxyFactory& GetProxyFactory(void);
36 
37 public: // abstract operations
44  virtual ArStatisticValue Read(const RscString<256>& stationName) = 0;
45 
50  virtual std::vector<ArStatisticValue> ReadChanges() = 0;
51 
56  virtual uint32 ReadMissedFramesGlobal() = 0;
57 
61  virtual void Reset() = 0;
62 };
63 
65 // inline methods of class IArStatisticService
66 inline IRscServiceProxyFactory& IArStatisticService::GetProxyFactory()
67 {
68  return ArStatisticServiceProxyFactory::GetInstance();
69 }
70 
71 }}}}} // end of namespace Arp::Io::ProfinetStack::Controller::Services
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:9
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
Contains statistic values of one application relation
Definition: ArStatisticValue.hpp:24
This services provides statistic values for Profinet application relations (AR)
Definition: IArStatisticService.hpp:25
Root namespace for the PLCnext API
Base interface for all Rsc service interface.
Definition: IRscService.hpp:18