engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FPlatformFileManager类 参考

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.

成员函数说明

◆ FindPlatformFile()

IPlatformFile * FPlatformFileManager::FindPlatformFile ( const TCHAR *  Name)

Finds a platform file in the chain of active platform files.

参数
Nameof the platform file.
返回
Pointer to the active platform file or nullptr if the platform file was not found.

◆ GetPlatformFile() [1/2]

IPlatformFile & FPlatformFileManager::GetPlatformFile ( )

Gets the currently used platform file.

返回
Reference to the currently used platform file.

◆ GetPlatformFile() [2/2]

IPlatformFile * FPlatformFileManager::GetPlatformFile ( const TCHAR *  Name)

Creates a new platform file instance.

参数
Nameof the platform file to create.
返回
Platform file instance of the platform file type was found, nullptr otherwise.

◆ 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

参数
Nameof the platform file to create.
返回
Platform file instance of the platform file type was found, nullptr otherwise.

◆ SetPlatformFile()

void FPlatformFileManager::SetPlatformFile ( IPlatformFile &  NewTopmostPlatformFile)

Sets the current platform file.

参数
NewTopmostPlatformFilePlatform file to be used.

该类的文档由以下文件生成: