CriWare Unreal Engine
Plug-ins for CriWare solutions.
読み取り中…
検索中…
一致する文字列を見つけられません
SAtomMonitorLogWidget クラス

#include <SAtomMonitorLogWidget.h>

SAtomMonitorLogWidget の継承関係図

公開メンバ関数

 SAtomMonitorLogWidget ()
void AddLine (EAtomMonitorLogMode InLogType, TSharedRef< FString > LogLine, FTimespan InLogTimestamp=FTimespan::Zero(), FSlateColor LogColor=FSlateColor::UseForeground(), bool bTakeTabFocus=false)
void Construct (const FArguments &Args)
void OnMonitorRemoteStateChanged (const FString &ClientIP, bool bIsConnected)
void OnMonitorStateChanged (const FString &HostIp, uint16 HostPort, EAtomMonitorLogState InMonitorState)
 SLATE_BEGIN_ARGS (SAtomMonitorLogWidget)

公開変数類

TArray< TSharedPtr< FString > > ConsoleContextList
FString DefaultConsoleContext
TSharedPtr< STextBlock > InGamePreviewStatusText
FOnConsoleCommand OnConsoleCommand
FOnDeveloperClicked OnDeveloperClicked
FOnSuspendClicked OnStartStopClicked
TSharedPtr< SImage > ServerStatusBackgroundIcon
TSharedPtr< SImage > ServerStatusBadgeIcon
TSharedPtr< SImage > ServerStatusDownloadIcon
TSharedPtr< STextBlock > ServerStatusText
TSharedPtr< SImage > ServerStatusUploadIcon
TSharedPtr< STextBlock > StartStopButtonText

限定公開メンバ関数

TSharedPtr< SWidget > & ArrayAddNew (TArray< TSharedPtr< SWidget > > &InArray)
bool CanAutoScroll (TSharedPtr< FAtomMonitorLogTabInfo > InTab)
bool CanClear () const
bool CanCopy () const
bool CanFind () const
TSharedPtr< FAtomMonitorLogTabInfoGetActiveTabInfo () const
TSharedRef< FTabManager::FLayout > InitializeTabLayout (const FArguments &Args)
void OnClear ()
void OnCopy ()
void OnFind ()
TSharedRef< ITableRow > OnGenerateLogRow (TSharedRef< FAtomMonitorLogLine > Item, const TSharedRef< STableViewBase > &OwnerTable)
virtual FReply OnKeyDown (const FGeometry &MyGeometry, const FKeyEvent &InKeyboardEvent) override
void ScrollToEnd (TSharedRef< FAtomMonitorLogTabInfo > InTab)
void ScrollToText (TSharedRef< FAtomMonitorLogTabInfo > InTab, FString FindText, bool bSearchUp=false)
void SetServerStatusIcon (EAtomMonitorLogState InMonitorState) const
TSharedRef< SDockTab > SpawnLogTab (const FSpawnTabArgs &InSpawnTabArgs)
virtual void Tick (const FGeometry &AllottedGeometry, const double InCurrentTime, const float InDeltaTime) override
void UpdateFindHighlight (TSharedPtr< FAtomMonitorLogTabInfo > InTab, bool bHighlight, FString HighlightText=TEXT(""))

限定公開変数類

bool bAutoScroll
bool bShowTimestamps
TSharedPtr< SComboBox< TSharedPtr< FString > > > ConsoleComboBox
TSharedPtr< SEditableTextBox > ConsoleTextBox
TArray< TSharedRef< FAtomMonitorLogLine > > LogLines
TSharedPtr< FTabManager > LogTabManager
TArray< TSharedRef< FAtomMonitorLogTabInfo > > LogTabs
TSharedPtr< FUICommandList > LogWidgetCommands

構築子と解体子

◆ SAtomMonitorLogWidget()

SAtomMonitorLogWidget::SAtomMonitorLogWidget ( )
inline

Input argument, outlining the log filters expected for this log window - used to decide which tabs should be added

関数詳解

◆ AddLine()

void SAtomMonitorLogWidget::AddLine ( EAtomMonitorLogMode InLogType,
TSharedRef< FString > LogLine,
FTimespan InLogTimestamp = FTimespan::Zero(),
FSlateColor LogColor = FSlateColor::UseForeground(),
bool bTakeTabFocus = false )

Adds a log line to the log window

引数
InLogTypeThe type of log output this is (for filtering)
LogLineThe log line
LogColorThe colour to apply to the log line
bTakeTabFocusIf this log line isn't displayed on the currently focused tab, switch focus to a tab that does show it

◆ ArrayAddNew()

