MarlinMT  0.1.0
marlinmt::concurrency::QueueElement< void, void > Class Template Reference

#include <QueueElement.h>

Public Member Functions

 QueueElement (const QueueElement< void, void > &)=delete
 
QueueElementoperator= (const QueueElement< void, void > &)=delete
 
 QueueElement ()=default
 
 QueueElement (QueueElement< void, void > &&rhs)
 
QueueElementoperator= (QueueElement< void, void > &&rhs)
 
std::shared_ptr< std::promise< void > > promise () const
 
void setValue ()
 

Private Attributes

std::shared_ptr< std::promise< void > > _promise {std::make_shared<std::promise<void>>()}
 

Detailed Description

template<>
class marlinmt::concurrency::QueueElement< void, void >

Definition at line 122 of file QueueElement.h.

Constructor & Destructor Documentation

◆ QueueElement() [1/3]

marlinmt::concurrency::QueueElement< void, void >::QueueElement ( const QueueElement< void, void > &  )
delete

◆ QueueElement() [2/3]

◆ QueueElement() [3/3]

marlinmt::concurrency::QueueElement< void, void >::QueueElement ( QueueElement< void, void > &&  rhs)
inline

Definition at line 128 of file QueueElement.h.

Member Function Documentation

◆ operator=() [1/2]

QueueElement& marlinmt::concurrency::QueueElement< void, void >::operator= ( const QueueElement< void, void > &  )
delete

◆ operator=() [2/2]

QueueElement& marlinmt::concurrency::QueueElement< void, void >::operator= ( QueueElement< void, void > &&  rhs)
inline

◆ promise()

std::shared_ptr<std::promise<void> > marlinmt::concurrency::QueueElement< void, void >::promise ( ) const
inline

◆ setValue()

Member Data Documentation

◆ _promise

std::shared_ptr<std::promise<void> > marlinmt::concurrency::QueueElement< void, void >::_promise {std::make_shared<std::promise<void>>()}
private

Definition at line 133 of file QueueElement.h.


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