PLCnext API Documentation 23.6.0.37
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
26{
27public: // typedefs
28 using Ptr = std::shared_ptr<IRetainManagerService>;
29
30public: // construction/destruction
32 IRetainManagerService(void) = default;
33
34public: // static policy operation
35 static IRscServiceProxyFactory& GetProxyFactory(void);
36
37public: // abstract operations
45
53};
54
56// inline methods of class IRetainManagerService
57inline IRscServiceProxyFactory& IRetainManagerService::GetProxyFactory()
58{
59 return RetainManagerServiceProxyFactory::GetInstance();
60}
61
62}}}} // 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:26
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:20
@ Retain
The node shall be retained.
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API