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

#include <QueueElement.h>

Public Member Functions

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

Private Attributes

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

Detailed Description

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

Definition at line 85 of file QueueElement.h.

Constructor & Destructor Documentation

◆ QueueElement() [1/3]

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

◆ QueueElement() [2/3]

template<typename OUT >
marlinmt::concurrency::QueueElement< void, OUT >::QueueElement ( )
default

◆ QueueElement() [3/3]

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

Definition at line 91 of file QueueElement.h.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ promise()

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

◆ setValue()

template<typename OUT >
void marlinmt::concurrency::QueueElement< void, OUT >::setValue ( OUT &&  output)
inline

Member Data Documentation

◆ _promise

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

Definition at line 96 of file QueueElement.h.


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