Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::ThreadSafeObject< _TYPE > Class Template Reference

#include <ThreadSafeObject.h>

Public Member Functions

 ThreadSafeObject (const _TYPE &rhs)
 
void operator= (const _TYPE &value)
 
 operator _TYPE () const
 

Detailed Description

template<typename _TYPE>
class AZ::ThreadSafeObject< _TYPE >

Wraps an object in a thread-safe interface.

Member Function Documentation

◆ operator _TYPE()

template<typename _TYPE >
AZ::ThreadSafeObject< _TYPE >::operator _TYPE
inline

Implicit conversion to underlying type.

Returns
a copy of the current value of the object retrieved under lock

◆ operator=()

template<typename _TYPE >
void AZ::ThreadSafeObject< _TYPE >::operator= ( const _TYPE &  value)
inline

Assigns a new value to the object under lock.

Parameters
valuethe new value to set the object instance to

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