![]() |
Ark Server API (ASA) - Wiki
|
#include "Containers/StringFwd.h"#include "CoreFwd.h"#include "CoreTypes.h"#include "HAL/PlatformCrt.h"#include "Math/NumericLimits.h"#include "Misc/CompressionFlags.h"#include "Misc/EnumClassFlags.h"
Include dependency graph for GenericPlatformMisc.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | FSHA256Signature |
| struct | FProcessorGroupDesc |
| struct | FPageFaultStats |
| struct | FProcessIOStats |
| struct | FContextSwitchStats |
| struct | FGenericPlatformMisc |
Namespaces | |
| namespace | EBuildConfigurations |
| namespace | EBuildTargets |
| namespace | EErrorReportMode |
| namespace | EAppMsgType |
| namespace | EAppReturnType |
Macros | |
| #define | UE_DEBUG_BREAK() ((void)(FPlatformMisc::IsDebuggerPresent() && ([] () { UE_DEBUG_BREAK_IMPL(); } (), 1))) |
Typedefs | |
| typedef EBuildConfiguration | EBuildConfigurations::Type |
| typedef EBuildTargetType | EBuildTargets::Type |
Variables | |
| static constexpr EBuildConfiguration | EBuildConfigurations::Unknown = EBuildConfiguration::Unknown |
| static constexpr EBuildConfiguration | EBuildConfigurations::Debug = EBuildConfiguration::Debug |
| static constexpr EBuildConfiguration | EBuildConfigurations::DebugGame = EBuildConfiguration::DebugGame |
| static constexpr EBuildConfiguration | EBuildConfigurations::Development = EBuildConfiguration::Development |
| static constexpr EBuildConfiguration | EBuildConfigurations::Test = EBuildConfiguration::Test |
| static constexpr EBuildConfiguration | EBuildConfigurations::Shipping = EBuildConfiguration::Shipping |
| static constexpr EBuildTargetType | EBuildTargets::Unknown = EBuildTargetType::Unknown |
| static constexpr EBuildTargetType | EBuildTargets::Editor = EBuildTargetType::Editor |
| static constexpr EBuildTargetType | EBuildTargets::Game = EBuildTargetType::Game |
| static constexpr EBuildTargetType | EBuildTargets::Server = EBuildTargetType::Server |
| #define UE_DEBUG_BREAK | ( | ) | ((void)(FPlatformMisc::IsDebuggerPresent() && ([] () { UE_DEBUG_BREAK_IMPL(); } (), 1))) |
Definition at line 41 of file GenericPlatformMisc.h.
|
strong |
Available build configurations. Mirorred from UnrealTargetConfiguration.
| Enumerator | |
|---|---|
| Unknown | Unknown build configuration. |
| Debug | Debug build. |
| DebugGame | DebugGame build. |
| Development | Development build. |
| Shipping | Shipping build. |
| Test | Test build. |
Definition at line 47 of file GenericPlatformMisc.h.
|
strong |
Enumerates build target types.
| Enumerator | |
|---|---|
| Unknown | Unknown build target. |
| Game | Game target. |
| Server | Server target. |
| Client | Client target. |
| Editor | Editor target. |
| Program | Program target. |
Definition at line 146 of file GenericPlatformMisc.h.
|
strong |
Flags for Context Switch stats to retrieve
| Enumerator | |
|---|---|
| VoluntaryContextSwitches | |
| InvoluntaryContextSwitches | |
| TotalContextSwitches | |
| All | |
Definition at line 521 of file GenericPlatformMisc.h.
|
strong |
Enumerates the modes a convertible laptop can be in.
| Enumerator | |
|---|---|
| NotSupported | Not a convertible laptop. |
| Laptop | Laptop arranged as a laptop. |
| Tablet | Laptop arranged as a tablet. |
Definition at line 211 of file GenericPlatformMisc.h.
|
strong |
Controls behaviour for built in crash handling
| Enumerator | |
|---|---|
| Default | |
| Disabled | |
Definition at line 71 of file GenericPlatformMisc.h.
|
strong |
Device orientations for screens. e.g. Landscape, Portrait, etc.
Definition at line 224 of file GenericPlatformMisc.h.
|
strong |
Display gamut, format, and chromacities. You must update values in TonemapCommon.ush when changing this enum + EHDRCaptureGamut
| Enumerator | |
|---|---|
| sRGB_D65 | |
| DCIP3_D65 | |
| Rec2020_D65 | |
| ACES_D60 | |
| ACEScg_D60 | |
| MAX | |
Definition at line 492 of file GenericPlatformMisc.h.
|
strong |
Defines the type of format the backbuffer expects. You must update values in TonemapCommon.ush when changing this enum
Definition at line 473 of file GenericPlatformMisc.h.
|
strong |
Flags for Input/Output stats to retrieve
| Enumerator | |
|---|---|
| BlockingInput | |
| BlockingOutput | |
| BlockingOther | |
| InputBytes | |
| OutputBytes | |
| OtherBytes | |
| All | |
Definition at line 456 of file GenericPlatformMisc.h.
|
strong |
| Enumerator | |
|---|---|
| FeedbackSuccess | |
| FeedbackWarning | |
| FeedbackError | |
| SelectionChanged | |
| ImpactLight | |
| ImpactMedium | |
| ImpactHeavy | |
Definition at line 333 of file GenericPlatformMisc.h.
|
strong |
Possible connection states
| Enumerator | |
|---|---|
| Unknown | Default state |
| Disabled | No network connection or network device disabled |
| Local | Ad-hoc Wifi network or LAN with no external connection |
| Connected | Connected to the network |
Definition at line 346 of file GenericPlatformMisc.h.
|
strong |
| Enumerator | |
|---|---|
| Unknown | Enumerates the network connection types |
| None | |
| AirplaneMode | |
| Cell | |
| WiFi | |
| WiMAX | |
| Bluetooth | |
| Ethernet | |
Definition at line 359 of file GenericPlatformMisc.h.
|
strong |
Flags for page fault stats to retrieve
| Enumerator | |
|---|---|
| SoftPageFaults | |
| HardPageFaults | |
| TotalPageFaults | |
| All | |
Definition at line 417 of file GenericPlatformMisc.h.
|
strong |
| Enumerator | |
|---|---|
| None | |
| MemorySanitizer | |
| AnsiMalloc | |
| StompMalloc | |
Definition at line 374 of file GenericPlatformMisc.h.
| ENUM_CLASS_FLAGS | ( | EContextSwitchFlags | ) |
| ENUM_CLASS_FLAGS | ( | EInputOutputFlags | ) |
| ENUM_CLASS_FLAGS | ( | EPageFaultFlags | ) |
| ENUM_CLASS_FLAGS | ( | EProcessDiagnosticFlags | ) |
| const TCHAR * LexToString | ( | EAppReturnType::Type | Value | ) |
Returns the string representation of the specified EAppReturnType::Type value.
| Value | The value to get the string for. |
| const TCHAR * LexToString | ( | EBuildConfiguration | Configuration | ) |
Returns the string representation of the specified EBuildConfiguration value.
| Configuration | The value to get the string for. |
| const TCHAR * LexToString | ( | EBuildTargetType | Type | ) |
Returns the string representation of the specified EBuildTargetType value.
| Target | The string to get the EBuildTargetType for. |
| const TCHAR * LexToString | ( | ENetworkConnectionStatus | EnumVal | ) |
| const TCHAR * LexToString | ( | ENetworkConnectionType | Target | ) |
Returns the string representation of the specified ENetworkConnection value.
| Target | The value to get the string for. |
| bool LexTryParseString | ( | EBuildConfiguration & | OutConfiguration, |
| const TCHAR * | Configuration ) |
Returns the string representation of the specified EBuildConfiguration value.
| Configuration | The string to get the EBuildConfiguration for. |
| bool LexTryParseString | ( | EBuildTargetType & | OutType, |
| const TCHAR * | Text ) |
Returns the string representation of the specified EBuildTarget value.
| OutType | The value to get the string for. |
| Text | The text to parse. |