PLCnext API Documentation 25.0.2.69
WriteItem.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 Plc { namespace Gds { 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
28class ARP_EXPORT WriteItem : public RscSerializable
29{
30public: // construction/destruction
31 WriteItem(void);
32 WriteItem(const RscString<512>& portName, const RscVariant<512>& value);
33
34public: // Properties
39
44
45public: // Rsc operations
46 void Serialize(RscWriter& writer)const;
47 void Deserialize(RscReader& reader);
48 void Serialize(JRscWriter& writer)const;
49 void Deserialize(JRscReader& reader);
50 static size_t GetFieldCount(void);
51};
52
53}}}} // end of namespace Arp::Plc::Gds::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
Stores the to be written data and the related variable name to be write to.
Definition: WriteItem.hpp:29
RscVariant< 512 > Value
Contains the to be written data
Definition: WriteItem.hpp:43
WriteItem(void)
Constructs an WriteItem instance.
RscString< 512 > PortName
Name of the variable
Definition: WriteItem.hpp:38
Namespace for the JSON RSC extension
Root namespace for the PLCnext API