#include <ThreadsafeGalleryEvent.h>
Public Types | |
template<class PROD > | |
using | HandleT = gallery::Event::template HandleT< PROD > |
Public Member Functions | |
ThreadsafeGalleryEvent (const gallery::Event *evt) | |
template<class T > | |
bool | getByLabel (const art::InputTag &tag, gallery::Handle< T > &result) const |
template<class T > | |
std::vector< art::InputTag > | getInputTags () const |
const art::EventAuxiliary & | eventAuxiliary () const |
Protected Attributes | |
std::mutex | fLock |
const gallery::Event * | fEvt |
gallery::Event is not designed to be threadsafe. Serializing calls through this wrapper should be more efficient than giving up on threading as a whole. This way we can still write and transfer the PNGs in parallel for example.
Definition at line 14 of file ThreadsafeGalleryEvent.h.
using evd::ThreadsafeGalleryEvent::HandleT = gallery::Event::template HandleT<PROD> |
Definition at line 17 of file ThreadsafeGalleryEvent.h.
|
inline |
Definition at line 19 of file ThreadsafeGalleryEvent.h.
|
inline |
Definition at line 37 of file ThreadsafeGalleryEvent.h.
|
inline |
Definition at line 24 of file ThreadsafeGalleryEvent.h.
|
inline |
Definition at line 31 of file ThreadsafeGalleryEvent.h.
|
protected |
Definition at line 45 of file ThreadsafeGalleryEvent.h.
|
mutableprotected |
Definition at line 44 of file ThreadsafeGalleryEvent.h.