TSharedPtr< SWidget > & SAtomMonitorLogWidget::ArrayAddNew ( TArray< TSharedPtr< SWidget > > & InArray)
inlineprotected

Add a blank element to above array, and return a ref to that element - for tidiness/compatibility with Slate declarative syntax

◆ CanAutoScroll()

bool SAtomMonitorLogWidget::CanAutoScroll ( TSharedPtr< FAtomMonitorLogTabInfo > InTab)
protected

Whether or not auto-scrolling is presently possible for the specified tab NOTE: Does NOT determine whether or not it is presently enabled though

引数
InTabThe tab to check
戻り値
Whether or not auto-scrolling is possible

◆ CanClear()

bool SAtomMonitorLogWidget::CanClear ( ) const
protected

Used to determine whether 'Clear Log' is currently a valid action

戻り値
Whether or not a clear of the log can be performed right now

◆ CanCopy()

bool SAtomMonitorLogWidget::CanCopy ( ) const
protected

Used to determine whether 'Copy' is currently a valid action

戻り値
Whether or not a copy can be performed right now

◆ CanFind()

bool SAtomMonitorLogWidget::CanFind ( ) const
protected

Used to determine whether 'Find' is currently a valid action

戻り値
Whether or not find can be performed right now

◆ Construct()

void SAtomMonitorLogWidget::Construct ( const FArguments & Args)

Widget constructor

SAtomMonitorLogWidget

Start/Stop button

Search button

AutoScroll checkbox

Developer checkbox

Show Timestamps checkbox

Log list filter tabs

status and Console command bar

Console command context selector

Console command edit box

Monitor Server status

In-Game Preview Connection status

◆ GetActiveTabInfo()

TSharedPtr< FAtomMonitorLogTabInfo > SAtomMonitorLogWidget::GetActiveTabInfo ( ) const
protected

Returns a reference to the LogTabs entry, for the currently active tab

戻り値
The LogTabs entry, for the currently active tab

◆ InitializeTabLayout()

TSharedRef< FTabManager::FLayout > SAtomMonitorLogWidget::InitializeTabLayout ( const FArguments & Args)
protected

Initializes the LogTabInfo array and tab formatting, and returns the log tab formatting layout

引数
ArgsThe widget constructions args
戻り値
The layout to be used for initializing the tab widgets

◆ OnClear()

void SAtomMonitorLogWidget::OnClear ( )
protected

Called when the 'Clear Log' context button is clicked

◆ OnCopy()

void SAtomMonitorLogWidget::OnCopy ( )
protected

Called when the 'Copy' context button is clicked

◆ OnFind()

void SAtomMonitorLogWidget::OnFind ( )
protected

Called when the 'Find' context button is clicked

◆ OnGenerateLogRow()

TSharedRef< ITableRow > SAtomMonitorLogWidget::OnGenerateLogRow ( TSharedRef< FAtomMonitorLogLine > Item,
const TSharedRef< STableViewBase > & OwnerTable )
protected

◆ OnKeyDown()

FReply SAtomMonitorLogWidget::OnKeyDown ( const FGeometry & MyGeometry,
const FKeyEvent & InKeyboardEvent )
overrideprotectedvirtual

Called after a key is pressed when this widget has keyboard focus

引数
MyGeometryThe Geometry of the widget receiving the event
InKeyboardEventKeyboard event
戻り値
Returns whether the event was handled, along with other possible actions

◆ OnMonitorRemoteStateChanged()

void SAtomMonitorLogWidget::OnMonitorRemoteStateChanged ( const FString & ClientIP,
bool bIsConnected )

Notification from the Monitor (through a delegate), that the monitor remote conncection state has changed.

引数
InConnectionInfoThe new monitor connection information

◆ OnMonitorStateChanged()

void SAtomMonitorLogWidget::OnMonitorStateChanged ( const FString & HostIp,
uint16 HostPort,
EAtomMonitorLogState InMonitorState )

Notification from the Monitor (through a delegate), that the monitor state has changed (for the button text)

引数
InMonitorStateThe new monitor state

◆ ScrollToEnd()

void SAtomMonitorLogWidget::ScrollToEnd ( TSharedRef< FAtomMonitorLogTabInfo > InTab)
protected

Scrolls the specified tab to the last entry

引数
InTabThe tab which should scroll to the end

◆ ScrollToText()

void SAtomMonitorLogWidget::ScrollToText ( TSharedRef< FAtomMonitorLogTabInfo > InTab,
FString FindText,
bool bSearchUp = false )
protected

Scrolls to the specified text, in the specified tab (starting from the currently selected line)

引数
InTabThe tab that the search is being performed in
FindTextThe text to find
bSearchUpWhether or not to search up instead of down

