Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FFeedbackContextAnsi Class Reference

#include <FeedbackContextAnsi.h>

+ Inheritance diagram for FFeedbackContextAnsi:
+ Collaboration diagram for FFeedbackContextAnsi:

Public Member Functions

void Serialize (const TCHAR *V, ELogVerbosity::Type Verbosity, const FName &Category) override
 
void Serialize (const TCHAR *V, ELogVerbosity::Type Verbosity, const FName &Category, double Time) override
 
void SerializeRecord (const UE::FLogRecord &Record) override
 
bool YesNof (const FText &Question) override
 
FContextSupplierGetContext () const override
 
void SetContext (FContextSupplier *InContext) override
 
- Public Member Functions inherited from FFeedbackContext
virtual bool ReceivedUserCancel ()
 
FORCEINLINE const FSlowTaskStackGetScopeStack () const
 
void BeginSlowTask (const FText &Task, bool ShowProgressDialog, bool bShowCancelButton=false)
 
void UpdateProgress (int32 Numerator, int32 Denominator)
 
void StatusUpdate (int32 Numerator, int32 Denominator, const FText &StatusText)
 
void StatusForceUpdate (int32 Numerator, int32 Denominator, const FText &StatusText)
 
void EndSlowTask ()
 
virtual TWeakPtr< class SBuildProgressWidgetShowBuildProgressWindow ()
 
virtual void CloseBuildProgressWindow ()
 
 FFeedbackContext ()
 
virtual ~FFeedbackContext ()
 
void GetWarnings (TArray< FString > &OutWarnings) const
 
int32 GetNumWarnings () const
 
void GetErrors (TArray< FString > &OutErrors) const
 
int32 GetNumErrors () const
 
void GetErrorsAndWarningsAndEmpty (TArray< FString > &OutWarningsAndErrors)
 
void ClearWarningsAndErrors ()
 
- Public Member Functions inherited from FOutputDevice
 FOutputDevice ()
 
 FOutputDevice (FOutputDevice &&)=default
 
 FOutputDevice (const FOutputDevice &)=default
 
FOutputDeviceoperator= (FOutputDevice &&)=default
 
FOutputDeviceoperator= (const FOutputDevice &)=default
 
virtual ~FOutputDevice ()=default
 
virtual void Serialize (const TCHAR *V, ELogVerbosity::Type Verbosity, const FName &Category)=0
 
virtual void Serialize (const TCHAR *V, ELogVerbosity::Type Verbosity, const FName &Category, const double Time)
 
virtual void Flush ()
 
virtual void TearDown ()
 
void SetSuppressEventTag (bool bInSuppressEventTag)
 
FORCEINLINE bool GetSuppressEventTag () const
 
void SetAutoEmitLineTerminator (bool bInAutoEmitLineTerminator)
 
FORCEINLINE bool GetAutoEmitLineTerminator () const
 
virtual void Dump (class FArchive &Ar)
 
virtual bool IsMemoryOnly () const
 
virtual bool CanBeUsedOnAnyThread () const
 
virtual bool CanBeUsedOnMultipleThreads () const
 
virtual bool CanBeUsedOnPanicThread () const
 
void Log (const TCHAR *S)
 
void Log (ELogVerbosity::Type Verbosity, const TCHAR *S)
 
void Log (const FName &Category, ELogVerbosity::Type Verbosity, const TCHAR *Str)
 
void Log (const FString &S)
 
void Log (const FText &S)
 
void Log (ELogVerbosity::Type Verbosity, const FString &S)
 
void Log (const FName &Category, ELogVerbosity::Type Verbosity, const FString &S)
 
template<typename FmtType >
void Logf (const FmtType &Fmt)
 
template<typename FmtType , typename... Types>
FORCEINLINE void Logf (const FmtType &Fmt, Types... Args)
 
template<typename FmtType , typename... Types>
FORCEINLINE void Logf (ELogVerbosity::Type Verbosity, const FmtType &Fmt, Types... Args)
 
