PLCnext API Documentation  22.9.0.33
IRetainManagerService.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
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 
14 namespace Arp { namespace Plc { namespace Retain { namespace Services
15 {
16 
17 using namespace Arp;
18 using namespace Arp::System::Rsc::Services;
19 
23 {
24 public: // typedefs
25  using Ptr = std::shared_ptr<IRetainManagerService>;
26 
27 public: // construction/destruction
29  IRetainManagerService(void) = default;
30 
31 public: // static policy operation
32  static IRscServiceProxyFactory& GetProxyFactory(void);
33 
34 public: // abstract operations
42 
50 };
51 
53 // inline methods of class IRetainManagerService
54 inline 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
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:10
Root namespace for the PLCnext API