Navigation
API > API/Runtime > API/Runtime/Core
Basic asynchronous task notification that just logs status changes.
| Name | FCoreAsyncTaskNotificationImpl |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/CoreAsyncTaskNotificationImpl.h |
| Include Path | #include "Misc/CoreAsyncTaskNotificationImpl.h" |
Syntax
class FCoreAsyncTaskNotificationImpl : public IAsyncTaskNotificationImpl
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCoreAsyncTaskNotificationImpl() |
Misc/CoreAsyncTaskNotificationImpl.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCoreAsyncTaskNotificationImpl() |
Misc/CoreAsyncTaskNotificationImpl.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LogCategory | const FLogCategoryBase * | Category this task should log its notifications under, or null to skip logging | Misc/CoreAsyncTaskNotificationImpl.h | |
| SynchronizationObject | FCriticalSection | Critical section protecting concurrent access to this object state | Misc/CoreAsyncTaskNotificationImpl.h |
Functions
Public
Overridden from IAsyncTaskNotificationImpl
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Return the notification prompt action. | Misc/CoreAsyncTaskNotificationImpl.h | ||
virtual void Initialize
(
const FAsyncTaskNotificationConfig& InConfig |
Initialize this notification based on the given config. | Misc/CoreAsyncTaskNotificationImpl.h | |
virtual void SetCanCancel
(
const TAttribute< bool >& InCanCancel |
Set whether this task be canceled. | Misc/CoreAsyncTaskNotificationImpl.h | |
virtual void SetComplete
(
const bool bSuccess |
Set the task as complete. | Misc/CoreAsyncTaskNotificationImpl.h | |
virtual void SetComplete
(
const FText& InTitleText, |
Update the text and set the task as complete. | Misc/CoreAsyncTaskNotificationImpl.h | |
virtual void SetHyperlink
(
const FSimpleDelegate& InHyperlink, |
Set the hyperlink text of this notification. | Misc/CoreAsyncTaskNotificationImpl.h | |
virtual void SetKeepOpenOnFailure
(
const TAttribute< bool >& InKeepOpenOnFailure |
Set whether to keep this notification open on failure. | Misc/CoreAsyncTaskNotificationImpl.h | |
virtual void SetKeepOpenOnSuccess
(
const TAttribute< bool >& InKeepOpenOnSuccess |
Set whether to keep this notification open on success. | Misc/CoreAsyncTaskNotificationImpl.h | |
virtual void SetNotificationState
(
const FAsyncNotificationStateData& InState |
Set the task notification state. provides finer control than SetComplete | Misc/CoreAsyncTaskNotificationImpl.h | |
virtual void SetProgressText
(
const FText& InProgressText |
Set the progress text of this notification. | Misc/CoreAsyncTaskNotificationImpl.h | |
virtual void SetPromptText
(
const FText& InPromptText |
Set the prompt text of this notification. | Misc/CoreAsyncTaskNotificationImpl.h | |
virtual void SetTitleText
(
const FText& InTitleText, |
Set the title text of this notification. | Misc/CoreAsyncTaskNotificationImpl.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void UpdateNotification() |
Update the notification (the critical section is held while this function is called) | Misc/CoreAsyncTaskNotificationImpl.h |