Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
Inheritance Hierarchy
- FOutputDevice
- FFeedbackContext
- FAutomationTestFramework::FAutomationTestMessageFilter
- FFeedbackContextAnsi
- FFeedbackContextEditor
- FDataprepCoreUtils::FDataprepFeedbackContext
- FUnixFeedbackContext
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/FeedbackContext.h |
| Include | #include "Misc/FeedbackContext.h" |
Syntax
class FFeedbackContext : public FOutputDevice
Remarks
A context for displaying modal warning messages.
Variables
| Type | Name | Description | |
|---|---|---|---|
| friend | FSlowTask | ||
| TArray< TUniquePtr< FSlowTask > > | LegacyAPIScopes | ||
| FSlowTaskStack | ScopeStack | Stack of pointers to feedback scopes that are currently open | |
| TSharedPtr< FSlowTaskStack > | ScopeStackSharedPtr | Points to the ScopeStack above when initialized - this is because Slate wants a TSharedPtr, but we don't want to allocate | |
| bool | TreatWarningsAsErrors |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | Adds a new error message to errors history. | ||
| void | AddWarning
(
const FString& InWarning |
Adds a new warning message to warnings history. | |
| void | AddWarning
(
FString&& InWarning |
||
| void | BeginSlowTask
(
const FText& Task, |
||
| void | Clears all history | ||
| void | |||
| void | EndSlowTask () |
||
| void | Called to destroy a slow task | ||
| void | FormatLine
(
FStringBuilderBase& Out, |
||
| void | FormatRecordLine
(
FStringBuilderBase& Out, |
||
| FContextSupplier * | GetContext () |
||
| void | Gets errors history | ||
| void | GetErrorsAndWarningsAndEmpty
(
TArray< FString >& OutWarningsAndErrors |
Gets all errors and warnings and clears the history | |
| int32 | GetNumErrors () |
||
| int32 | |||
| const FSlowTaskStack & | Public const access to the current state of the scope stack | ||
| const TSharedPtr< FSlowTaskStack > & | |||
| void | GetWarnings
(
TArray< FString >& OutWarnings |
Gets warnings history | |
| bool | Called to check whether we are playing in editor when starting a slow task | ||
| FOnFinalizeSlowTask & | |||
| FOnStartSlowTask & | |||
| void | ProgressReported
(
const float TotalProgressInterp, |
Called when some progress has occurred | |
| bool | Whether or not the user has canceled out of the progress dialog (i.e. the ongoing slow task or the last one that ran). | ||
| void | RequestUpdateUI
(
bool bForceUpdate |
Ask that the UI be updated as a result of the scope stack changing | |
| void | SetContext
(
FContextSupplier* InContext |
||
| TWeakPtr< class SBuildProgressWidget > | Shows/Closes Special Build Progress dialogs | ||
| void | StartSlowTask
(
const FText& Task, |
Called to create a slow task | |
| void | StatusForceUpdate
(
int32 Numerator, |
||
| void | StatusUpdate
(
int32 Numerator, |
||
| void | UpdateProgress
(
int32 Numerator, |
||
| void | UpdateUI () |
Update the UI as a result of the scope stack changing | |
| bool | Ask the user a binary question, returning their answer |
Overridden from FOutputDevice
| Type | Name | Description | |
|---|---|---|---|
| void | Serialize
(
const TCHAR* V, |
||
| void | Serialize
(
const TCHAR* V, |
||
| void | SerializeRecord
(
const UE::FLogRecord& Record |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnFinalizeSlowTask | |||
| FOnStartSlowTask |