PLCnext API Documentation 25.0.2.69
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/Rsc/Commons/RscSerializable.hpp"
10#include "Arp/Base/Rsc/Commons/RscString.hxx"
11#include "Arp/Base/Rsc/Commons/RscVariant.hxx"
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
25class ARP_EXPORT ForceItem : public RscSerializable
26{
27public: // construction/destruction
28 ForceItem(void);
29 ForceItem(const RscString<512>& variableName, const RscVariant<512>& forceValue);
30
31public: // Properties
36
41
42public: // Rsc operations
43 void Serialize(RscWriter& writer)const;
44 void Deserialize(RscReader& reader);
45 static size_t GetFieldCount(void);
46};
47
48} // 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:26
RscVariant< 512 > ForceValue
The value of the forced item.
Definition: ForceItem.hpp:40
RscString< 512 > VariableName
The instance path of the forced item.
Definition: ForceItem.hpp:35
ForceItem(void)
Constructs an ForceItem instance.
Namespace for services of the Global Data Space (GDS)
Root namespace for the PLCnext API