Navigation
API > API/Runtime > API/Runtime/Core
| Name | FFileHandleRegistry |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/PlatformFileCommon.h |
| Include Path | #include "HAL/PlatformFileCommon.h" |
Syntax
class FFileHandleRegistry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFileHandleRegistry
(
int32 InMaxOpenHandles |
HAL/PlatformFileCommon.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FFileHandleRegistry() |
HAL/PlatformFileCommon.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HandlesCurrentlyInUse | FThreadSafeCounter | HAL/PlatformFileCommon.h | ||
| LockSection | FCriticalSection | Critical section to protect the below arrays | HAL/PlatformFileCommon.h | |
| MaxOpenHandles | int32 | HAL/PlatformFileCommon.h | ||
| OpenAndAvailableForClosingHead | FRegisteredFileHandle * | HAL/PlatformFileCommon.h | ||
| OpenAndAvailableForClosingTail | FRegisteredFileHandle * | HAL/PlatformFileCommon.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRegisteredFileHandle * InitialOpenFile
(
const TCHAR* Filename |
HAL/PlatformFileCommon.h | ||
void TrackEndRead
(
FRegisteredFileHandle* Handle |
TrackEndRead should only be called if TrackStartRead succeeded. | HAL/PlatformFileCommon.h | |
bool TrackStartRead
(
FRegisteredFileHandle* Handle |
Only returns false if the platform handle cannot be reopened. | HAL/PlatformFileCommon.h | |
void UnTrackAndCloseFile
(
FRegisteredFileHandle* Handle |
HAL/PlatformFileCommon.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PlatformCloseFile
(
FRegisteredFileHandle* |
HAL/PlatformFileCommon.h | ||
FRegisteredFileHandle * PlatformInitialOpenFile
(
const TCHAR* Filename |
HAL/PlatformFileCommon.h | ||
bool PlatformReopenFile
(
FRegisteredFileHandle* |
HAL/PlatformFileCommon.h |