PLCnext API Documentation  21.0.0.35466
DeviceControlServiceProxy.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Rsc/Services/RscServiceProxyBase.hxx"
8 #include "IDeviceControlService.hpp"
9 
10 // DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IDeviceControlService.cs
11 
12 namespace Arp { namespace Device { namespace Interface { namespace Services
13 {
14 
15 using namespace Arp;
16 
17 class DeviceControlServiceProxy : public RscServiceProxyBase<IDeviceControlService>
18 {
19 public: // construction/destruction
21  DeviceControlServiceProxy(RscHandle providerHandle, RscHandle serviceHandle, RscClient& rscClient);
23  virtual ~DeviceControlServiceProxy(void);
24 
25 public: // IDeviceControlService operations
26  void RestartDevice()override;
27  AccessErrorCode ResetToFactoryDefaults(uint16 resetType)override;
28  AccessErrorCode StartFirmwareUpdate(uint16 updateType)override;
29 
30 private: // deleted methods (for non-copyable classes)
32  DeviceControlServiceProxy& operator=(const DeviceControlServiceProxy& arg) = delete;
33 };
34 
36 // inline methods of class DeviceControlServiceProxy
38 {
39 }
40 
41 }}}} // end of namespace Arp::Device::Interface::Services
Definition: DeviceControlServiceProxy.hpp:17
virtual ~DeviceControlServiceProxy(void)
Destructs this instance and frees all resouces.
Definition: DeviceControlServiceProxy.hpp:37
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