#include <pipeline.h>
Public Member Functions | |
Pipeline (IProducer< T > &producer, IConsumer< T > &consumer, std::string name, INotifier ¬ifier) | |
void | run () |
void | stop () |
Private Types | |
typedef std::chrono::high_resolution_clock | Clock |
typedef Clock::time_point | Time |
Private Member Functions | |
void | run_consumer () |
void | run_producer () |
Private Attributes | |
IConsumer< T > & | consumer_ |
thread | cThread_ |
std::string | name_ |
INotifier & | notifier_ |
IProducer< T > & | producer_ |
thread | pThread_ |
BlockingReaderWriterQueue< unique_ptr< T > > | queue_ |
atomic< bool > | running_ |
Definition at line 132 of file pipeline.h.
Definition at line 135 of file pipeline.h.
Definition at line 136 of file pipeline.h.
|
inline |
Definition at line 200 of file pipeline.h.
|
inline |
Definition at line 205 of file pipeline.h.
|
inlineprivate |
Definition at line 173 of file pipeline.h.
|
inlineprivate |
Definition at line 145 of file pipeline.h.
|
inline |
Definition at line 216 of file pipeline.h.
Definition at line 138 of file pipeline.h.
|
private |
Definition at line 143 of file pipeline.h.
|
private |
Definition at line 139 of file pipeline.h.
Definition at line 140 of file pipeline.h.
Definition at line 137 of file pipeline.h.
|
private |
Definition at line 143 of file pipeline.h.
|
private |
Definition at line 141 of file pipeline.h.
|
private |
Definition at line 142 of file pipeline.h.