|
Telamon
|
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>() |
The class which represents a node element of the queue.