#include <Pool.h>
Public Member Functions | |
auto | makeOrGet () |
Pool ()=default | |
void | populate (int threads=Config::numThreadsFinder) |
size_t | size () const |
~Pool () | |
Private Member Functions | |
void | addBack (TT *x) |
TT * | create () |
void | destroy (TT *x) |
Private Attributes | |
tbb::concurrent_queue< TT * > | m_stack |
Pool for helper objects. All functions are thread safe.
|
default |
|
inline |
|
inlineprivate |
|
inlineprivate |
Definition at line 42 of file Pool.h.
Referenced by mkfit::Pool< mkfit::MkFitter >::makeOrGet(), and mkfit::Pool< mkfit::MkFitter >::populate().
|
inlineprivate |
Definition at line 44 of file Pool.h.
Referenced by mkfit::Pool< mkfit::MkFitter >::~Pool().
|
inline |
Definition at line 32 of file Pool.h.
|
inline |
|
inline |
Definition at line 24 of file Pool.h.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 51 of file Pool.h.
Referenced by mkfit::Pool< mkfit::MkFitter >::addBack(), mkfit::Pool< mkfit::MkFitter >::makeOrGet(), mkfit::Pool< mkfit::MkFitter >::populate(), mkfit::Pool< mkfit::MkFitter >::size(), and mkfit::Pool< mkfit::MkFitter >::~Pool().