Navigation
API > API/Plugins > API/Plugins/Learning
Simple thread-safe structure to record progress of some long-running computation.
| Name | FProgress |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/Learning/Public/LearningProgress.h |
| Include Path | #include "LearningProgress.h" |
Syntax
struct FProgress
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Lock | FRWLock | LearningProgress.h | ||
| Message | FText | LearningProgress.h | ||
| Progress | TAtomic< int32 > | LearningProgress.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Decrement () |
LearningProgress.h | ||
void Decrement
(
const int32 Num |
LearningProgress.h | ||
void Done() |
LearningProgress.h | ||
void GetMessage
(
FText& OutMessage |
LearningProgress.h | ||
int32 GetProgress() |
LearningProgress.h | ||
void SetMessage
(
const FText& InMessage |
LearningProgress.h | ||
void SetProgress
(
const int32 InProgress |
LearningProgress.h |