PLCnext API Documentation 25.0.2.69
VariableInfo.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/Rsc/Commons/RscSerializable.hpp"
10#include "Arp/Base/Rsc/Commons/RscString.hxx"
11#include "Arp/Plc/Commons/DataType.hpp"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
14
16{
17
18using namespace Arp;
19using namespace Arp::Base::Rsc::Commons;
20using namespace Arp::Base::Rsc::Commons::Services;
21
30class ARP_EXPORT VariableInfo : public RscSerializable
31{
32public: //usings
33 using DataType = Arp::Plc::Commons::DataType;
34
35public: // construction/destruction
37 VariableInfo(const RscString<512>& name, DataType type);
38
39public: // Properties
44
48 DataType Type = static_cast<DataType>(0);
49
50public: // Rsc operations
51 void Serialize(RscWriter& writer)const;
52 void Deserialize(RscReader& reader);
53 static size_t GetFieldCount(void);
54};
55
56} // 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
Describes a subscribed variable.
Definition: VariableInfo.hpp:31
RscString< 512 > Name
Full name of the variable.
Definition: VariableInfo.hpp:43
VariableInfo(void)
Constructs an VariableInfo instance.
Namespace for services of the Global Data Space (GDS)
Root namespace for the PLCnext API