PLCnext API Documentation  22.3.0.20
IRetainManagerService.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
8 #include "Arp/System/Rsc/Services/IRscService.hpp"
9 #include "RetainManagerServiceProxyFactory.hpp"
10 #include "BackupResult.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 
22 {
23 public: // typedefs
24  using Ptr = std::shared_ptr<IRetainManagerService>;
25 
26 public: // construction/destruction
28  IRetainManagerService(void) = default;
29 
30 public: // static policy operation
31  static IRscServiceProxyFactory& GetProxyFactory(void);
32 
33 public: // abstract operations
40  virtual BackupResult GenerateBackupFile() = 0;
41 
48  virtual BackupResult PrepareLatestBackupFileForRestoring() = 0;
49 };
50 
52 // inline methods of class IRetainManagerService
53 inline IRscServiceProxyFactory& IRetainManagerService::GetProxyFactory()
54 {
55  return RetainManagerServiceProxyFactory::GetInstance();
56 }
57 
58 }}}} // end of namespace Arp::Plc::Retain::Services
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:9
Root namespace for the PLCnext API
Base interface for all Rsc service interface.
Definition: IRscService.hpp:18
Use this service for the retain backup handling.
Definition: IRetainManagerService.hpp:21
Contains the name and error code of the backup.
Definition: BackupResult.hpp:23