PLCnext API Documentation 24.6.0.58
|
A generic service to retrieve file system infos. More...
#include <IFileSystemInfoService.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IFileSystemInfoService > |
using | GetRootDirectoriesResultDelegate = delegate< void(IRscReadEnumerator< RscString< 512 > > &)> |
![]() | |
typedef std::shared_ptr< IRscService > | Ptr |
Public Member Functions | |
IFileSystemInfoService (void)=default | |
Constructs an IFileSystemInfoService instance. | |
virtual Traits | GetSupportedTraits ()=0 |
Gets the supported traits. More... | |
virtual FileSystemError | GetPermissions (const RscString< 512 > &path, Permissions &permissions)=0 |
Gets the permissions of the specified path. More... | |
virtual FileSystemError | AddPermissions (const RscString< 512 > &path, Permissions permissions)=0 |
Adds the permissions to the specified path. More... | |
virtual FileSystemError | RemovePermissions (const RscString< 512 > &path, Permissions permissions)=0 |
Removes the permissions of the specified path. More... | |
virtual FileSystemError | GetFileSystemTraitsEntry (Traits traits, const RscString< 512 > &path, FileSystemTraitsEntry &fileSystemTraitsEntry)=0 |
Gets the file system traits entry of the specified path. More... | |
virtual FileSystemError | GetSpaceInfo (const RscString< 512 > &path, SpaceInfo &spaceInfo)=0 |
Gets the space information of the specified path. More... | |
virtual void | GetRootDirectories (GetRootDirectoriesResultDelegate resultDelegate)=0 |
Deprecated since 2023.6! This method is not supported anymore! Gets a list of all root directories supported by the target. More... | |
![]() | |
IRscService (void)=default | |
Constructs an IRscService instance. | |
virtual | ~IRscService (void)=default |
Destructs this instance and frees all resouces. | |
Static Public Member Functions | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
![]() | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
Returns a reference to service proxy factory to create a proxy instance of the service More... | |
A generic service to retrieve file system infos.
The path separator is always '/'.
This service is defined in library Arp.System.Commons.Services.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
|
pure virtual |
Adds the permissions to the specified path.
path | The path to add the permissions from. |
permissions | The permissions to add. |
|
pure virtual |
Gets the file system traits entry of the specified path.
traits | The selection of traits to get. |
path | The path to get the file system traits entry from. |
fileSystemTraitsEntry | The file system traits entry of the specified path |
|
pure virtual |
Gets the permissions of the specified path.
path | The path to get the permissions from. |
permissions | The permissions of the specified path. |
|
pure virtual |
Deprecated since 2023.6! This method is not supported anymore! Gets a list of all root directories supported by the target.
|
pure virtual |
Gets the space information of the specified path.
path | The path to get the space information from. |
spaceInfo | The space information of the specified path. |
|
pure virtual |
Gets the supported traits.
|
pure virtual |
Removes the permissions of the specified path.
path | The path to remove the permissions from. |
permissions | The permissions to remove. |