Navigation
API > API/Runtime > API/Runtime/Core
Unix implementation of the misc OS functions
| Name | FUnixPlatformMisc |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformMisc.h |
| Include Path | #include "Unix/UnixPlatformMisc.h" |
Syntax
struct FUnixPlatformMisc : public FGenericPlatformMisc
Inheritance Hierarchy
- FGenericPlatformMisc → FUnixPlatformMisc
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void CreateGuid
(
FGuid& Result |
Unix/UnixPlatformMisc.h | ||
static bool GetBlockingIOStats
(
FProcessIOStats& OutStats, |
Unix/UnixPlatformMisc.h | ||
static bool GetContextSwitchStats
(
FContextSwitchStats& OutStats, |
Unix/UnixPlatformMisc.h | ||
static FString GetCPUBrand() |
Unix/UnixPlatformMisc.h | ||
static uint32 GetCPUInfo() |
Uses cpuid instruction to get the vendor string | Unix/UnixPlatformMisc.h | |
static uint32 GetCPUMicrocodeRevision() |
Unix/UnixPlatformMisc.h | ||
static uint32 GetCPUModelID() |
Unix/UnixPlatformMisc.h | ||
static FString GetCPUVendor() |
Unix/UnixPlatformMisc.h | ||
static bool GetDiskTotalAndFreeSpace
(
const FString& InPath, |
Unix/UnixPlatformMisc.h | ||
static void GetEnvironmentVariable
(
const TCHAR* VariableName, |
Unix/UnixPlatformMisc.h | ||
static FString GetEnvironmentVariable
(
const TCHAR* VariableName |
Unix/UnixPlatformMisc.h | ||
static uint32 GetLastError() |
Unix/UnixPlatformMisc.h | ||
static FString GetLoginId() |
Unix/UnixPlatformMisc.h | ||
static TArray< uint8 > GetMacAddress() |
Unix/UnixPlatformMisc.h | ||
static int32 GetMaxPathLength() |
Unix/UnixPlatformMisc.h | ||
static const TCHAR * GetNullRHIShaderFormat() |
Determines the shader format for the platform | Unix/UnixPlatformMisc.h | |
static FString GetOperatingSystemId() |
Unix/UnixPlatformMisc.h | ||
static FString GetOSVersion() |
Unix/UnixPlatformMisc.h | ||
| Unix/UnixPlatformMisc.h | |||
static bool GetPageFaultStats
(
FPageFaultStats& OutStats, |
Unix/UnixPlatformMisc.h | ||
static const TCHAR * GetPathVarDelimiter() |
Unix/UnixPlatformMisc.h | ||
static IPlatformChunkInstall * GetPlatformChunkInstall() |
Unix/UnixPlatformMisc.h | ||
static FString GetPrimaryGPUBrand() |
Unix/UnixPlatformMisc.h | ||
static const TCHAR * GetSystemErrorMessage
(
TCHAR* OutBuffer, |
Unix/UnixPlatformMisc.h | ||
static bool HasBeenStartedRemotely() |
Returns whether the program has been started remotely (e.g. over SSH) | Unix/UnixPlatformMisc.h | |
static bool HasCPUIDInstruction() |
Unix/UnixPlatformMisc.h | ||
static bool HasNonoptionalCPUFeatures() |
Unix/UnixPlatformMisc.h | ||
static bool HasOverriddenReturnCode
(
uint8* OverriddenReturnCodeToUsePtr |
Determines if return code has been overriden and returns it. | Unix/UnixPlatformMisc.h | |
static bool IsDebuggerPresent() |
Unix/UnixPlatformMisc.h | ||
static bool IsRunningOnBattery() |
Unix/UnixPlatformMisc.h | ||
static void LowLevelOutputDebugString
(
const TCHAR* Message |
Unix/UnixPlatformMisc.h | ||
static void MemoryBarrier() |
Unix/UnixPlatformMisc.h | ||
static EAppReturnType::Type MessageBoxExt
(
EAppMsgType::Type MsgType, |
Unix/UnixPlatformMisc.h | ||
static bool NeedsNonoptionalCPUFeaturesCheck() |
Unix/UnixPlatformMisc.h | ||
static void NormalizePath
(
FString& InPath |
Unix/UnixPlatformMisc.h | ||
static void NormalizePath
(
FStringBuilderBase& InPath |
Unix/UnixPlatformMisc.h | ||
static int32 NumberOfCores() |
Unix/UnixPlatformMisc.h | ||
static int32 NumberOfCoresIncludingHyperthreads() |
Unix/UnixPlatformMisc.h | ||
static int32 NumberOfWorkerThreadsToSpawn() |
Unix/UnixPlatformMisc.h | ||
static void PlatformInit() |
Unix/UnixPlatformMisc.h | ||
static void PlatformPreInit() |
Unix/UnixPlatformMisc.h | ||
static void PlatformTearDown() |
Unix/UnixPlatformMisc.h | ||
static void RequestExit
(
bool Force, |
Unix/UnixPlatformMisc.h | ||
static void RequestExitWithStatus
(
bool Force, |
Unix/UnixPlatformMisc.h | ||
static void SetCrashHandler
(
void(*)(const FGenericCrashContext&Context) CrashHandler |
Unix/UnixPlatformMisc.h | ||
static void SetEnvironmentVar
(
const TCHAR* VariableName, |
Unix/UnixPlatformMisc.h | ||
static void SetGracefulTerminationHandler() |
Unix/UnixPlatformMisc.h | ||
| Unix/UnixPlatformMisc.h | |||
static bool SetupSyscallFilters() |
Explicitly call this function to setup syscall filters based on a file passed in from the command line -allowsyscallfilterfile=PATH_TO_FILE | Unix/UnixPlatformMisc.h | |
static void UngrabAllInput() |
Ungrabs input (useful before breaking into debugging) | Unix/UnixPlatformMisc.h |