Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FGenericPlatformOutputDevices Struct Reference

#include <GenericPlatformOutputDevices.h>

+ Inheritance diagram for FGenericPlatformOutputDevices:
+ Collaboration diagram for FGenericPlatformOutputDevices:

Static Public Member Functions

static void SetupOutputDevices ()
 
static FString GetAbsoluteLogFilename ()
 
static FOutputDeviceGetLog ()
 
static void GetPerChannelFileOverrides (TArray< FOutputDevice * > &OutputDevices)
 
static FOutputDeviceGetEventLog ()
 
static FOutputDeviceErrorGetError ()
 
static FFeedbackContextGetFeedbackContext ()
 

Static Protected Member Functions

static void ResetCachedAbsoluteFilename ()
 

Static Private Member Functions

static void OnLogFileOpened (const TCHAR *Pathname)
 

Static Private Attributes

static constexpr SIZE_T AbsoluteFileNameMaxLength = 1024
 
static TCHAR CachedAbsoluteFilename [AbsoluteFileNameMaxLength]
 
static FCriticalSection LogFilenameLock
 

Detailed Description

Generic implementation for most platforms

Definition at line 20 of file GenericPlatformOutputDevices.h.

Member Function Documentation

◆ GetAbsoluteLogFilename()

static FString FGenericPlatformOutputDevices::GetAbsoluteLogFilename ( )
static

Returns the absolute log filename generated from the project properties and/or command line parameters. The returned value may change during the execution, may not exist yet or may be locked by another process. It depends if the function is called before the log file was successfully opened or after. The log file is open lazily.

◆ GetError()

static FOutputDeviceError * FGenericPlatformOutputDevices::GetError ( )
static

◆ GetEventLog()

static FOutputDevice * FGenericPlatformOutputDevices::GetEventLog ( )
inlinestatic

Definition at line 34 of file GenericPlatformOutputDevices.h.

◆ GetFeedbackContext()

static FFeedbackContext * FGenericPlatformOutputDevices::GetFeedbackContext ( )
static

◆ GetLog()

static FOutputDevice * FGenericPlatformOutputDevices::GetLog ( )
static

◆ GetPerChannelFileOverrides()

static void FGenericPlatformOutputDevices::GetPerChannelFileOverrides ( TArray< FOutputDevice * > & OutputDevices)
static

◆ OnLogFileOpened()

static void FGenericPlatformOutputDevices::OnLogFileOpened ( const TCHAR * Pathname)
staticprivate

◆ ResetCachedAbsoluteFilename()

static void FGenericPlatformOutputDevices::ResetCachedAbsoluteFilename ( )
staticprotected

◆ SetupOutputDevices()

static void FGenericPlatformOutputDevices::SetupOutputDevices ( )
static

Add output devices which can vary depending on platform, configuration, command line parameters.

Member Data Documentation

◆ AbsoluteFileNameMaxLength

constexpr SIZE_T FGenericPlatformOutputDevices::AbsoluteFileNameMaxLength = 1024
staticconstexprprivate

Definition at line 46 of file GenericPlatformOutputDevices.h.

◆ CachedAbsoluteFilename

TCHAR FGenericPlatformOutputDevices::CachedAbsoluteFilename[AbsoluteFileNameMaxLength]
staticprivate

Definition at line 47 of file GenericPlatformOutputDevices.h.

◆ LogFilenameLock

FCriticalSection FGenericPlatformOutputDevices::LogFilenameLock
staticprivate

Definition at line 50 of file GenericPlatformOutputDevices.h.


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