CriWare Unreal Engine
Plug-ins for CriWare solutions.
読み取り中…
検索中…
一致する文字列を見つけられません
SAtomMonitorLogWidget.cpp ファイル
#include "SAtomMonitorLogWidget.h"
#include "Fonts/FontMeasure.h"
#include "Styling/CoreStyle.h"
#include "Framework/Commands/UICommandList.h"
#include "Framework/MultiBox/MultiBoxBuilder.h"
#include "Widgets/Layout/SSpacer.h"
#include "Widgets/Images/SImage.h"
#include "Widgets/Input/SEditableTextBox.h"
#include "Widgets/Input/SButton.h"
#include "Widgets/SToolTip.h"
#include "Widgets/Input/SCheckBox.h"
#include "Widgets/Docking/SDockTab.h"
#include "HAL/PlatformApplicationMisc.h"
#include "SAtomMonitorLogMultiSelectTableRow.h"

クラス

struct  AccessPrivate< Accessor, Member >
class  SLockedTab

マクロ定義

#define CALL_PROTECTED(InClass, InObj, MemberName)
#define GET_PRIVATE(InClass, InObj, MemberName)
#define GET_PRIVATE_REF(InClass, InObj, MemberName)
#define IMPLEMENT_GET_PRIVATE_VAR(InClass, VarName, VarType)
#define IMPLEMENT_GET_PROTECTED_FUNC(InClass, FuncName, FuncRet, FuncParms, FuncParmNames)
#define IMPLEMENT_GET_PROTECTED_FUNC_CONST(InClass, FuncName, FuncRet, FuncParms, FuncParmNames, FuncModifier)
#define LOCTEXT_NAMESPACE   "AtomEditor"

関数

 DECLARE_DELEGATE_RetVal_OneParam (bool, FOnTestWidget, const TSharedRef< SWidget > &)
 IMPLEMENT_GET_PRIVATE_VAR (SButton, Style, const FButtonStyle *)
 IMPLEMENT_GET_PRIVATE_VAR (SEditableTextBox, EditableText, TSharedPtr< SEditableText >)
 IMPLEMENT_GET_PROTECTED_FUNC_CONST (SBorder, GetBorderBackgroundColor, FSlateColor, void,, const)
 IMPLEMENT_GET_PROTECTED_FUNC_CONST (SDockTab, GetCurrentStyle, const FDockTabStyle &, void,, const)
static TSharedRef< SWidget > SearchForWidget (TSharedRef< SWidget > InWidget, FOnTestWidget InTester)
static bool SearchForWidgets (TArray< TSharedRef< SWidget > > &OutMatches, TSharedRef< SWidget > InWidget, FOnTestWidget InTester, bool bMultiMatch=true)

マクロ定義詳解

◆ CALL_PROTECTED

#define CALL_PROTECTED ( InClass,
InObj,
MemberName )
値:
((InClass##MemberName##Accessor*)&(*InObj))->MemberName##Accessor

◆ GET_PRIVATE

#define GET_PRIVATE ( InClass,
InObj,
MemberName )
値:
(*InObj).*GetPrivate(InClass##MemberName##Accessor())

A macro for tidying up accessing of private members, through the above code

引数
InClassThe class being accessed (not a string, just the class, i.e. FStackTracker)
InObjPointer to an instance of the specified class
MemberNameName of the member being accessed (again, not a string)
戻り値
The value of the member

◆ GET_PRIVATE_REF

#define GET_PRIVATE_REF ( InClass,
InObj,
MemberName )
値:
GET_PRIVATE(InClass, InObj, MemberName)
#define GET_PRIVATE(InClass, InObj, MemberName)
Definition SAtomMonitorLogWidget.cpp:130

Redundant version of the above, for emphasizing the ability to assign a writable reference which can modify the original value

◆ IMPLEMENT_GET_PRIVATE_VAR

#define IMPLEMENT_GET_PRIVATE_VAR ( InClass,
VarName,
VarType )
値:
struct InClass##VarName##Accessor \
{ \
using Member = VarType InClass::*; \
\
friend Member GetPrivate(InClass##VarName##Accessor); \
}; \
\
Definition SAtomMonitorLogWidget.cpp:38

Defines a class and template specialization, for a variable, needed for use with the GET_PRIVATE hook below

引数
InClassThe class being accessed (not a string, just the class, i.e. FStackTracker)
VarNameName of the variable being accessed (again, not a string)
VarTypeThe type of the variable being accessed

◆ IMPLEMENT_GET_PROTECTED_FUNC

#define IMPLEMENT_GET_PROTECTED_FUNC ( InClass,
FuncName,
FuncRet,
FuncParms,
FuncParmNames )
値:
IMPLEMENT_GET_PROTECTED_FUNC_CONST(InClass, FuncName, FuncRet, FuncParms, FuncParmNames,)
#define IMPLEMENT_GET_PROTECTED_FUNC_CONST(InClass, FuncName, FuncRet, FuncParms, FuncParmNames, FuncModifier)
Definition SAtomMonitorLogWidget.cpp:155

