MarlinMT
0.1.0
|
#include <QueueElement.h>
Public Member Functions | |
QueueElement (const QueueElement< void, OUT > &)=delete | |
QueueElement & | operator= (const QueueElement< void, OUT > &)=delete |
QueueElement ()=default | |
QueueElement (QueueElement< void, OUT > &&rhs) | |
QueueElement & | operator= (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>>()} |
Definition at line 85 of file QueueElement.h.
|
delete |
|
default |
|
inline |
Definition at line 91 of file QueueElement.h.
|
delete |
|
inline |
Definition at line 92 of file QueueElement.h.
References marlinmt::concurrency::QueueElement< IN, OUT >::_promise.
|
inline |
Definition at line 93 of file QueueElement.h.
References marlinmt::concurrency::QueueElement< IN, OUT >::_promise.
|
inline |
Definition at line 94 of file QueueElement.h.
References marlinmt::concurrency::QueueElement< IN, OUT >::_promise.
Referenced by marlinmt::concurrency::WorkerBase< void, OUT >::processElement().
|
private |
Definition at line 96 of file QueueElement.h.