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

#include <producer.h>

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

Public Member Functions

void setupProducer ()
 
void stopProducer ()
 
void teardownProducer ()
 
bool tryGet (std::vector< unique_ptr< T >> &products)
 
 URProducer (URStream &stream, URParser< T > &parser)
 

Private Attributes

URParser< T > & parser_
 
URStreamstream_
 
std::chrono::seconds timeout_
 

Detailed Description

template<typename T>
class URProducer< T >

Definition at line 26 of file producer.h.

Constructor & Destructor Documentation

template<typename T>
URProducer< T >::URProducer ( URStream stream,
URParser< T > &  parser 
)
inline

Definition at line 34 of file producer.h.

Member Function Documentation

template<typename T>
void URProducer< T >::setupProducer ( )
inlinevirtual

Reimplemented from IProducer< T >.

Definition at line 38 of file producer.h.

template<typename T>
void URProducer< T >::stopProducer ( )
inlinevirtual

Reimplemented from IProducer< T >.

Definition at line 46 of file producer.h.

template<typename T>
void URProducer< T >::teardownProducer ( )
inlinevirtual

Reimplemented from IProducer< T >.

Definition at line 42 of file producer.h.

template<typename T>
bool URProducer< T >::tryGet ( std::vector< unique_ptr< T >> &  products)
inlinevirtual

Implements IProducer< T >.

Definition at line 51 of file producer.h.

Member Data Documentation

template<typename T>
URParser<T>& URProducer< T >::parser_
private

Definition at line 30 of file producer.h.

template<typename T>
URStream& URProducer< T >::stream_
private

Definition at line 29 of file producer.h.

template<typename T>
std::chrono::seconds URProducer< T >::timeout_
private

Definition at line 31 of file producer.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