Platform File chain manager. 更多...
#include <PlatformFilemanager.h>
Public 成员函数 | |
| IPlatformFile * | FindPlatformFile (const TCHAR *Name) |
| Finds a platform file in the chain of active platform files. 更多... | |
| FPlatformFileManager () | |
| Constructor. | |
| IPlatformFile & | GetPlatformFile () |
| Gets the currently used platform file. 更多... | |
| IPlatformFile * | GetPlatformFile (const TCHAR *Name) |
| Creates a new platform file instance. 更多... | |
| void | InitializeNewAsyncIO () |
| Performs additional initialization when the new async IO is enabled. | |
| void | RemovePlatformFile (IPlatformFile *PlatformFileToRemove) |
| Removes the specified file wrapper from the platform file wrapper chain. 更多... | |
| void | SetPlatformFile (IPlatformFile &NewTopmostPlatformFile) |
| Sets the current platform file. 更多... | |
| void | TickActivePlatformFile () |
| calls Tick on the platform files in the TopmostPlatformFile chain | |
静态 Public 成员函数 | |
| static FPlatformFileManager & | Get () |
| Gets FPlatformFileManager Singleton. | |
Platform File chain manager.
| IPlatformFile * FPlatformFileManager::FindPlatformFile | ( | const TCHAR * | Name | ) |
Finds a platform file in the chain of active platform files.
| Name | of the platform file. |
| IPlatformFile & FPlatformFileManager::GetPlatformFile | ( | ) |
Gets the currently used platform file.
| IPlatformFile * FPlatformFileManager::GetPlatformFile | ( | const TCHAR * | Name | ) |
Creates a new platform file instance.
| Name | of the platform file to create. |
| 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
| Name | of the platform file to create. |
| void FPlatformFileManager::SetPlatformFile | ( | IPlatformFile & | NewTopmostPlatformFile | ) |
Sets the current platform file.
| NewTopmostPlatformFile | Platform file to be used. |