engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IMessageLog类 参考abstract

A message log. 更多...

#include <IMessageLog.h>

Public 成员函数

virtual void AddMessage (const TSharedRef< class FTokenizedMessage > &NewMessage, bool bMirrorToOutputLog=true)=0
 Appends a single message 更多...
 
virtual void AddMessages (const TArray< TSharedRef< class FTokenizedMessage > > &NewMessages, bool bMirrorToOutputLog=true)=0
 Appends multiple messages 更多...
 
virtual void NewPage (const FText &Title)=0
 Adds a new page to the log. 更多...
 
virtual void NotifyIfAnyMessages (const FText &Message, EMessageSeverity::Type SeverityFilter=EMessageSeverity::Info, bool bForce=false)=0
 Notify the user if there are any messages on the current page for this log. 更多...
 
virtual int32 NumMessages (EMessageSeverity::Type SeverityFilter)=0
 Checks to see if there are any messages according to the passed-in severity 更多...
 
virtual void Open ()=0
 Opens up the message log to this listing.
 
virtual ~IMessageLog ()
 Virtual destructor
 

详细描述

A message log.

Message logs can be written to from any module, incorporating rich tokenized information as well as text. Messages will be displayed to the standard log and the rich MessageLogListing if it is available.

成员函数说明

◆ AddMessage()

virtual void IMessageLog::AddMessage ( const TSharedRef< class FTokenizedMessage > &  NewMessage,
bool  bMirrorToOutputLog = true 
)
pure virtual

Appends a single message

参数
NewMessageThe message to append
bMirrorToOutputLogWhether or not the message should also be mirrored to the output log

◆ AddMessages()

virtual void IMessageLog::AddMessages ( const TArray< TSharedRef< class FTokenizedMessage > > &  NewMessages,
bool  bMirrorToOutputLog = true 
)
pure virtual

Appends multiple messages

参数
NewMessagesThe messages to append.
bMirrorToOutputLogWhether or not the messages should also be mirrored to the output log

◆ NewPage()

virtual void IMessageLog::NewPage ( const FText &  Title)
pure virtual

Adds a new page to the log.

Old pages are only kept around if they contain messages, so if the current page is empty, this call does nothing.

参数
Titlethe title of the new page

◆ NotifyIfAnyMessages()

virtual void IMessageLog::NotifyIfAnyMessages ( const FText &  Message,
EMessageSeverity::Type  SeverityFilter = EMessageSeverity::Info,
bool  bForce = false 
)
pure virtual

Notify the user if there are any messages on the current page for this log.

If there are no messages present, this call does nothing.

参数
MessageThe message to display in the notification.
SeverityFilterNotifications will only be displayed if there are messages present that are of equal or greater severity than this.
bForceNotify anyway, even if the filters gives us no messages.

◆ NumMessages()

virtual int32 IMessageLog::NumMessages ( EMessageSeverity::Type  SeverityFilter)
pure virtual

Checks to see if there are any messages according to the passed-in severity

参数
SeverityFilterFunction will only return true if all the messages are of equal or greater severity than this.
返回
The number of messages that pass our filter

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