PLCnext API Documentation  21.0.0.35466
FileSystemInfoServiceProxy.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Rsc/Services/RscServiceProxyBase.hxx"
8 #include "IFileSystemInfoService.hpp"
9 
10 // DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IFileSystemInfoService.cs
11 
12 namespace Arp { namespace System { namespace Commons { namespace Services { namespace Io
13 {
14 
15 using namespace Arp;
16 
17 class FileSystemInfoServiceProxy : public RscServiceProxyBase<IFileSystemInfoService>
18 {
19 public: // construction/destruction
21  FileSystemInfoServiceProxy(RscHandle providerHandle, RscHandle serviceHandle, RscClient& rscClient);
23  virtual ~FileSystemInfoServiceProxy(void);
24 
25 public: // IFileSystemInfoService operations
26  Traits GetSupportedTraits()override;
27  FileSystemError GetPermissions(const RscString<512>& path, Permissions& permissions)override;
28  FileSystemError AddPermissions(const RscString<512>& path, Permissions permissions)override;
29  FileSystemError RemovePermissions(const RscString<512>& path, Permissions permissions)override;
30  FileSystemError GetFileSystemTraitsEntry(Traits traits, const RscString<512>& path, FileSystemTraitsEntry& fileSystemTraitsEntry)override;
31  FileSystemError GetSpaceInfo(const RscString<512>& path, SpaceInfo& spaceInfo)override;
32  void GetRootDirectories(GetRootDirectoriesResultDelegate resultDelegate)override;
33 
34 private: // deleted methods (for non-copyable classes)
36  FileSystemInfoServiceProxy& operator=(const FileSystemInfoServiceProxy& arg) = delete;
37 };
38 
40 // inline methods of class FileSystemInfoServiceProxy
42 {
43 }
44 
45 }}}}} // end of namespace Arp::System::Commons::Services::Io
Traits
This enum is used by several file services to specify the file traits to get or set, respectively.
Definition: Traits.hpp:20
FileSystemError
This enum is used by several file operations.
Definition: FileSystemError.hpp:20
Permissions
Provides attributes for files and directories.
Definition: Permissions.hpp:20
This struct is used by file operations to reading of the space informations.
Definition: SpaceInfo.hpp:24
This struct is used by file operations reading file informations from device.
Definition: FileSystemTraitsEntry.hpp:28
Root namespace for the PLCnext API
Definition: FileSystemInfoServiceProxy.hpp:17
System components used by the System, Device, Plc or Io domains.
virtual ~FileSystemInfoServiceProxy(void)
Destructs this instance and frees all resouces.
Definition: FileSystemInfoServiceProxy.hpp:41