TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MPSCQueue< T >::Node Struct Reference

Public Member Functions

 Node ()=default
 
 Node (T *data)
 

Public Attributes

T * Data
 
std::atomic< Node * > Next
 

Constructor & Destructor Documentation

template<typename T>
MPSCQueue< T >::Node::Node ( )
default
template<typename T>
MPSCQueue< T >::Node::Node ( T *  data)
inlineexplicit
70 : Data(data) { Next.store(nullptr, std::memory_order_relaxed); }
T * Data
Definition: MPSCQueue.h:72
std::atomic< Node * > Next
Definition: MPSCQueue.h:73

Member Data Documentation

template<typename T>
T* MPSCQueue< T >::Node::Data
template<typename T>
std::atomic<Node*> MPSCQueue< T >::Node::Next

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