#include <PlatformFileManager.h>
Platform File chain manager.
Definition at line 16 of file PlatformFileManager.h.
◆ FPlatformFileManager()
FPlatformFileManager::FPlatformFileManager |
( |
| ) |
|
◆ FindPlatformFile()
Finds a platform file in the chain of active platform files.
- Parameters
-
Name | of the platform file. |
- Returns
- Pointer to the active platform file or nullptr if the platform file was not found.
◆ Get()
◆ GetPlatformFile() [1/2]
Gets the currently used platform file.
- Returns
- Reference to the currently used platform file.
◆ GetPlatformFile() [2/2]
Creates a new platform file instance.
- Parameters
-
Name | of the platform file to create. |
- Returns
- Platform file instance of the platform file type was found, nullptr otherwise.
◆ InitializeNewAsyncIO()
void FPlatformFileManager::InitializeNewAsyncIO |
( |
| ) |
|
Performs additional initialization when the new async IO is enabled.
◆ InsertPlatformFile()
Inserts a new platform file into the platform file wrapper chain. The file is inserted before NewPlatformFile->GetLowerLevel().
THIS IS EXTREMELY DANGEROUS AFTER THE ENGINE HAS BEEN INITIALIZED AS WE MAY BE MODIFYING THE WRAPPER CHAIN WHILE THINGS ARE BEING LOADED
- Parameters
-
The | platform file to insert. |
- Returns
- true if the platform file was inserted.
◆ RemovePlatformFile()
void FPlatformFileManager::RemovePlatformFile |
( |
IPlatformFile * | PlatformFileToRemove | ) |
|
Removes the specified file wrapper from the platform file wrapper chain.
THIS IS EXTREMELY DANGEROUS AFTER THE ENGINE HAS BEEN INITIALIZED AS WE MAY BE MODIFYING THE WRAPPER CHAIN WHILE THINGS ARE BEING LOADED
- Parameters
-
The | platform file to remove. |
◆ SetPlatformFile()
Sets the current platform file.
- Parameters
-
NewTopmostPlatformFile | Platform file to be used. |
◆ TickActivePlatformFile()
void FPlatformFileManager::TickActivePlatformFile |
( |
| ) |
|
calls Tick on the platform files in the TopmostPlatformFile chain
◆ TopmostPlatformFile
The documentation for this class was generated from the following file: