PLCnext API Documentation  21.0.0.35466
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  typedef std::shared_ptr<IRetainManagerService> Ptr;
25 
26 public: // construction/destruction
30  virtual ~IRetainManagerService(void);
31 
32 public: // static policy operation
33  static IRscServiceProxyFactory& GetProxyFactory(void);
34 
35 public: // abstract operations
42  virtual BackupResult GenerateBackupFile() = 0;
43 
50  virtual BackupResult PrepareLatestBackupFileForRestoring() = 0;
51 
52 private: // deleted methods (for non-copyable classes)
53  IRetainManagerService(const IRetainManagerService& arg) = delete;
54  IRetainManagerService& operator=(const IRetainManagerService& arg) = delete;
55 };
56 
58 // inline methods of class IRetainManagerService
60 {
61 }
62 
64 {
65 }
66 
67 inline IRscServiceProxyFactory& IRetainManagerService::GetProxyFactory()
68 {
69  return RetainManagerServiceProxyFactory::GetInstance();
70 }
71 
72 }}}} // end of namespace Arp::Plc::Retain::Services
IRetainManagerService(void)
Constructs an IRetainManagerService instance.
Definition: IRetainManagerService.hpp:59
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:9
Contains the name and error code of the backup.
Definition: BackupResult.hpp:23
Root namespace for the PLCnext API
Base interface for all Rsc service interface.
Definition: IRscService.hpp:18
virtual ~IRetainManagerService(void)
Destructs this instance and frees all resouces.
Definition: IRetainManagerService.hpp:63
Use this service for the retain backup handling.
Definition: IRetainManagerService.hpp:21