PLCnext API Documentation 25.0.2.69
DeviceSettingItem.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/JRsc/Commons/JRsc.hpp"
10#include "Arp/Base/Rsc/Commons/RscSerializable.hpp"
11#include "Arp/Base/Rsc/Commons/RscString.hxx"
12#include "Arp/Base/Rsc/Commons/RscVariant.hxx"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
15
16namespace Arp { namespace Device { namespace Interface { namespace Services
17{
18
19using namespace Arp;
20using namespace Arp::Base::Rsc::Commons;
21using namespace Arp::Base::Rsc::Commons::Services;
22using namespace Arp::Base::JRsc::Commons;
23
33class ARP_EXPORT DeviceSettingItem : public RscSerializable
34{
35public: // construction/destruction
37 DeviceSettingItem(const RscString<512>& setting, const RscVariant<512>& value);
38
39public: // Properties
48
56
57public: // Rsc operations
58 void Serialize(RscWriter& writer)const;
59 void Deserialize(RscReader& reader);
60 void Serialize(JRscWriter& writer)const;
61 void Deserialize(JRscReader& reader);
62 static size_t GetFieldCount(void);
63};
64
65}}}} // end of namespace Arp::Device::Interface::Services
Any custom struct type which is intended to be marshalled in a Rsc serialization context,...
Definition: RscSerializable.hpp:35
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
Container for a (relative) setting identifier with its value.
Definition: DeviceSettingItem.hpp:34
DeviceSettingItem(void)
Constructs an DeviceSettingItem instance.
RscString< 512 > Setting
Tokens which describe the (relative) path to the setting combined with the value.
Definition: DeviceSettingItem.hpp:47
RscVariant< 512 > Value
The value of the setting which is identified by the (relative) path which is described by the tokens.
Definition: DeviceSettingItem.hpp:55
Namespace for the JSON RSC extension
Root namespace for the PLCnext API