Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TProcHandle< T, InvalidHandleValue > Struct Template Reference

#include <GenericPlatformProcess.h>

Public Types

typedef T HandleType
 

Public Member Functions

FORCEINLINE TProcHandle ()
 
FORCEINLINE TProcHandle (T Other)
 
FORCEINLINE TProcHandleoperator= (const TProcHandle &Other)
 
FORCEINLINE T Get () const
 
FORCEINLINE void Reset ()
 
FORCEINLINE bool IsValid () const
 

Protected Attributes

T Handle
 

Detailed Description

template<typename T, T InvalidHandleValue>
struct TProcHandle< T, InvalidHandleValue >

Generic implementation for the process handle.

Definition at line 79 of file GenericPlatformProcess.h.

Member Typedef Documentation

◆ HandleType

template<typename T , T InvalidHandleValue>
typedef T TProcHandle< T, InvalidHandleValue >::HandleType

Definition at line 81 of file GenericPlatformProcess.h.

Constructor & Destructor Documentation

◆ TProcHandle() [1/2]

template<typename T , T InvalidHandleValue>
FORCEINLINE TProcHandle< T, InvalidHandleValue >::TProcHandle ( )
inline

Default constructor.

Definition at line 85 of file GenericPlatformProcess.h.

◆ TProcHandle() [2/2]

template<typename T , T InvalidHandleValue>
FORCEINLINE TProcHandle< T, InvalidHandleValue >::TProcHandle ( T Other)
inlineexplicit

Initialization constructor.

Definition at line 90 of file GenericPlatformProcess.h.

Member Function Documentation

◆ Get()

template<typename T , T InvalidHandleValue>
FORCEINLINE T TProcHandle< T, InvalidHandleValue >::Get ( ) const
inline

Accessors.

Definition at line 105 of file GenericPlatformProcess.h.

◆ IsValid()

template<typename T , T InvalidHandleValue>
FORCEINLINE bool TProcHandle< T, InvalidHandleValue >::IsValid ( ) const
inline

Definition at line 115 of file GenericPlatformProcess.h.

◆ operator=()

template<typename T , T InvalidHandleValue>
FORCEINLINE TProcHandle & TProcHandle< T, InvalidHandleValue >::operator= ( const TProcHandle< T, InvalidHandleValue > & Other)
inline

Assignment operator.

Definition at line 95 of file GenericPlatformProcess.h.

◆ Reset()

template<typename T , T InvalidHandleValue>
FORCEINLINE void TProcHandle< T, InvalidHandleValue >::Reset ( )
inline

Definition at line 110 of file GenericPlatformProcess.h.

Member Data Documentation

◆ Handle

template<typename T , T InvalidHandleValue>
T TProcHandle< T, InvalidHandleValue >::Handle
protected

Platform specific handle.

Definition at line 122 of file GenericPlatformProcess.h.


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