UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TNameAtomicBitSet< NumBits > Class Template Reference

Public Member Functions

bool SetBitAtomic (uint32 Index)
 
bool ClearBitAtomic (uint32 Index)
 
template<typename Lambda >
void ForEachSetBit (Lambda Func) const
 

Member Function Documentation

◆ ClearBitAtomic()

template<uint32 NumBits>
bool TNameAtomicBitSet< NumBits >::ClearBitAtomic ( uint32  Index)
inline

Atomically clear a bit in the bit set.

Parameters
IndexIndex of bit to clear
Returns
Previous value of bit

◆ ForEachSetBit()

template<uint32 NumBits>
template<typename Lambda >
void TNameAtomicBitSet< NumBits >::ForEachSetBit ( Lambda  Func) const
inline

Iterates over the set and issues the lambda for each index that is set.

Parameters
FuncFunctor to call

◆ SetBitAtomic()

template<uint32 NumBits>
bool TNameAtomicBitSet< NumBits >::SetBitAtomic ( uint32  Index)
inline

Atomically set a bit in the bit set.

Parameters
IndexIndex of bit to set
Returns
Previous value of bit

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