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
21
class
IFileSystem
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
}
adtf_utils.h
Copyright © Audi Electronics Venture GmbH.
adtf_ucom3.h
Copyright © Audi Electronics Venture GmbH.
tChar
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
Definition:
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/types.h:54
A_UTILS_NS::cResult
A common result class usable as return value throughout.
Definition:
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/result.h:18
adtf::remote::devil::IFileSystem
The Remote file system interface.
Definition:
adtf_remote_filesystem_intf.h:22
adtf::remote::devil::IFileSystem::DEFAULT_NAME
static constexpr const tChar *const DEFAULT_NAME
Default name of the recorder.
Definition:
adtf_remote_filesystem_intf.h:27
adtf::remote::devil::IFileSystem::ADTF_IID
ADTF_IID(IFileSystem, "filesystem.devil.remote.adtf")
RPC IID of the File System.
adtf
Namespace for entire ADTF SDK.
Definition:
ddl_specification_legacy.dox:2
Copyright © VW Group. All rights reserved. (Generated on Fri May 17 2024 by doxygen 1.9.1)