4 std::vector<EventInfoLockHelper::unlockFunc_t> EventInfoLockHelper::s_unlockFuncs;
8 s_unlockFuncs.push_back(fn);
13 for (
auto& fn : s_unlockFuncs) {
14 if (fn(runNbr,lbNrb,evtNbr))
return true;
std::function< bool(uint32_t, uint32_t, uint64_t)> unlockFunc_t
static void addUnlockFunc(unlockFunc_t fn) ATLAS_NOT_THREAD_SAFE
Add a function defining if the flags are to be locked.
bool evalUnlockFunc(uint32_t runNbr, uint32_t lbNrb, uint64_t evtNbr) const
Check if the lock should happen or not.