Ark Server API (ASA) - Wiki
|
#include <RemoteConfigIni.h>
Public Member Functions | |
FRemoteConfigAsyncWorker (const TCHAR *InFilename, FRemoteConfigAsyncIOInfo &InIOInfo, FString *InContents, bool bInIsRead) | |
void | DoWork () |
bool | IsReadSuccess () const |
FRemoteConfigAsyncIOInfo & | GetIOInfo () |
FORCEINLINE TStatId | GetStatId () const |
bool | CanAbandon () |
void | Abandon () |
Private Attributes | |
TCHAR | Filename [1024] |
FRemoteConfigAsyncIOInfo | IOInfo |
FString | Contents |
bool | bIsRead |
Async task that handles the IO of a remote config file
Definition at line 55 of file RemoteConfigIni.h.
FRemoteConfigAsyncWorker::FRemoteConfigAsyncWorker | ( | const TCHAR * | InFilename, |
FRemoteConfigAsyncIOInfo & | InIOInfo, | ||
FString * | InContents, | ||
bool | bInIsRead ) |
Constructor.
void FRemoteConfigAsyncWorker::Abandon | ( | ) |
Abandon routine
bool FRemoteConfigAsyncWorker::CanAbandon | ( | ) |
Indicates to the thread pool that this task is abandonable.
void FRemoteConfigAsyncWorker::DoWork | ( | ) |
Performs the actual IO operations.
FRemoteConfigAsyncIOInfo & FRemoteConfigAsyncWorker::GetIOInfo | ( | ) |
Returns the local IO info object
|
inline |
Definition at line 71 of file RemoteConfigIni.h.
bool FRemoteConfigAsyncWorker::IsReadSuccess | ( | ) | const |
Returns true if the read IO operation succeeded.
|
private |
true if read operation, false if write.
Definition at line 94 of file RemoteConfigIni.h.
|
private |
Contents to write out.
Definition at line 91 of file RemoteConfigIni.h.
|
private |
Name of the remote config file.
Definition at line 85 of file RemoteConfigIni.h.
|
private |
Local copy of the IO info object, for thread safety.
Definition at line 88 of file RemoteConfigIni.h.