PLCnext API Documentation 23.6.0.37
DeviceSettingsServiceProxy.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/System/Rsc/Services/RscServiceProxyBase.hxx"
9#include "Arp/Device/Interface/Services/IDeviceSettingsService.hpp"
10
11// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IDeviceSettingsService.cs
12
13namespace Arp { namespace Device { namespace Interface { namespace Services
14{
15
16using namespace Arp;
17
19class DeviceSettingsServiceProxy : public RscServiceProxyBase<IDeviceSettingsService>
20{
21public: // construction/destruction
23 DeviceSettingsServiceProxy(RscHandle providerHandle, RscHandle serviceHandle, RscClient& rscClient);
24
25public: // 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
32}}}} // end of namespace Arp::Device::Interface::Services
Container for a (relative) setting identifier with its value.
Definition: DeviceSettingItem.hpp:32
Container for a combination of an error code and a value which is a result for a read operation to a ...
Definition: DeviceSettingResult.hpp:30
Proxy class of service IDeviceSettingsService
Definition: DeviceSettingsServiceProxy.hpp:20
DeviceSettingsServiceProxy(RscHandle providerHandle, RscHandle serviceHandle, RscClient &rscClient)
Constructs an instance of type DeviceSettingsServiceProxy
AccessErrorCode
Enumeration for error codes returned from Device.Interface.Services.
Definition: AccessErrorCode.hpp:19
Root namespace for the PLCnext API