Navigation
API > API/Runtime > API/Runtime/Core
Manages async IO tasks for remote config files
| Name | FRemoteConfigAsyncTaskManager |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/RemoteConfigIni.h |
| Include Path | #include "Misc/RemoteConfigIni.h" |
Syntax
class FRemoteConfigAsyncTaskManager
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedWriteTasks | TArray< FRemoteConfigAsyncCachedWriteTask > | List of cached off write tasks waiting for currently pending tasks to complete. | Misc/RemoteConfigIni.h | |
| PendingTasks | TMap< FString, FAsyncTask< FRemoteConfigAsyncWorker > * > | List of pending async IO operations | Misc/RemoteConfigIni.h | |
| SynchronizationObject | FCriticalSection | Object used for synchronization via a scoped lock. | Misc/RemoteConfigIni.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AreAllTasksFinished
(
bool bDoRemoval |
Returns true if the all tasks in the queue have completed (or, if the queue is empty). | Misc/RemoteConfigIni.h | |
bool GetReadData
(
const TCHAR* InFilename, |
Safely retrieve the read data from the completed async task. | Misc/RemoteConfigIni.h | |
bool IsFinished
(
const TCHAR* InFilename |
Returns true if the task has completed | Misc/RemoteConfigIni.h | |
bool StartTask
(
const TCHAR* InFilename, |
Add an async IO task to the queue and kick it off. | Misc/RemoteConfigIni.h | |
void Tick() |
Handles cached write tasks. | Misc/RemoteConfigIni.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FRemoteConfigAsyncTaskManager * Get() |
Returns a reference to the global FRemoteConfigAsyncTaskManager object. | Misc/RemoteConfigIni.h |