Workspace 6.21.5
Public Member Functions | List of all members
ConsumerToken Struct Reference

#include <Workspace/Application/concurrentqueue.h>

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
 

Constructor & Destructor Documentation

◆ ConsumerToken() [1/4]

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

◆ ConsumerToken() [2/4]

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

◆ ConsumerToken() [3/4]

ConsumerToken ( ConsumerToken &&  other)
inlinenoexcept

◆ ConsumerToken() [4/4]

ConsumerToken ( ConsumerToken const &  )
delete

Member Function Documentation

◆ operator=() [1/2]

ConsumerToken & operator= ( ConsumerToken &&  other)
inlinenoexcept

◆ operator=() [2/2]

ConsumerToken & operator= ( ConsumerToken const &  )
delete

◆ swap()

void swap ( ConsumerToken other)
inlinenoexcept