UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AndroidPlatformProcess.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4/*=============================================================================================
5 AndroidProcess.h: Android platform Process functions
6==============================================================================================*/
7
8#pragma once
10
12struct FProcHandle : public TProcHandle<void*, nullptr>
13{
14public:
19
24};
25
30{
31 static CORE_API void* GetDllHandle(const TCHAR* Filename);
32 static CORE_API void FreeDllHandle(void* DllHandle);
33 static CORE_API void* GetDllExport(void* DllHandle, const TCHAR* ProcName);
34 static CORE_API const TCHAR* ComputerName();
38 static CORE_API const TCHAR* BaseDir();
39 static CORE_API const TCHAR* ExecutableName(bool bRemoveExtension = true);
41 static CORE_API bool CanLaunchURL(const TCHAR* URL);
42 static CORE_API void LaunchURL(const TCHAR* URL, const TCHAR* Parms, FString* Error);
43 static CORE_API FString GetGameBundleId();
44 static CORE_API void SetThreadName(const TCHAR* ThreadName);
46};
47
FAndroidPlatformProcess FPlatformProcess
Definition AndroidPlatformProcess.h:48
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
#define UE_FORCEINLINE_HINT
Definition Platform.h:723
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition Platform.h:1117
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition RunnableThread.h:20
Definition AndroidPlatformProcess.h:30
static CORE_API void * GetDllHandle(const TCHAR *Filename)
Definition AndroidPlatformProcess.cpp:33
static CORE_API bool GetPerFrameProcessorUsage(uint32 ProcessId, float &ProcessUsageFraction, float &IdleUsageFraction)
Definition AndroidPlatformProcess.cpp:178
static CORE_API void SetThreadAffinityMask(uint64 AffinityMask)
Definition AndroidPlatformProcess.cpp:76
static CORE_API const TCHAR * ExecutableName(bool bRemoveExtension=true)
Definition AndroidPlatformProcess.cpp:107
static CORE_API bool CanLaunchURL(const TCHAR *URL)
Definition AndroidPlatformProcess.cpp:123
static CORE_API void FreeDllHandle(void *DllHandle)
Definition AndroidPlatformProcess.cpp:52
static CORE_API const TCHAR * BaseDir()
Definition AndroidPlatformProcess.cpp:102
static CORE_API class FRunnableThread * CreateRunnableThread()
Definition AndroidPlatformProcess.cpp:118
static CORE_API FString GetGameBundleId()
Definition AndroidPlatformProcess.cpp:154
static CORE_API uint32 GetCurrentProcessId()
Definition AndroidPlatformProcess.cpp:90
static CORE_API void SetThreadName(const TCHAR *ThreadName)
Definition AndroidPlatformProcess.cpp:173
static CORE_API void LaunchURL(const TCHAR *URL, const TCHAR *Parms, FString *Error)
Definition AndroidPlatformProcess.cpp:132
static CORE_API uint32 GetCurrentCoreNumber()
Definition AndroidPlatformProcess.cpp:95
static CORE_API const TCHAR * ComputerName()
Definition AndroidPlatformProcess.cpp:65
static CORE_API void * GetDllExport(void *DllHandle, const TCHAR *ProcName)
Definition AndroidPlatformProcess.cpp:58
Definition GenericPlatformProcess.h:249
Definition AndroidPlatformProcess.h:13
UE_FORCEINLINE_HINT FProcHandle(HandleType Other)
Definition AndroidPlatformProcess.h:21
UE_FORCEINLINE_HINT constexpr FProcHandle()
Definition AndroidPlatformProcess.h:16
Definition GenericPlatformProcess.h:90
void * HandleType
Definition GenericPlatformProcess.h:91