engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
FCoreAsyncTaskNotificationImpl类 参考

Basic asynchronous task notification that just logs status changes. 更多...

#include <CoreAsyncTaskNotificationImpl.h>

+ 类 FCoreAsyncTaskNotificationImpl 继承关系图:

Public 成员函数

virtual EAsyncTaskNotificationPromptAction GetPromptAction () const override
 Return the notification prompt action. 更多...
 
virtual void Initialize (const FAsyncTaskNotificationConfig &InConfig) override
 Initialize this notification based on the given config.
 
virtual void SetCanCancel (const TAttribute< bool > &InCanCancel) override
 Set whether this task be canceled.
 
virtual void SetComplete (const bool bSuccess) override
 Set the task as complete.
 
virtual void SetComplete (const FText &InTitleText, const FText &InProgressText, const bool bSuccess) override
 Update the text and set the task as complete.
 
virtual void SetHyperlink (const FSimpleDelegate &InHyperlink, const FText &InHyperlinkText) override
 Set the hyperlink text of this notification.
 
virtual void SetKeepOpenOnFailure (const TAttribute< bool > &InKeepOpenOnFailure) override
 Set whether to keep this notification open on failure.
 
virtual void SetKeepOpenOnSuccess (const TAttribute< bool > &InKeepOpenOnSuccess) override
 Set whether to keep this notification open on success.
 
virtual void SetNotificationState (const FAsyncNotificationStateData &InState) override
 Set the task notification state. 更多...
 
virtual void SetProgressText (const FText &InProgressText) override
 Set the progress text of this notification.
 
virtual void SetPromptText (const FText &InPromptText) override
 Set the prompt text of this notification.
 
virtual void SetTitleText (const FText &InTitleText, const bool bClearProgressText) override
 Set the title text of this notification.
 
virtual EAsyncTaskNotificationPromptAction GetPromptAction () const =0
 Return the notification prompt action. 更多...
 
virtual void Initialize (const FAsyncTaskNotificationConfig &InConfig)=0
 Initialize this notification based on the given config.
 
virtual void SetCanCancel (const TAttribute< bool > &InCanCancel)=0
 Set whether this task be canceled.
 
virtual void SetComplete (const bool bSuccess)=0
 Set the task as complete.
 
virtual void SetComplete (const FText &InTitleText, const FText &InProgressText, const bool bSuccess)=0
 Update the text and set the task as complete.
 
virtual void SetHyperlink (const FSimpleDelegate &InHyperlink, const FText &InHyperlinkText)=0
 Set the hyperlink text of this notification.
 
virtual void SetKeepOpenOnFailure (const TAttribute< bool > &InKeepOpenOnFailure)=0
 Set whether to keep this notification open on failure.
 
virtual void SetKeepOpenOnSuccess (const TAttribute< bool > &InKeepOpenOnSuccess)=0
 Set whether to keep this notification open on success.
 
virtual void SetNotificationState (const FAsyncNotificationStateData &InState)=0
 Set the task notification state. 更多...
 
virtual void SetProgressText (const FText &InProgressText)=0
 Set the progress text of this notification.
 
virtual void SetPromptText (const FText &InPromptText)=0
 Set the prompt text of this notification.
 
virtual void SetTitleText (const FText &InTitleText, const bool bClearProgressText)=0
 Set the title text of this notification.
 

Protected 成员函数

virtual void UpdateNotification ()
 Update the notification (the critical section is held while this function is called)
 

Protected 属性

FSimpleDelegate Hyperlink
 When set this will display as a hyperlink on the right side of the notification.
 
FText HyperlinkText
 Text to display for the hyperlink message
 
FText ProgressText
 The progress text displayed in the notification (if any)
 
FText PromptText
 The progress text displayed in the notification (if any)
 
EAsyncTaskNotificationState State = EAsyncTaskNotificationState::Pending
 The current state of this notification
 
FText TitleText
 The title text displayed in the notification (if any)
 

详细描述

Basic asynchronous task notification that just logs status changes.

成员函数说明

◆ GetPromptAction()

virtual EAsyncTaskNotificationPromptAction FCoreAsyncTaskNotificationImpl::GetPromptAction ( ) const
overridevirtual

Return the notification prompt action.

The action resets to None when the notification state changes.

实现了 IAsyncTaskNotificationImpl.

◆ SetNotificationState()

virtual void FCoreAsyncTaskNotificationImpl::SetNotificationState ( const FAsyncNotificationStateData &  InState)
overridevirtual

Set the task notification state.

provides finer control than SetComplete

实现了 IAsyncTaskNotificationImpl.


该类的文档由以下文件生成: