PLCnext API Documentation 25.0.2.69
PlcConfigItem.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/RscVariant.hxx"
12#include "Arp/Plc/Domain/Services/PlcConfigId.hpp"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
15
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
27class ARP_EXPORT PlcConfigItem : public RscSerializable
28{
29public: // construction/destruction
31 PlcConfigItem(PlcConfigId identifier, const RscVariant<256>& value);
32
33public: // Properties
37 PlcConfigId Identifier = static_cast<PlcConfigId>(0);
38
43
44public: // Rsc operations
45 void Serialize(RscWriter& writer)const;
46 void Deserialize(RscReader& reader);
47 void Serialize(JRscWriter& writer)const;
48 void Deserialize(JRscReader& reader);
49 static size_t GetFieldCount(void);
50};
51
52} // end of namespace Arp::Plc::Domain::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
A config item.
Definition: PlcConfigItem.hpp:28
PlcConfigItem(void)
Constructs an PlcConfigItem instance.
RscVariant< 256 > Value
The value of the config item.
Definition: PlcConfigItem.hpp:42
Namespace for the JSON RSC extension
Namespace for services of the PLC domain
PlcConfigId
Collects all identifiers of the Plc config which are available by the IPlcConfigService.
Definition: PlcConfigId.hpp:19
Root namespace for the PLCnext API