template<typename FmtType , typename... Types>
FORCEINLINE void CategorizedLogf (const FName &Category, ELogVerbosity::Type Verbosity, const FmtType &Fmt, Types... Args)
 

Static Public Member Functions

static void LocalPrint (const TCHAR *Str)
 

Public Attributes

FContextSupplierContext = nullptr
 
FOutputDeviceAuxOut = nullptr
 
- Public Attributes inherited from FFeedbackContext
bool TreatWarningsAsErrors = false
 

Private Member Functions

bool IsUsingLocalPrint () const
 

Additional Inherited Members

- Protected Member Functions inherited from FFeedbackContext
virtual void StartSlowTask (const FText &Task, bool bShowCancelButton=false)
 
virtual void FinalizeSlowTask ()
 
virtual void ProgressReported (const float TotalProgressInterp, FText DisplayMessage)
 
virtual bool IsPlayingInEditor () const
 
void FormatLine (FStringBuilderBase &Out, const TCHAR *V, ELogVerbosity::Type Verbosity, const FName &Category, double Time, ELogVerbosity::Type *OutVerbosity=nullptr) const
 
void FormatRecordLine (FStringBuilderBase &Out, const UE::FLogRecord &Record, ELogVerbosity::Type *OutVerbosity=nullptr) const
 
const TSharedPtr< FSlowTaskStack > & GetScopeStackSharedPtr () const
 
void RequestUpdateUI (bool bForceUpdate=false)
 
void UpdateUI ()
 
void AddWarning (const FString &InWarning)
 
void AddWarning (FString &&InWarning)
 
void AddError (const FString &InError)
 
void AddError (FString &&InError)
 
- Protected Attributes inherited from FFeedbackContext
friend FSlowTask
 
FSlowTaskStack ScopeStack
 
TSharedPtr< FSlowTaskStackScopeStackSharedPtr
 
TArray< TUniquePtr< FSlowTask > > LegacyAPIScopes
 
- Protected Attributes inherited from FOutputDevice
bool bSuppressEventTag
 
bool bAutoEmitLineTerminator
 

Detailed Description

Definition at line 15 of file FeedbackContextAnsi.h.

Member Function Documentation

◆ GetContext()

FContextSupplier * FFeedbackContextAnsi::GetContext ( ) const
inlineoverridevirtual

Reimplemented from FFeedbackContext.

Definition at line 29 of file FeedbackContextAnsi.h.

◆ IsUsingLocalPrint()

bool FFeedbackContextAnsi::IsUsingLocalPrint ( ) const
private

◆ LocalPrint()

static void FFeedbackContextAnsi::LocalPrint ( const TCHAR * Str)
static

◆ Serialize() [1/2]

void FFeedbackContextAnsi::Serialize ( const TCHAR * V,
ELogVerbosity::Type Verbosity,
const FName & Category )
overridevirtual

Reimplemented from FFeedbackContext.

◆ Serialize() [2/2]

void FFeedbackContextAnsi::Serialize ( const TCHAR * V,
ELogVerbosity::Type Verbosity,
const FName & Category,
double Time )
overridevirtual

Reimplemented from FFeedbackContext.

◆ SerializeRecord()

void FFeedbackContextAnsi::SerializeRecord ( const UE::FLogRecord & Record)
overridevirtual

Reimplemented from FFeedbackContext.

◆ SetContext()

void FFeedbackContextAnsi::SetContext ( FContextSupplier * InContext)
inlineoverridevirtual

Reimplemented from FFeedbackContext.

Definition at line 30 of file FeedbackContextAnsi.h.

◆ YesNof()

bool FFeedbackContextAnsi::YesNof ( const FText & Question)
overridevirtual

Ask the user a binary question, returning their answer

Reimplemented from FFeedbackContext.

Member Data Documentation

◆ AuxOut

FOutputDevice* FFeedbackContextAnsi::AuxOut = nullptr

Definition at line 19 of file FeedbackContextAnsi.h.

◆ Context

FContextSupplier* FFeedbackContextAnsi::Context = nullptr

Definition at line 18 of file FeedbackContextAnsi.h.


The documentation for this class was generated from the following file: