Navigation
API > API/Runtime > API/Runtime/Core
Platform File chain manager.
| Name | FPlatformFileManager |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/PlatformFileManager.h |
| Include Path | #include "HAL/PlatformFileManager.h" |
Syntax
class FPlatformFileManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPlatformFileManager() |
Constructor. | HAL/PlatformFileManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PhysicalPlatformFile | TAtomic< class IPlatformFile * > | HAL/PlatformFileManager.h | ||
| TopmostPlatformFile | TAtomic< class IPlatformFile * > | Currently used platform file. | HAL/PlatformFileManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IPlatformFile * FindPlatformFile
(
const TCHAR* Name |
Finds a platform file in the chain of active platform files. | HAL/PlatformFileManager.h | |
| Gets the currently used platform file. | HAL/PlatformFileManager.h | ||
IPlatformFile * GetPlatformFile
(
const TCHAR* Name |
Creates a new platform file instance. | HAL/PlatformFileManager.h | |
IPlatformFile & GetPlatformPhysical() |
HAL/PlatformFileManager.h | ||
void InitializeNewAsyncIO() |
Performs additional initialization when the new async IO is enabled. | HAL/PlatformFileManager.h | |
bool InsertPlatformFile
(
IPlatformFile* NewPlatformFile |
Inserts a new platform file into the platform file wrapper chain. | HAL/PlatformFileManager.h | |
void RemovePlatformFile
(
IPlatformFile* PlatformFileToRemove |
Removes the specified file wrapper from the platform file wrapper chain. | HAL/PlatformFileManager.h | |
void SetPlatformFile
(
IPlatformFile& NewTopmostPlatformFile |
Sets the current platform file. | HAL/PlatformFileManager.h | |
void SetPlatformPhysical
(
IPlatformFile& NewPhysicalPlatformFile |
HAL/PlatformFileManager.h | ||
void TickActivePlatformFile() |
Calls Tick on the platform files in the TopmostPlatformFile chain | HAL/PlatformFileManager.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FPlatformFileManager & Get() |
Gets FPlatformFileManager Singleton. | HAL/PlatformFileManager.h |