rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Friends | List of all members
beast::LockFreeStack< Element, Tag >::Node Class Reference

#include <LockFreeStack.h>

Inheritance diagram for beast::LockFreeStack< Element, Tag >::Node:
Inheritance graph
[legend]
Collaboration diagram for beast::LockFreeStack< Element, Tag >::Node:
Collaboration graph
[legend]

Public Member Functions

 Node ()
 
 Node (Node *next)
 
 Node (Node const &)=delete
 
Nodeoperator= (Node const &)=delete
 

Private Attributes

std::atomic< Node * > m_next
 

Friends

class LockFreeStack
 
template<class Container , bool IsConst>
class LockFreeStackIterator
 

Detailed Description

template<class Element, class Tag = void>
class beast::LockFreeStack< Element, Tag >::Node

Definition at line 130 of file LockFreeStack.h.

Constructor & Destructor Documentation

◆ Node() [1/3]

template<class Element , class Tag = void>
beast::LockFreeStack< Element, Tag >::Node::Node ( )

Definition at line 133 of file LockFreeStack.h.

◆ Node() [2/3]

template<class Element , class Tag = void>
beast::LockFreeStack< Element, Tag >::Node::Node ( Node next)
explicit

Definition at line 137 of file LockFreeStack.h.

◆ Node() [3/3]

template<class Element , class Tag = void>
beast::LockFreeStack< Element, Tag >::Node::Node ( Node const &  )
delete

Member Function Documentation

◆ operator=()

template<class Element , class Tag = void>
Node & beast::LockFreeStack< Element, Tag >::Node::operator= ( Node const &  )
delete

Friends And Related Symbol Documentation

◆ LockFreeStack

template<class Element , class Tag = void>
friend class LockFreeStack
friend

Definition at line 146 of file LockFreeStack.h.

◆ LockFreeStackIterator

template<class Element , class Tag = void>
template<class Container , bool IsConst>
friend class LockFreeStackIterator
friend

Definition at line 149 of file LockFreeStack.h.

Member Data Documentation

◆ m_next

template<class Element , class Tag = void>
std::atomic<Node*> beast::LockFreeStack< Element, Tag >::Node::m_next
private

Definition at line 151 of file LockFreeStack.h.