Telamon
Public Member Functions | Static Public Attributes | List of all members
helpqueue::HelpQueue< T, N >::Node Struct Reference

The class which represents a node element of the queue. More...

#include <HelpQueue.hh>

Public Member Functions

 Node ()
 Default construction of sentitel node.
 
template<typename ... Args>
 Node (int enqueuer, Args &&... args)
 Construction of a value in node.
 
 Node (T data, int enqueuer)
 Construction of node with copyable data.
 
bool operator== (const Node &rhs) const
 
bool operator!= (const Node &rhs) const
 
bool is_sentitel () const
 
bool has_data () const
 
const T & data () const
 
std::atomic< Node * > & next ()
 
void set_next (Node *ptr)
 
int enqueuer_id () const
 

Static Public Attributes

static const auto SENTITEL_NODE = std::make_unique<Node>()
 

Detailed Description

template<typename T, const int N = 16>
struct helpqueue::HelpQueue< T, N >::Node

The class which represents a node element of the queue.


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