PLCnext API Documentation 26.6.0.38
IArManagementService.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/Rsc/Commons/IRscService.hpp"
10#include "Arp/Base/Rsc/Commons/RscString.hxx"
11
12// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IArManagementService.cs
13
15{
16
17using namespace Arp::Base::Rsc::Commons;
18
32class ARP_EXPORT IArManagementService : public IRscService
33{
34public: // usings
35 using Ptr = std::shared_ptr<IArManagementService>;
36
37public: // construction/destruction
39 IArManagementService(void) = default;
40
41public: // static policy operation
42 static IRscServiceProxyFactory& GetProxyFactory(void);
43
44public: // abstract operations
58 virtual uint32 GetArState(const RscString<512>& stationName, uint32& arState) = 0;
59
75 virtual uint32 StartAr(const RscString<512>& stationName, uint32& arState) = 0;
76
92 virtual uint32 StopAr(const RscString<512>& stationName, uint32& arState) = 0;
93};
94
95} // end of namespace Arp::Io::ProfinetStack::Controller::Services
This is the base interface of all Rsc services.
Definition: IRscService.hpp:22
std::shared_ptr< IRscService > Ptr
The shared_ptr type of IRscService.
Definition: IRscService.hpp:25
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
Use this service to manage PROFINET Application Relationships (AR)
Definition: IArManagementService.hpp:33
virtual uint32 StopAr(const RscString< 512 > &stationName, uint32 &arState)=0
Stops the AR for the specified device and returns its current state after the stop request.
virtual uint32 GetArState(const RscString< 512 > &stationName, uint32 &arState)=0
Gets the current state of the AR for the specified device.
IArManagementService(void)=default
Constructs an IArManagementService instance.
virtual uint32 StartAr(const RscString< 512 > &stationName, uint32 &arState)=0
Starts the AR for the specified device and returns its current state after the start request.
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
Namespace for Profinet I/O controller services