PLCnext API Documentation 25.0.2.69
ReadItem.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/Gds/Services/DataAccessError.hpp"
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 ReadItem : public RscSerializable
29{
30public: // construction/destruction
31 ReadItem(void);
32 ReadItem(DataAccessError error, const RscVariant<512>& value);
33
34public: // Properties
38 DataAccessError Error = static_cast<DataAccessError>(0);
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 data to be read, written by the controller and a possible data access error.
Definition: ReadItem.hpp:29
ReadItem(void)
Constructs an ReadItem instance.
RscVariant< 512 > Value
Contains the data to be read, written by the controller.
Definition: ReadItem.hpp:43
Namespace for the JSON RSC extension
DataAccessError
This enumeration contains the possible data access errors.
Definition: DataAccessError.hpp:19
Root namespace for the PLCnext API