PLCnext API Documentation 26.6.0.38
ForceItem.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
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 ForceItem : public RscSerializable
28{
29public: // construction/destruction
30 ForceItem(void);
31 ForceItem(const RscString<512>& variableName, const RscVariant<512>& forceValue);
32
33public: // Properties
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::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
A force item structure.
Definition: ForceItem.hpp:28
RscVariant< 512 > ForceValue
The value of the forced item.
Definition: ForceItem.hpp:42
RscString< 512 > VariableName
The instance path of the forced item.
Definition: ForceItem.hpp:37
ForceItem(void)
Constructs an ForceItem instance.
Namespace for the JSON RSC extension
Namespace for services of the Global Data Space (GDS)
Root namespace for the PLCnext API