PLCnext API Documentation 25.0.2.69
ArDataResult.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/Io/ProfinetStack/Controller/Services/ArDataAccessError.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
31class ARP_EXPORT ArDataResult : public RscSerializable
32{
33public: // construction/destruction
35 ArDataResult(ArDataAccessError errorCode, const RscVariant<512>& value);
36
37public: // Properties
43
52
53public: // Rsc operations
54 void Serialize(RscWriter& writer)const;
55 void Deserialize(RscReader& reader);
56 void Serialize(JRscWriter& writer)const;
57 void Deserialize(JRscReader& reader);
58 static size_t GetFieldCount(void);
59};
60
61} // end of namespace Arp::Io::ProfinetStack::Controller::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 combination of an error code and a value which is a result for a read operation to a ...
Definition: ArDataResult.hpp:32
ArDataResult(void)
Constructs an ArDataResult instance.
RscVariant< 512 > Value
The value for the requested setting which can be RscType::Void and otherwise is of the simple type th...
Definition: ArDataResult.hpp:51
Namespace for the JSON RSC extension
Namespace for Profinet I/O controller services
ArDataAccessError
This enumeration contains the possible data access errors.
Definition: ArDataAccessError.hpp:19
ErrorCode
Possible error codes for data-logger rsc services.
Definition: ErrorCode.hpp:19
Root namespace for the PLCnext API