PLCnext API Documentation 25.0.2.69
IDirectoryService2.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/Base/Rsc/Commons/IRscReadEnumerator.hxx"
11#include "Arp/Base/Rsc/Commons/IRscWriteEnumerator.hxx"
12#include "Arp/Base/Core/delegate.hxx"
13#include "Arp/System/Commons/Services/Io/IDirectoryService.hpp"
14#include "Arp/Base/Rsc/Commons/RscString.hxx"
15#include "Arp/System/Commons/Services/Io/FileSystemError.hpp"
16
17// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IDirectoryService2.cs
18
20{
21
22using namespace Arp::Base::Rsc::Commons;
23
32class ARP_EXPORT IDirectoryService2 : public IDirectoryService
33{
34public: // usings
35 using Ptr = std::shared_ptr<IDirectoryService2>;
44
45public: // construction/destruction
47 IDirectoryService2(void) = default;
48
49public: // static policy operation
50 static IRscServiceProxyFactory& GetProxyFactory(void);
51
52public: // abstract operations
60 virtual void ExistsMany(ExistsManyPathsDelegate pathsDelegate, ExistsManyResultDelegate resultDelegate) = 0;
61
69 virtual void CreateMany(CreateManyPathsDelegate pathsDelegate, CreateManyResultDelegate resultDelegate) = 0;
70
78 virtual void DeleteMany(DeleteManyPathsDelegate pathsDelegate, DeleteManyResultDelegate resultDelegate) = 0;
79
87 virtual void ClearMany(ClearManyPathsDelegate pathsDelegate, ClearManyResultDelegate resultDelegate) = 0;
88};
89
90} // end of namespace Arp::System::Commons::Services::Io
Prototyping of delegate template.
Definition: delegate.hxx:14
Interface for reading a arrays or enumerations.
Definition: IRscReadEnumerator.hxx:19
std::shared_ptr< IRscService > Ptr
The shared_ptr type of IRscService.
Definition: IRscService.hpp:25
Interface for writing an array enumeration or enumeration of unspefied length.
Definition: IRscWriteEnumerator.hxx:20
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
Provides common file directory operations for several directories in a single call.
Definition: IDirectoryService2.hpp:33
IDirectoryService2(void)=default
Constructs an IDirectoryService2 instance.
virtual void ExistsMany(ExistsManyPathsDelegate pathsDelegate, ExistsManyResultDelegate resultDelegate)=0
Checks if the specified directories exist.
virtual void CreateMany(CreateManyPathsDelegate pathsDelegate, CreateManyResultDelegate resultDelegate)=0
Creates the specified directories.
virtual void DeleteMany(DeleteManyPathsDelegate pathsDelegate, DeleteManyResultDelegate resultDelegate)=0
Deletes the specified directories.
virtual void ClearMany(ClearManyPathsDelegate pathsDelegate, ClearManyResultDelegate resultDelegate)=0
Clears the specified directories.
Provides common file directory operations.
Definition: IDirectoryService.hpp:35
Namespace for services to access the filesystem