ADTF  3.18.3
adtf_remote_filesystem_intf.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include <adtf_utils.h>
9 #include <adtfucom3/adtf_ucom3.h>
10 
11 namespace adtf
12 {
13 namespace remote
14 {
15 namespace devil
16 {
17 
22 {
23  public:
25  ADTF_IID(IFileSystem, "filesystem.devil.remote.adtf");
27  static constexpr const tChar* const DEFAULT_NAME = "filesystem";
28 
29  public:
30  virtual bool Exists(const char* strPath) = 0;
31  virtual bool IsFile(const char* strPath) = 0;
32  virtual bool IsDirectory(const char* strPath) = 0;
33  virtual const char* List(const char* strSearch, bool bFilesOnly = true) = 0;
34 
35  virtual tResult Copy(const char* strSourcePath, const char* strDestinationPath) = 0;
36  virtual tResult Move(const char* strSourcePath, const char* strDestinationPath) = 0;
37  virtual tResult Delete(const char* strPath) = 0;
38 
39  virtual tResult CreateDirectory(const char* strPath) = 0;
40  virtual tResult WriteFile(const char* strFileName, const char* strContent) = 0;
41  virtual const char* ReadFile(const char* strFileName) = 0;
42 
43  virtual const char* GetDatFileDescription(const char* strDatFileName) = 0;
44  virtual tResult SetDatFileDescription(const char* strDatFileName, const char* strDescription) = 0;
45 };
46 
47 
48 
49 }
50 
51 using devil::IFileSystem;
52 
53 }
54 }
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
The Remote file system interface.
static constexpr const tChar *const DEFAULT_NAME
Default name of the recorder.
ADTF_IID(IFileSystem, "filesystem.devil.remote.adtf")
RPC IID of the File System.
Namespace for entire ADTF SDK.