PLCnext API Documentation 25.0.2.69
IRetainManagerService.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/Rsc/Commons/IRscService.hpp"
10#include "Arp/Plc/Retain/Services/BackupResult.hpp"
11
12// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IRetainManagerService.cs
13
15{
16
17using namespace Arp::Base::Rsc::Commons;
18
24class ARP_EXPORT IRetainManagerService : public IRscService
25{
26public: // usings
27 using Ptr = std::shared_ptr<IRetainManagerService>;
28
29public: // construction/destruction
31 IRetainManagerService(void) = default;
32
33public: // static policy operation
34 static IRscServiceProxyFactory& GetProxyFactory(void);
35
36public: // abstract operations
44
52};
53
54} // end of namespace Arp::Plc::Retain::Services
This is the base interface of all Rsc services.
Definition: IRscService.hpp:22
std::shared_ptr< IRscService > Ptr
The shared_ptr type of IRscService.
Definition: IRscService.hpp:25
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
Contains the name and error code of the backup.
Definition: BackupResult.hpp:26
Use this service for the retain backup handling.
Definition: IRetainManagerService.hpp:25
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
Namespace for services of the Retain component