PLCnext API Documentation  21.0.0.35466
IArManagementService.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 "ArManagementServiceProxyFactory.hpp"
10 #include "Arp/System/Rsc/Services/RscString.hxx"
11 
12 // DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IArManagementService.cs
13 
14 namespace Arp { namespace Io { namespace ProfinetStack { namespace Controller { namespace Services
15 {
16 
17 using namespace Arp;
18 using namespace Arp::System::Rsc::Services;
19 
24 {
25 public: // typedefs
26  typedef std::shared_ptr<IArManagementService> Ptr;
27 
28 public: // construction/destruction
32  virtual ~IArManagementService(void);
33 
34 public: // static policy operation
35  static IRscServiceProxyFactory& GetProxyFactory(void);
36 
37 public: // abstract operations
48  virtual uint32 GetArState(const RscString<512>& stationName, uint32& arState) = 0;
49 
58  virtual uint32 StartAr(const RscString<512>& stationName, uint32& arState) = 0;
59 
69  virtual uint32 StopAr(const RscString<512>& stationName, uint32& arState) = 0;
70 
71 private: // deleted methods (for non-copyable classes)
72  IArManagementService(const IArManagementService& arg) = delete;
73  IArManagementService& operator=(const IArManagementService& arg) = delete;
74 };
75 
77 // inline methods of class IArManagementService
79 {
80 }
81 
83 {
84 }
85 
86 inline IRscServiceProxyFactory& IArManagementService::GetProxyFactory()
87 {
88  return ArManagementServiceProxyFactory::GetInstance();
89 }
90 
91 }}}}} // end of namespace Arp::Io::ProfinetStack::Controller::Services
virtual ~IArManagementService(void)
Destructs this instance and frees all resouces.
Definition: IArManagementService.hpp:82
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
Use this service to manage PROFINET Application Relationships (AR)
Definition: IArManagementService.hpp:23
Root namespace for the PLCnext API
Base interface for all Rsc service interface.
Definition: IRscService.hpp:18
IArManagementService(void)
Constructs an IArManagementService instance.
Definition: IArManagementService.hpp:78