#include <Pool.h>
Public Member Functions | |
void | clear () |
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 |
|
inline |
|
inlineprivate |
Definition at line 44 of file Pool.h.
Referenced by mkfit::Pool< mkfit::MkFitter >::makeOrGet(), and mkfit::Pool< mkfit::MkFitter >::populate().
|
inlineprivate |
|
inline |
Definition at line 34 of file Pool.h.
|
inline |
|
inline |
Definition at line 26 of file Pool.h.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 53 of file Pool.h.
Referenced by mkfit::Pool< mkfit::MkFitter >::addBack(), mkfit::Pool< mkfit::MkFitter >::clear(), mkfit::Pool< mkfit::MkFitter >::makeOrGet(), mkfit::Pool< mkfit::MkFitter >::populate(), and mkfit::Pool< mkfit::MkFitter >::size().