UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FProcHandle Struct Reference

#include <AndroidPlatformProcess.h>

+ Inheritance diagram for FProcHandle:

Public Member Functions

UE_FORCEINLINE_HINT constexpr FProcHandle ()
 
UE_FORCEINLINE_HINT FProcHandle (HandleType Other)
 
UE_FORCEINLINE_HINT constexpr FProcHandle ()
 
UE_FORCEINLINE_HINT FProcHandle (HandleType Other)
 
constexpr FProcHandle ()
 
 FProcHandle (FProcState *InHandle)
 
 FProcHandle (pid_t InProcPid)
 
UE_FORCEINLINE_HINT pid_t Get () const
 
void Reset ()
 
UE_FORCEINLINE_HINT bool IsValid () const
 
UE_FORCEINLINE_HINT FProcStateGetProcessInfo () const
 
constexpr FProcHandle ()
 
 FProcHandle (FProcState *InHandle)
 
 FProcHandle (pid_t InProcPid)
 
UE_FORCEINLINE_HINT pid_t Get () const
 
void Reset ()
 
UE_FORCEINLINE_HINT bool IsValid () const
 
UE_FORCEINLINE_HINT FProcStateGetProcessInfo () const
 
- Public Member Functions inherited from TProcHandle< void *, nullptr >
UE_FORCEINLINE_HINT constexpr TProcHandle ()
 
UE_FORCEINLINE_HINT TProcHandle (void * Other)
 
UE_FORCEINLINE_HINT voidGet () const
 
UE_FORCEINLINE_HINT void Reset ()
 
UE_FORCEINLINE_HINT bool IsValid () const
 

Public Attributes

FProcStateProcInfo
 
pid_t OpenedPid
 

Additional Inherited Members

- Public Types inherited from TProcHandle< void *, nullptr >
typedef voidHandleType
 
- Protected Attributes inherited from TProcHandle< void *, nullptr >
voidHandle
 

Detailed Description

Dummy process handle for platforms that use generic implementation.

FProcHandle can be copied (and thus passed by value).

Constructor & Destructor Documentation

◆ FProcHandle() [1/10]

UE_FORCEINLINE_HINT constexpr FProcHandle::FProcHandle ( )
inlineconstexpr

Default constructor.

◆ FProcHandle() [2/10]

UE_FORCEINLINE_HINT FProcHandle::FProcHandle ( HandleType  Other)
inlineexplicit

Initialization constructor.

◆ FProcHandle() [3/10]

UE_FORCEINLINE_HINT constexpr FProcHandle::FProcHandle ( )
inlineconstexpr

Default constructor.

◆ FProcHandle() [4/10]

UE_FORCEINLINE_HINT FProcHandle::FProcHandle ( HandleType  Other)
inlineexplicit

Initialization constructor.

◆ FProcHandle() [5/10]

constexpr FProcHandle::FProcHandle ( )
inlineconstexpr

◆ FProcHandle() [6/10]

FProcHandle::FProcHandle ( FProcState InHandle)
inline

◆ FProcHandle() [7/10]

FProcHandle::FProcHandle ( pid_t  InProcPid)
inline

◆ FProcHandle() [8/10]

constexpr FProcHandle::FProcHandle ( )
inlineconstexpr

◆ FProcHandle() [9/10]

FProcHandle::FProcHandle ( FProcState InHandle)
inline

◆ FProcHandle() [10/10]

FProcHandle::FProcHandle ( pid_t  InProcPid)
inline

Member Function Documentation

◆ Get() [1/2]

UE_FORCEINLINE_HINT pid_t FProcHandle::Get ( ) const
inline

Accessors.

◆ Get() [2/2]

UE_FORCEINLINE_HINT pid_t FProcHandle::Get ( ) const
inline

Accessors.

◆ GetProcessInfo() [1/2]

UE_FORCEINLINE_HINT FProcState * FProcHandle::GetProcessInfo ( ) const
inline

◆ GetProcessInfo() [2/2]

UE_FORCEINLINE_HINT FProcState * FProcHandle::GetProcessInfo ( ) const
inline

◆ IsValid() [1/2]

UE_FORCEINLINE_HINT bool FProcHandle::IsValid ( ) const
inline

Checks the validity of handle

◆ IsValid() [2/2]

UE_FORCEINLINE_HINT bool FProcHandle::IsValid ( ) const
inline

Checks the validity of handle

◆ Reset() [1/2]

void FProcHandle::Reset ( )
inline

Resets the handle to invalid

◆ Reset() [2/2]

void FProcHandle::Reset ( )
inline

Resets the handle to invalid

Member Data Documentation

◆ OpenedPid

pid_t FProcHandle::OpenedPid

Pid of external process opened with OpenProcess() call. Added to FProcHandle so we don't have to special case FProcState with process we can only check for running state, and even then the PID could be reused so we don't ever want to terminate, etc.

◆ ProcInfo

FProcState * FProcHandle::ProcInfo

Child proc state set from CreateProc() call


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