◆ SetServerStatusIcon()

void SAtomMonitorLogWidget::SetServerStatusIcon ( EAtomMonitorLogState InMonitorState) const
protected

◆ SLATE_BEGIN_ARGS()

SAtomMonitorLogWidget::SLATE_BEGIN_ARGS ( SAtomMonitorLogWidget )
inline

◆ SpawnLogTab()

TSharedRef< SDockTab > SAtomMonitorLogWidget::SpawnLogTab ( const FSpawnTabArgs & InSpawnTabArgs)
protected

Spawns an individual tab for the log list view

'Close Find Bar' 'x' button

'Find' label

Find previous button

Find Next button

Highlight checkbox

Find edit box

Find error label

Log list view

◆ Tick()

void SAtomMonitorLogWidget::Tick ( const FGeometry & AllottedGeometry,
const double InCurrentTime,
const float InDeltaTime )
overrideprotectedvirtual

◆ UpdateFindHighlight()

void SAtomMonitorLogWidget::UpdateFindHighlight ( TSharedPtr< FAtomMonitorLogTabInfo > InTab,
bool bHighlight,
FString HighlightText = TEXT("") )
protected

Updates the find text highlighting for a tab

引数
InTabThe tab to update
bHighlightWhether or not highlighting has been enabled (NOTE: This often differs from the tabs bHighlightFind value)
HighlightTextThe text to highlight, if any

メンバ詳解

◆ bAutoScroll

bool SAtomMonitorLogWidget::bAutoScroll
protected

Whether or not auto-scrolling is currently enabled

◆ bShowTimestamps

bool SAtomMonitorLogWidget::bShowTimestamps
protected

Whether or not showing timestamps in logs

◆ ConsoleComboBox

TSharedPtr<SComboBox<TSharedPtr<FString> > > SAtomMonitorLogWidget::ConsoleComboBox
protected

The combo box for selecting the console command context

◆ ConsoleContextList

TArray<TSharedPtr<FString> > SAtomMonitorLogWidget::ConsoleContextList

The list of available console command contexts (for the combo box)

◆ ConsoleTextBox

TSharedPtr<SEditableTextBox> SAtomMonitorLogWidget::ConsoleTextBox
protected

The console command text box

◆ DefaultConsoleContext

FString SAtomMonitorLogWidget::DefaultConsoleContext

The default console command context (for the combo box)

◆ InGamePreviewStatusText

TSharedPtr<STextBlock> SAtomMonitorLogWidget::InGamePreviewStatusText

◆ LogLines

TArray<TSharedRef<FAtomMonitorLogLine> > SAtomMonitorLogWidget::LogLines
protected

The full list of all accumulated log lines - stored centrally/separately from tabs

◆ LogTabManager

TSharedPtr<FTabManager> SAtomMonitorLogWidget::LogTabManager
protected

The log window tab manager

◆ LogTabs

TArray<TSharedRef<FAtomMonitorLogTabInfo> > SAtomMonitorLogWidget::LogTabs
protected

Holds information necessary for initializing and handling the state of each tab

◆ LogWidgetCommands

TSharedPtr<FUICommandList> SAtomMonitorLogWidget::LogWidgetCommands
protected

Log widget context-menu/shortcut-key commands

◆ OnConsoleCommand

FOnConsoleCommand SAtomMonitorLogWidget::OnConsoleCommand

Delegate for handling UI-triggered console commands

◆ OnDeveloperClicked

FOnDeveloperClicked SAtomMonitorLogWidget::OnDeveloperClicked

Notification for developer checkbox click

◆ OnStartStopClicked

FOnSuspendClicked SAtomMonitorLogWidget::OnStartStopClicked

Notification for start/stop button click

◆ ServerStatusBackgroundIcon

TSharedPtr<SImage> SAtomMonitorLogWidget::ServerStatusBackgroundIcon

◆ ServerStatusBadgeIcon

TSharedPtr<SImage> SAtomMonitorLogWidget::ServerStatusBadgeIcon

◆ ServerStatusDownloadIcon

TSharedPtr<SImage> SAtomMonitorLogWidget::ServerStatusDownloadIcon

◆ ServerStatusText

TSharedPtr<STextBlock> SAtomMonitorLogWidget::ServerStatusText

◆ ServerStatusUploadIcon

TSharedPtr<SImage> SAtomMonitorLogWidget::ServerStatusUploadIcon

◆ StartStopButtonText

TSharedPtr<STextBlock> SAtomMonitorLogWidget::StartStopButtonText

Reference to the suspend buttons text, so the text can be modified


このクラス詳解は次のファイルから抽出されました: