Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TTlsAutoCleanupValue< T > Class Template Reference

#include <TlsAutoCleanup.h>

+ Inheritance diagram for TTlsAutoCleanupValue< T >:
+ Collaboration diagram for TTlsAutoCleanupValue< T >:

Public Member Functions

 TTlsAutoCleanupValue (const T &InValue)
 
T Get () const
 
void Set (const T &InValue)
 
void Set (T &&InValue)
 
- Public Member Functions inherited from FTlsAutoCleanup
virtual ~FTlsAutoCleanup ()
 
void Register ()
 

Private Attributes

T Value
 

Detailed Description

template<class T>
class TTlsAutoCleanupValue< T >

Wrapper for values to be stored in TLS that support auto-cleanup.

Definition at line 24 of file TlsAutoCleanup.h.

Constructor & Destructor Documentation

◆ TTlsAutoCleanupValue()

template<class T >
TTlsAutoCleanupValue< T >::TTlsAutoCleanupValue ( const T & InValue)
inline

Constructor.

Definition at line 30 of file TlsAutoCleanup.h.

Member Function Documentation

◆ Get()

template<class T >
T TTlsAutoCleanupValue< T >::Get ( ) const
inline

Gets the value.

Definition at line 35 of file TlsAutoCleanup.h.

◆ Set() [1/2]

template<class T >
void TTlsAutoCleanupValue< T >::Set ( const T & InValue)
inline

Definition at line 41 of file TlsAutoCleanup.h.

◆ Set() [2/2]

template<class T >
void TTlsAutoCleanupValue< T >::Set ( T && InValue)
inline

Definition at line 47 of file TlsAutoCleanup.h.

Member Data Documentation

◆ Value

template<class T >
T TTlsAutoCleanupValue< T >::Value
private

The value.

Definition at line 55 of file TlsAutoCleanup.h.


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