Ark Server API (ASA) - Wiki
|
#include <CoreAsyncTaskNotificationImpl.h>
Protected Member Functions | |
virtual void | UpdateNotification () |
Protected Attributes | |
EAsyncTaskNotificationState | State = EAsyncTaskNotificationState::Pending |
FText | TitleText |
FText | ProgressText |
FText | PromptText |
FSimpleDelegate | Hyperlink |
FText | HyperlinkText |
Private Member Functions | |
void | LogNotification () |
Private Attributes | |
const FLogCategoryBase * | LogCategory = nullptr |
FCriticalSection | SynchronizationObject |
Basic asynchronous task notification that just logs status changes.
Definition at line 91 of file CoreAsyncTaskNotificationImpl.h.
FCoreAsyncTaskNotificationImpl::FCoreAsyncTaskNotificationImpl | ( | ) |
|
virtual |
|
overridevirtual |
Return the notification prompt action. The action resets to None
when the notification state changes.
Implements IAsyncTaskNotificationImpl.
|
overridevirtual |
Initialize this notification based on the given config.
Implements IAsyncTaskNotificationImpl.
|
private |
Log the current notification state (if any, and if enabled)
|
overridevirtual |
Set whether this task be canceled.
Implements IAsyncTaskNotificationImpl.
Set the task as complete.
Implements IAsyncTaskNotificationImpl.
|
overridevirtual |
Update the text and set the task as complete.
Implements IAsyncTaskNotificationImpl.
|
overridevirtual |
Set the hyperlink text of this notification.
Implements IAsyncTaskNotificationImpl.
|
overridevirtual |
Set whether to keep this notification open on failure.
Implements IAsyncTaskNotificationImpl.
|
overridevirtual |
Set whether to keep this notification open on success.
Implements IAsyncTaskNotificationImpl.
|
overridevirtual |
Set the task notification state. provides finer control than SetComplete
Implements IAsyncTaskNotificationImpl.
|
overridevirtual |
Set the progress text of this notification.
Implements IAsyncTaskNotificationImpl.
|
overridevirtual |
Set the prompt text of this notification.
Implements IAsyncTaskNotificationImpl.
|
overridevirtual |
Set the title text of this notification.
Implements IAsyncTaskNotificationImpl.
Update the notification (the critical section is held while this function is called)
|
protected |
When set this will display as a hyperlink on the right side of the notification.
Definition at line 128 of file CoreAsyncTaskNotificationImpl.h.
|
protected |
Text to display for the hyperlink message
Definition at line 131 of file CoreAsyncTaskNotificationImpl.h.
|
private |
Category this task should log its notifications under, or null to skip logging
Definition at line 137 of file CoreAsyncTaskNotificationImpl.h.
|
protected |
The progress text displayed in the notification (if any)
Definition at line 122 of file CoreAsyncTaskNotificationImpl.h.
|
protected |
The progress text displayed in the notification (if any)
Definition at line 125 of file CoreAsyncTaskNotificationImpl.h.
|
protected |
The current state of this notification
Definition at line 116 of file CoreAsyncTaskNotificationImpl.h.
|
mutableprivate |
Critical section protecting concurrent access to this object state
Definition at line 140 of file CoreAsyncTaskNotificationImpl.h.
|
protected |
The title text displayed in the notification (if any)
Definition at line 119 of file CoreAsyncTaskNotificationImpl.h.