◆ IMPLEMENT_GET_PROTECTED_FUNC_CONST

#define IMPLEMENT_GET_PROTECTED_FUNC_CONST ( InClass,
FuncName,
FuncRet,
FuncParms,
FuncParmNames,
FuncModifier )
値:
struct InClass##FuncName##Accessor : public InClass \
{ \
FORCEINLINE FuncRet FuncName##Accessor(FuncParms) FuncModifier \
{\
return FuncName(FuncParmNames); \
} \
};

Defines a class used for hack-accessing protected functions, through the CALL_PROTECTED macro below

引数
InClassThe class being accessed (not a string, just the class, i.e. FStackTracker)
FuncNameName of the function being accessed (again, not a string)
FuncRetThe return type of the function
FuncParmsThe function parameters
FuncParmNamesThe names of the function parameters, as passed from one function to another
FuncModifier(Optional) Modifier placed after the function - usually 'const'

◆ LOCTEXT_NAMESPACE

#define LOCTEXT_NAMESPACE   "AtomEditor"

関数詳解

◆ DECLARE_DELEGATE_RetVal_OneParam()

DECLARE_DELEGATE_RetVal_OneParam ( bool ,
FOnTestWidget ,
const TSharedRef< SWidget > &  )

Delegate used for recursively iterating a widgets child widgets, and testing if they match a search condition

引数
InWidgetThe widget to be tested
戻り値
Whether or not the widget matches a search condition

◆ IMPLEMENT_GET_PRIVATE_VAR() [1/2]

IMPLEMENT_GET_PRIVATE_VAR ( SButton ,
Style ,
const FButtonStyle *  )

◆ IMPLEMENT_GET_PRIVATE_VAR() [2/2]

IMPLEMENT_GET_PRIVATE_VAR ( SEditableTextBox ,
EditableText ,
TSharedPtr< SEditableText >  )

◆ IMPLEMENT_GET_PROTECTED_FUNC_CONST() [1/2]

IMPLEMENT_GET_PROTECTED_FUNC_CONST ( SBorder ,
GetBorderBackgroundColor ,
FSlateColor ,
void ,
const  )

◆ IMPLEMENT_GET_PROTECTED_FUNC_CONST() [2/2]

IMPLEMENT_GET_PROTECTED_FUNC_CONST ( SDockTab ,
GetCurrentStyle ,
const FDockTabStyle & ,
void ,
const  )

◆ SearchForWidget()

TSharedRef< SWidget > SearchForWidget ( TSharedRef< SWidget > InWidget,
FOnTestWidget InTester )
static

Iteratively searches through a widget and all its child widgets, for a widget, that passes the test delegate conditions

引数
InWidgetThe widget to search
InTesterThe delegate (usually a lambda) to do condition testing with
戻り値
The returned widget (or SNullWidget, if none)

◆ SearchForWidgets()

bool SearchForWidgets ( TArray< TSharedRef< SWidget > > & OutMatches,
TSharedRef< SWidget > InWidget,
FOnTestWidget InTester,
bool bMultiMatch = true )
static

Iteratively searches through a widget and all its child widgets, for a-widget/widgets, that pass the test delegate conditions

引数
OutMatchesThe array of widgets that results are passed to
InWidgetThe widget to search
InTesterThe delegate (usually a lambda) to do condition testing with
bMultiMatch(Internal) Whether or not multiple matches are searched for (or just one single widget, the first match)
戻り値
Whether or not any widgets were found