PLCnext API Documentation  21.9.0.40
DeviceControlServiceProxy.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/RscServiceProxyBase.hxx"
9 #include "IDeviceControlService.hpp"
10 
11 // DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IDeviceControlService.cs
12 
13 namespace Arp { namespace Device { namespace Interface { namespace Services
14 {
15 
16 using namespace Arp;
17 
19 class DeviceControlServiceProxy : public RscServiceProxyBase<IDeviceControlService>
20 {
21 public: // construction/destruction
23  DeviceControlServiceProxy(RscHandle providerHandle, RscHandle serviceHandle, RscClient& rscClient);
24 
25 public: // IDeviceControlService operations
26  void RestartDevice()override;
27  AccessErrorCode ResetToFactoryDefaults(uint16 resetType)override;
28  AccessErrorCode StartFirmwareUpdate(uint16 updateType)override;
29 };
30 
31 }}}} // end of namespace Arp::Device::Interface::Services
Proxy class of service IDeviceControlService
Definition: DeviceControlServiceProxy.hpp:19
Root namespace for the PLCnext API
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:31
AccessErrorCode
Enumeration for error codes returned from Device.Interface.Services.
Definition: AccessErrorCode.hpp:20