PLCnext API Documentation 25.0.2.69
AppInfo.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 <vector>
12#include "Arp/Base/Rsc/Commons/RscString.hxx"
13#include "Arp/Services/AppManager/Services/AdditionalAppInfo.hpp"
14#include "Arp/Services/AppManager/Services/AppLicenseType.hpp"
15
16// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
17
18namespace Arp::Services::AppManager::Services
19{
20
21using namespace Arp;
22using namespace Arp::Base::Rsc::Commons;
23using namespace Arp::Base::Rsc::Commons::Services;
24using namespace Arp::Base::JRsc::Commons;
25
29class ARP_EXPORT AppInfo : public RscSerializable
30{
31public: // construction/destruction
32 AppInfo(void);
33 AppInfo(const RscString<256>& appIdentifier, const RscString<256>& appName, const RscString<256>& version, const RscString<256>& target, const RscString<256>& minFirmwareVersion, const RscString<256>& manufacturer, AppLicenseType licenseType, const RscString<512>& linkToAppPage, const std::vector<AdditionalAppInfo>& additionalInfo);
34
35public: // Properties
40
45
50
55
60
65
69 AppLicenseType LicenseType = static_cast<AppLicenseType>(0);
70
75
79 std::vector<AdditionalAppInfo> AdditionalInfo;
80
81public: // Rsc operations
82 void Serialize(RscWriter& writer)const;
83 void Deserialize(RscReader& reader);
84 void Serialize(JRscWriter& writer)const;
85 void Deserialize(JRscReader& reader);
86 static size_t GetFieldCount(void);
87};
88
89} // end of namespace Arp::Services::AppManager::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
This structure is used for PLCnext application information indication.
Definition: AppInfo.hpp:30
RscString< 256 > AppIdentifier
The unique identifier for the application.
Definition: AppInfo.hpp:39
RscString< 256 > Version
The version of the application.
Definition: AppInfo.hpp:49
RscString< 256 > Manufacturer
The manufacturer of the application.
Definition: AppInfo.hpp:64
RscString< 256 > AppName
The name of the application.
Definition: AppInfo.hpp:44
RscString< 256 > Target
The target platform for the application.
Definition: AppInfo.hpp:54
RscString< 256 > MinFirmwareVersion
The minimum firmware version required for the application.
Definition: AppInfo.hpp:59
RscString< 512 > LinkToAppPage
URL that points to a web page providing the app (optional)
Definition: AppInfo.hpp:74
AppInfo(void)
Constructs an AppInfo instance.
std::vector< AdditionalAppInfo > AdditionalInfo
Additional infomation (optional).
Definition: AppInfo.hpp:79
Namespace for the JSON RSC extension
Root namespace for the PLCnext API