PLCnext API Documentation  21.0.0.35466
DeviceSettingsServiceProxy.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Rsc/Services/RscServiceProxyBase.hxx"
8 #include "IDeviceSettingsService.hpp"
9 
10 // DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IDeviceSettingsService.cs
11 
12 namespace Arp { namespace Device { namespace Interface { namespace Services
13 {
14 
15 using namespace Arp;
16 
17 class DeviceSettingsServiceProxy : public RscServiceProxyBase<IDeviceSettingsService>
18 {
19 public: // construction/destruction
21  DeviceSettingsServiceProxy(RscHandle providerHandle, RscHandle serviceHandle, RscClient& rscClient);
23  virtual ~DeviceSettingsServiceProxy(void);
24 
25 public: // IDeviceSettingsService operations
26  DeviceSettingResult ReadValue(const RscString<512>& setting)override;
27  void ReadValues(ReadValuesSettingsDelegate settingsDelegate, ReadValuesResultDelegate resultDelegate)override;
28  AccessErrorCode WriteValue(const DeviceSettingItem& settingItem)override;
29  void WriteValues(WriteValuesSettingItemsDelegate settingItemsDelegate, WriteValuesResultDelegate resultDelegate)override;
30 
31 private: // deleted methods (for non-copyable classes)
33  DeviceSettingsServiceProxy& operator=(const DeviceSettingsServiceProxy& arg) = delete;
34 };
35 
37 // inline methods of class DeviceSettingsServiceProxy
39 {
40 }
41 
42 }}}} // end of namespace Arp::Device::Interface::Services
Container for a (relative) setting identifier with its value.
Definition: DeviceSettingItem.hpp:31
Definition: DeviceSettingsServiceProxy.hpp:17
Container for a combination of an error code and a value which is a result for a read operation to a ...
Definition: DeviceSettingResult.hpp:29
Root namespace for the PLCnext API
virtual ~DeviceSettingsServiceProxy(void)
Destructs this instance and frees all resouces.
Definition: DeviceSettingsServiceProxy.hpp:38
AccessErrorCode
Enumeration for error codes returned from Device.Interface.Services.
Definition: AccessErrorCode.hpp:20