Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/GenericPlatform
Inheritance Hierarchy
- GenericApplication
- FNullApplication
References
| Module | ApplicationCore |
| Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericApplication.h |
| Include | #include "GenericPlatform/GenericApplication.h" |
Syntax
class GenericApplication
Remarks
Generic platform application interface
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< FGenericAccessibleMessageHandler > | AccessibleMessageHandler | ||
| const TSharedPtr< ICursor > | Cursor | ||
| TSharedRef< class FGenericApplicationMessageHandler > | MessageHandler | ||
| FOnDisplayMetricsChanged | OnDisplayMetricsChangedEvent | Notifies subscribers when any of the display metrics change: e.g. resolution changes or monitor sare re-arranged. | |
| FVirtualKeyboardHiddenEvent | VirtualKeyboardHiddenEvent | Delegate for virtual keyboard being shown | |
| FVirtualKeyboardShownEvent | VirtualKeyboardShownEvent | Delegate for virtual keyboard being shown |
Constructors
| Type | Name | Description | |
|---|---|---|---|
GenericApplication
(
const TSharedPtr< ICursor >& InCursor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPendingConsoleCommand
(
const FString& InCommand |
||
| bool | ApplicationLicenseValid
(
FPlatformUserId PlatformUser |
||
| void | BroadcastDisplayMetricsChanged
(
const FDisplayMetrics& InMetrics |
Trigger the OnDisplayMetricsChanged event with the argument 'InMetrics' | |
| void | |||
| void | |||
| TSharedRef< FGenericAccessibleMessageHandler > | |||
| void * | GetCapture () |
||
| void | GetInitialDisplayMetrics
(
FDisplayMetrics& OutDisplayMetrics |
||
| IInputInterface * | |||
| TSharedRef< FGenericApplicationMessageHandler > | |||
| FModifierKeysState | |||
| ITextInputMethodSystem * | Function to return the current implementation of the Text Input Method System | ||
| EWindowTitleAlignment::Type | Gets the horizontal alignment of the window title bar's title text. | ||
| EWindowTransparency | |||
| TSharedPtr< FGenericWindow > | |||
| FPlatformRect | GetWorkArea
(
const FPlatformRect& CurrentWindow |
||
| void | InitializeWindow
(
const TSharedRef< FGenericWindow >& Window, |
||
| bool | |||
| bool | |||
| bool | |||
| bool | IsMinimized () |
||
| bool | |||
| bool | |||
| bool | |||
| TSharedRef< FGenericWindow > | MakeWindow () |
||
| FOnDisplayMetricsChanged & | Notifies subscribers when any of the display metrics change: e.g. resolution changes or monitor sare re-arranged. | ||
| FVirtualKeyboardHiddenEvent & | |||
| FVirtualKeyboardShownEvent & | |||
| void | PollGameDeviceState
(
const float TimeDelta |
||
| void | ProcessDeferredEvents
(
const float TimeDelta |
||
| void | PumpMessages
(
const float TimeDelta |
||
| void | RegisterConsoleCommandListener
(
const FOnConsoleCommandListener& InListener |
||
| void | SendAnalytics
(
IAnalyticsProvider* Provider |
Send any analytics captured by the application | |
| void | SetAccessibleMessageHandler
(
const TSharedRef< FGenericAccessibleMessageHandler >& InAccessibleMessageHandler |
||
| void | SetCapture
(
const TSharedPtr< FGenericWindow >& InWindow |
||
| void | SetHighPrecisionMouseMode
(
const bool Enable, |
||
| void | SetMessageHandler
(
const TSharedRef< FGenericApplicationMessageHandler >& InMessageHandler |
||
| void | |||
| bool | |||
| void | Tick
(
const float TimeDelta |
||
| bool | TryCalculatePopupWindowPosition
(
const FPlatformRect& InAnchor, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnDisplayMetricsChanged | |||
| FVirtualKeyboardHiddenEvent | |||
| FVirtualKeyboardShownEvent | Delegate for virtual keyboard being shown/hidden in case UI wants to slide out of the way |
Typedefs
| Name | Description |
|---|---|
| FOnConsoleCommandAdded | |
| FOnConsoleCommandListener |