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.
AZStd::concurrent_fixed_unordered_map< Key, MappedType, FixedNumBuckets, FixedNumElements, NumLocks, Hasher, EqualKey > Class Template Reference

#include <concurrent_fixed_unordered_map.h>

Inherits AZStd::Internal::concurrent_hash_table< Traits >.

Public Types

typedef base_type::key_type key_type
 
typedef base_type::key_equal key_equal
 
typedef base_type::hasher hasher
 
typedef MappedType mapped_type
 
typedef base_type::allocator_type allocator_type
 
typedef base_type::size_type size_type
 
typedef base_type::difference_type difference_type
 
typedef base_type::pointer pointer
 
typedef base_type::const_pointer const_pointer
 
typedef base_type::reference reference
 
typedef base_type::const_reference const_reference
 
typedef base_type::value_type value_type
 

Public Member Functions

AZ_FORCE_INLINE concurrent_fixed_unordered_map (const hasher &hash, const key_equal &keyEqual)
 
template<class Iterator >
AZ_FORCE_INLINE concurrent_fixed_unordered_map (Iterator first, Iterator last)
 
template<class Iterator >
AZ_FORCE_INLINE concurrent_fixed_unordered_map (Iterator first, Iterator last, const hasher &hash, const key_equal &keyEqual)
 
bool find (const key_type &keyValue) const
 
bool find (const key_type &keyValue, mapped_type *mappedOut) const
 

Detailed Description

template<class Key, class MappedType, AZStd::size_t FixedNumBuckets, AZStd::size_t FixedNumElements, AZStd::size_t NumLocks = 8, class Hasher = AZStd::hash<Key>, class EqualKey = AZStd::equal_to<Key>>
class AZStd::concurrent_fixed_unordered_map< Key, MappedType, FixedNumBuckets, FixedNumElements, NumLocks, Hasher, EqualKey >

Concurrent fixed unordered map container, similar to fixed_unordered_map, but uses a striped array of locks to allow concurrent access.


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