Ark Server API (ASA) - Wiki
|
#include <IPlatformFileLogWrapper.h>
Classes | |
class | FLogStatVisitor |
class | FLogVisitor |
Static Public Member Functions | |
static const TCHAR * | GetTypeName () |
Static Public Member Functions inherited from IPlatformFile | |
static IPlatformFile & | GetPlatformPhysical () |
static const TCHAR * | GetPhysicalTypeName () |
Private Attributes | |
IPlatformFile * | LowerLevel |
FCriticalSection | LogFileCritical |
TMap< FString, int32 > | OpenHandles |
Additional Inherited Members | |
Public Types inherited from IPlatformFile | |
typedef TFunctionRef< bool(const TCHAR *, bool) | FDirectoryVisitorFunc) |
typedef TFunctionRef< bool(const TCHAR *, const FFileStatData &) | FDirectoryStatVisitorFunc) |
Definition at line 136 of file IPlatformFileLogWrapper.h.
|
inline |
Definition at line 151 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Copy a file. This will fail if the destination file already exists.
To | File to copy to. |
From | File to copy from. |
ReadFlags | Source file read options. |
WriteFlags | Destination file write options. |
Reimplemented from IPlatformFile.
Definition at line 455 of file IPlatformFileLogWrapper.h.
Create a directory and return true if the directory was created or already existed.
Implements IPlatformFile.
Definition at line 322 of file IPlatformFileLogWrapper.h.
Delete a directory and return true if the directory was deleted or otherwise does not exist.
Implements IPlatformFile.
Definition at line 333 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Delete all files and subdirectories in a directory, then delete the directory itself
Directory | The directory to delete. |
Reimplemented from IPlatformFile.
Definition at line 444 of file IPlatformFileLogWrapper.h.
Delete a file and return true if the file exists. Will not delete read only files.
Implements IPlatformFile.
Definition at line 201 of file IPlatformFileLogWrapper.h.
Return true if the directory exists.
Implements IPlatformFile.
Definition at line 311 of file IPlatformFileLogWrapper.h.
Return true if the file exists.
Implements IPlatformFile.
Definition at line 179 of file IPlatformFileLogWrapper.h.
Return the size of the file, or -1 if it doesn't exist.
Implements IPlatformFile.
Definition at line 190 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Return the last access time of a file. Returns FDateTime::MinValue() on failure
Implements IPlatformFile.
Definition at line 266 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
For case insensitive filesystems, returns the full path of the file with the same case as in the filesystem
Implements IPlatformFile.
Definition at line 277 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Gets the platform file wrapped by this file.
Implements IPlatformFile.
Definition at line 166 of file IPlatformFileLogWrapper.h.
Gets this platform file type name.
Implements IPlatformFile.
Definition at line 174 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Return the stat data for the given file or directory. Check the FFileStatData::bIsValid member before using the returned data
Implements IPlatformFile.
Definition at line 344 of file IPlatformFileLogWrapper.h.
Return the modification time of a file. Returns FDateTime::MinValue() on failure
Implements IPlatformFile.
Definition at line 245 of file IPlatformFileLogWrapper.h.
Definition at line 146 of file IPlatformFileLogWrapper.h.
void FLoggedPlatformFile::HandleDumpCommand | ( | const TCHAR * | Cmd, |
FOutputDevice & | Ar ) |
|
overridevirtual |
Initializes platform file.
Inner | Platform file to wrap by this file. |
CmdLine | Command line to parse. |
Implements IPlatformFile.
Return true if the file is read only.
Implements IPlatformFile.
Definition at line 212 of file IPlatformFileLogWrapper.h.
|
virtual |
Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Directory | The directory to iterate the contents of. |
Visitor | Visitor to call for each element of the directory |
Implements IPlatformFile.
|
virtual |
Call the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Directory | The directory to iterate the contents of. |
Visitor | Visitor to call for each element of the directory (see FDirectoryVisitor::Visit for the signature) |
Reimplemented from IPlatformFile.
|
inlineoverridevirtual |
Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Directory | The directory to iterate the contents of. |
Visitor | Visitor to call for each element of the directory |
Implements IPlatformFile.
Definition at line 375 of file IPlatformFileLogWrapper.h.
|
virtual |
Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.
Directory | The directory to iterate the contents of, recursively. |
Visitor | Visitor to call for each element of the directory and each element of all subdirectories. |
Reimplemented from IPlatformFile.
|
virtual |
Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.
Directory | The directory to iterate the contents of, recursively. |
Visitor | Visitor to call for each element of the directory and each element of all subdirectories (see FDirectoryVisitor::Visit for the signature). |
Reimplemented from IPlatformFile.
|
inlineoverridevirtual |
Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.
Directory | The directory to iterate the contents of, recursively. |
Visitor | Visitor to call for each element of the directory and each element of all subdirectories. |
Reimplemented from IPlatformFile.
Definition at line 387 of file IPlatformFileLogWrapper.h.
|
virtual |
Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Directory | The directory to iterate the contents of. |
Visitor | Visitor to call for each element of the directory |
Implements IPlatformFile.
|
virtual |
Call the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Directory | The directory to iterate the contents of. |
Visitor | Visitor to call for each element of the directory (see FDirectoryStatVisitor::Visit for the signature) |
Reimplemented from IPlatformFile.
|
inlineoverridevirtual |
Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Directory | The directory to iterate the contents of. |
Visitor | Visitor to call for each element of the directory |
Implements IPlatformFile.
Definition at line 419 of file IPlatformFileLogWrapper.h.
|
virtual |
Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.
Directory | The directory to iterate the contents of, recursively. |
Visitor | Visitor to call for each element of the directory and each element of all subdirectories. |
Reimplemented from IPlatformFile.
|
virtual |
Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.
Directory | The directory to iterate the contents of, recursively. |
Visitor | Visitor to call for each element of the directory and each element of all subdirectories (see FDirectoryStatVisitor::Visit for the signature). |
Reimplemented from IPlatformFile.
|
inlineoverridevirtual |
Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.
Directory | The directory to iterate the contents of, recursively. |
Visitor | Visitor to call for each element of the directory and each element of all subdirectories. |
Reimplemented from IPlatformFile.
Definition at line 431 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Attempt to move a file. Return true if successful. Will not overwrite existing files.
Implements IPlatformFile.
Definition at line 223 of file IPlatformFileLogWrapper.h.
Definition at line 474 of file IPlatformFileLogWrapper.h.
Definition at line 468 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Open a file for async reading. This call does not hit the disk or block.
Filename | file to be opened |
Reimplemented from IPlatformFile.
Definition at line 485 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Open a file for async reading. This call does hit the disk; it is synchronous open.
Filename | file to be mapped. This doesn't actually map anything, just opens the file. |
Reimplemented from IPlatformFile.
Definition at line 497 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Attempt to open a file for reading.
Filename | file to be opened |
bAllowWrite | (applies to certain platforms only) whether this file is allowed to be written to by other processes. This flag is needed to open files that are currently being written to as well. |
Implements IPlatformFile.
Definition at line 288 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Attempt to open a file for writing. If successful will return a non-nullptr pointer. Close the file by delete'ing the handle.
Implements IPlatformFile.
Definition at line 299 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Controls if the pak precacher should process precache requests. Requests below this threshold will not get precached. Without this throttle, quite a lot of memory can be consumed if the disk races ahead of the CPU.
MinPriority | the minimum priority at which requests will get precached |
Reimplemented from IPlatformFile.
Definition at line 501 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Sets the platform file wrapped by this file.
Implements IPlatformFile.
Definition at line 170 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Attempt to change the read only status of a file. Return true if successful.
Implements IPlatformFile.
Definition at line 234 of file IPlatformFileLogWrapper.h.
|
inlineoverridevirtual |
Sets the modification time of a file
Implements IPlatformFile.
Definition at line 256 of file IPlatformFileLogWrapper.h.
|
overridevirtual |
Checks if this platform file should be used even though it was not asked to be. i.e. pak files exist on disk so we should use a pak file
Reimplemented from IPlatformFile.
|
private |
Definition at line 141 of file IPlatformFileLogWrapper.h.
|
private |
Definition at line 138 of file IPlatformFileLogWrapper.h.
Definition at line 142 of file IPlatformFileLogWrapper.h.