PLCnext API Documentation  20.6.0.30321
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  typedef std::shared_ptr<IArStatisticService> Ptr;
29 
30 public: // construction/destruction
32  IArStatisticService(void);
34  virtual ~IArStatisticService(void);
35 
36 public: // static policy operation
37  static IRscServiceProxyFactory& GetProxyFactory(void);
38 
39 public: // abstract operations
46  virtual ArStatisticValue Read(const RscString<256>& stationName) = 0;
47 
52  virtual std::vector<ArStatisticValue> ReadChanges() = 0;
53 
58  virtual uint32 ReadMissedFramesGlobal() = 0;
59 
63  virtual void Reset() = 0;
64 
65 private: // deleted methods (for non-copyable classes)
66  IArStatisticService(const IArStatisticService& arg) = delete;
67  IArStatisticService& operator=(const IArStatisticService& arg) = delete;
68 };
69 
71 // inline methods of class IArStatisticService
73 {
74 }
75 
77 {
78 }
79 
80 inline IRscServiceProxyFactory& IArStatisticService::GetProxyFactory()
81 {
82  return ArStatisticServiceProxyFactory::GetInstance();
83 }
84 
85 }}}}} // end of namespace Arp::Io::ProfinetStack::Controller::Services
Namespace for classes and interfaces for the Remote Service Call implementation
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
IArStatisticService(void)
Constructs an IArStatisticService instance.
Definition: IArStatisticService.hpp:72
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
virtual ~IArStatisticService(void)
Destructs this instance and frees all resouces.
Definition: IArStatisticService.hpp:76
Contains statistic values of one application relation
Definition: ArStatisticValue.hpp:24