A library for working with phylogenetic and population genetic data.
v0.32.0
ConsumerToken Struct Reference

#include <genesis/utils/threading/concurrent_queue.hpp>

Detailed Description

Definition at line 885 of file concurrent_queue.hpp.

Public Member Functions

template<typename T , typename Traits >
 ConsumerToken (BlockingConcurrentQueue< T, Traits > &q)
 
template<typename T , typename Traits >
 ConsumerToken (ConcurrentQueue< T, Traits > &q)
 
 ConsumerToken (ConsumerToken &&other) noexcept
 
 ConsumerToken (ConsumerToken const &)=delete
 
ConsumerTokenoperator= (ConsumerToken &&other) noexcept
 
ConsumerTokenoperator= (ConsumerToken const &)=delete
 
void swap (ConsumerToken &other) noexcept
 

Friends

template<typename T , typename Traits >
class ConcurrentQueue
 
class ConcurrentQueueTests
 

Constructor & Destructor Documentation

◆ ConsumerToken() [1/4]

ConsumerToken ( ConcurrentQueue< T, Traits > &  q)
explicit

Definition at line 3894 of file concurrent_queue.hpp.

◆ ConsumerToken() [2/4]

ConsumerToken ( BlockingConcurrentQueue< T, Traits > &  q)
explicit

Definition at line 3904 of file concurrent_queue.hpp.

◆ ConsumerToken() [3/4]

ConsumerToken ( ConsumerToken &&  other)
inlinenoexcept

Definition at line 892 of file concurrent_queue.hpp.

◆ ConsumerToken() [4/4]

ConsumerToken ( ConsumerToken const &  )
delete

Member Function Documentation

◆ operator=() [1/2]

ConsumerToken& operator= ( ConsumerToken &&  other)
inlinenoexcept

Definition at line 901 of file concurrent_queue.hpp.

◆ operator=() [2/2]

ConsumerToken& operator= ( ConsumerToken const &  )
delete

◆ swap()

void swap ( ConsumerToken other)
inlinenoexcept

Definition at line 907 of file concurrent_queue.hpp.

Friends And Related Function Documentation

◆ ConcurrentQueue

friend class ConcurrentQueue
friend

Definition at line 922 of file concurrent_queue.hpp.

◆ ConcurrentQueueTests

friend class ConcurrentQueueTests
friend

Definition at line 923 of file concurrent_queue.hpp.


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