PLCnext API Documentation 25.0.2.69
ComponentInfo.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
12// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
13
14namespace Arp::Base::Acf::Services
15{
16
17using namespace Arp;
18using namespace Arp::Base::Rsc::Commons;
19using namespace Arp::Base::Rsc::Commons::Services;
20
24class ARP_EXPORT ComponentInfo : public RscSerializable
25{
26public: // construction/destruction
28 ComponentInfo(const RscString<512>& componentName, const RscString<512>& typeName, const RscString<512>& libraryName, const RscString<128>& processName, const RscString<512>& buildVersion, const RscString<512>& libraryVersion);
29
30public: // Properties
35
40
45
50
55
60
61public: // Rsc operations
62 void Serialize(RscWriter& writer)const;
63 void Deserialize(RscReader& reader);
64 static size_t GetFieldCount(void);
65};
66
67} // end of namespace Arp::Base::Acf::Services
Contains information about a component.
Definition: ComponentInfo.hpp:25
ComponentInfo(void)
Constructs an ComponentInfo instance.
RscString< 512 > ComponentName
Instance name of the component
Definition: ComponentInfo.hpp:34
RscString< 512 > BuildVersion
ArpVersion (incl. name and state) of the SDK used to compile the library
Definition: ComponentInfo.hpp:54
RscString< 512 > TypeName
C++ type name of the component
Definition: ComponentInfo.hpp:39
RscString< 128 > ProcessName
Name of the process the component is created in
Definition: ComponentInfo.hpp:49
RscString< 512 > LibraryVersion
ArpVersion (incl. name and state) provided by the author of the library
Definition: ComponentInfo.hpp:59
RscString< 512 > LibraryName
Name of the library the component was created from
Definition: ComponentInfo.hpp:44
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
Root namespace for the PLCnext API