Public Member Functions | Private Attributes | List of all members
MultiConsumer< T > Class Template Reference

#include <pipeline.h>

Inheritance diagram for MultiConsumer< T >:
Inheritance graph
[legend]

Public Member Functions

bool consume (shared_ptr< T > product)
 
 MultiConsumer (std::vector< IConsumer< T > * > consumers)
 
virtual void onTimeout ()
 
virtual void setupConsumer ()
 
virtual void stopConsumer ()
 
virtual void teardownConsumer ()
 

Private Attributes

std::vector< IConsumer< T > * > consumers_
 

Detailed Description

template<typename T>
class MultiConsumer< T >

Definition at line 52 of file pipeline.h.

Constructor & Destructor Documentation

template<typename T>
MultiConsumer< T >::MultiConsumer ( std::vector< IConsumer< T > * >  consumers)
inline

Definition at line 58 of file pipeline.h.

Member Function Documentation

template<typename T>
bool MultiConsumer< T >::consume ( shared_ptr< T >  product)
inlinevirtual

Implements IConsumer< T >.

Definition at line 91 of file pipeline.h.

template<typename T>
virtual void MultiConsumer< T >::onTimeout ( )
inlinevirtual

Reimplemented from IConsumer< T >.

Definition at line 83 of file pipeline.h.

template<typename T>
virtual void MultiConsumer< T >::setupConsumer ( )
inlinevirtual

Reimplemented from IConsumer< T >.

Definition at line 62 of file pipeline.h.

template<typename T>
virtual void MultiConsumer< T >::stopConsumer ( )
inlinevirtual

Reimplemented from IConsumer< T >.

Definition at line 76 of file pipeline.h.

template<typename T>
virtual void MultiConsumer< T >::teardownConsumer ( )
inlinevirtual

Reimplemented from IConsumer< T >.

Definition at line 69 of file pipeline.h.

Member Data Documentation

template<typename T>
std::vector<IConsumer<T>*> MultiConsumer< T >::consumers_
private

Definition at line 55 of file pipeline.h.


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


ur_modern_driver
Author(s): Thomas Timm Andersen, Simon Rasmussen
autogenerated on Fri Jun 26 2020 03:37:01