PLCnext API Documentation 23.0.2.9
IRetainManagerService.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/Plc/Retain/Services/BackupResult.hpp"
9#include "Arp/Plc/Retain/Services/RetainManagerServiceProxyFactory.hpp"
10#include "Arp/System/Rsc/Services/IRscService.hpp"
11
12// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IRetainManagerService.cs
13
14namespace Arp { namespace Plc { namespace Retain { namespace Services
15{
16
17using namespace Arp;
18using namespace Arp::System::Rsc::Services;
19
23{
24public: // typedefs
25 using Ptr = std::shared_ptr<IRetainManagerService>;
26
27public: // construction/destruction
29 IRetainManagerService(void) = default;
30
31public: // static policy operation
32 static IRscServiceProxyFactory& GetProxyFactory(void);
33
34public: // abstract operations
42
50};
51
53// inline methods of class IRetainManagerService
54inline IRscServiceProxyFactory& IRetainManagerService::GetProxyFactory()
55{
56 return RetainManagerServiceProxyFactory::GetInstance();
57}
58
59}}}} // end of namespace Arp::Plc::Retain::Services
Contains the name and error code of the backup.
Definition: BackupResult.hpp:24
Use this service for the retain backup handling.
Definition: IRetainManagerService.hpp:23
IRetainManagerService(void)=default
Constructs an IRetainManagerService instance.
virtual BackupResult PrepareLatestBackupFileForRestoring()=0
Prepares the latest backup file of retain data for restoring for the next plc 'RestoreWarm' start
virtual BackupResult GenerateBackupFile()=0
Generates a backup file of the retain data
Base interface for all Rsc service interface.
Definition: IRscService.hpp:19
@ Retain
The node shall be retained.
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API