PLCnext API Documentation 25.0.2.69
AppManagerServiceError.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/Services/AppManager/Services/AppManagerErrorCode.hpp"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
15
16namespace Arp::Services::AppManager::Services
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 AppManagerServiceError : public RscSerializable
28{
29public: // construction/destruction
31 AppManagerServiceError(AppManagerErrorCode errorCode, const RscString<256>& errorMessage);
32
33public: // Properties
37 AppManagerErrorCode errorCode = static_cast<AppManagerErrorCode>(0);
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::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 struct is used for error codes of the IAppManagerService
Definition: AppManagerServiceError.hpp:28
RscString< 256 > errorMessage
A descriptive message providing details about the error.
Definition: AppManagerServiceError.hpp:42
AppManagerServiceError(void)
Constructs an AppManagerServiceError instance.
Namespace for the JSON RSC extension
Root namespace for the PLCnext API