![]() |
MCRO
C++23 utilities for Unreal Engine.
|
A modular feature which allows other modules to inject their own UI into the common error display widget. More...
#include <SErrorDisplay.h>
Public Member Functions | |
virtual bool | SupportsError (IErrorRef const &error) |
virtual TSharedPtr< SWidget > | PostSeverity (IErrorRef const &error) |
virtual TSharedPtr< SWidget > | PostMessage (IErrorRef const &error) |
virtual TSharedPtr< SWidget > | PostDetails (IErrorRef const &error) |
virtual TSharedPtr< SWidget > | PostCodeContext (IErrorRef const &error) |
virtual TSharedPtr< SWidget > | PostErrorPropagation (IErrorRef const &error) |
virtual TSharedPtr< SWidget > | PostInnerErrors (IErrorRef const &error) |
![]() | |
void | Register (this Implementation &&self) |
Call this function in implementation constructors. | |
virtual | ~TAutoModularFeature () |
Additional Inherited Members | |
![]() | |
using | Feature |
using | AutoModularFeature |
![]() | |
static auto | OnRegistered () -> TBelatedEventDelegate< void(Feature *)> & |
This event is triggered when an implementation of this feature is created. | |
static FORCEINLINE FName | FeatureName () |
Get the name of the feature. | |
static FORCEINLINE int32 | ImplementationCount () |
static FORCEINLINE Feature & | Get () |
Get the first existing implementation of this feature. If there are no implementations a check will fail. | |
static FORCEINLINE Feature * | TryGet (const int32 index) |
Get the first existing implementation of this feature. Return nullptr If there are no implementations. | |
static FORCEINLINE TArray< Feature * > | GetAll () |
static FORCEINLINE TFuture< Feature * > | GetBelated () |
Get the first implementation once it is registered, or return the first implementation immediately if there's already one registered. | |
A modular feature which allows other modules to inject their own UI into the common error display widget.
Of course these functions are only triggered when an error is using SErrorDisplay
as its widget type, but errors may declare any other widget type to be used to represent themselves.
Definition at line 31 of file SErrorDisplay.h.
|
inlinevirtual |
Definition at line 38 of file SErrorDisplay.h.
|
inlinevirtual |
Definition at line 37 of file SErrorDisplay.h.
|
inlinevirtual |
Definition at line 39 of file SErrorDisplay.h.
|
inlinevirtual |
Definition at line 40 of file SErrorDisplay.h.
|
inlinevirtual |
Definition at line 36 of file SErrorDisplay.h.
|
inlinevirtual |
Definition at line 35 of file SErrorDisplay.h.
|
inlinevirtual |
Definition at line 34 of file SErrorDisplay.h.