mn::basic_atomic_flag< TAtomicType, TTrue, TFalse > Class Template Reference
#include <mn_atomic.hpp>
Collaboration diagram for mn::basic_atomic_flag< TAtomicType, TTrue, TFalse >:
Public Types | |
using | flag_type = TAtomicType |
using | reference = TAtomicType & |
Public Member Functions | |
constexpr | basic_atomic_flag () noexcept |
constexpr | basic_atomic_flag (const flag_type &flag) noexcept |
basic_atomic_flag (const basic_atomic_flag &) noexcept=delete | |
reference | operator= (const reference) noexcept=delete |
reference | operator= (const reference) volatile noexcept=delete |
void | clear (memory_order order=memory_order::SeqCst) noexcept |
flag_type | test_and_set (memory_order order=memory_order::SeqCst) noexcept |
flag_type | test (memory_order order=memory_order::SeqCst) const |
Private Attributes | |
_atomic< flag_type > | m_bFlag |
Member Typedef Documentation
◆ flag_type
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
using mn::basic_atomic_flag< TAtomicType, TTrue, TFalse >::flag_type = TAtomicType |
◆ reference
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
using mn::basic_atomic_flag< TAtomicType, TTrue, TFalse >::reference = TAtomicType& |
Constructor & Destructor Documentation
◆ basic_atomic_flag() [1/3]
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
|
inlineconstexprnoexcept |
◆ basic_atomic_flag() [2/3]
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
|
inlineconstexprnoexcept |
◆ basic_atomic_flag() [3/3]
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
|
deletenoexcept |
Member Function Documentation
◆ clear()
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
|
inlinenoexcept |
◆ operator=() [1/2]
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
|
deletenoexcept |
◆ operator=() [2/2]
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
|
deletenoexcept |
◆ test()
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
|
inline |
◆ test_and_set()
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
|
inlinenoexcept |
Member Data Documentation
◆ m_bFlag
template<typename TAtomicType , TAtomicType TTrue = true, TAtomicType TFalse = false>
|
private |
The documentation for this class was generated from the following file: