11 lock_guard<mutex> lock(mutex_);
13 for(
const auto &baby: baby_pool_){
14 const auto &procs = baby->processes_;
15 if(procs.find(
this) != procs.end()){
16 babies.insert(baby.get());
23 lock_guard<mutex> lock(mutex_);
24 auto baby_ptr_iter = baby_pool_.begin();
25 while(baby_ptr_iter != baby_pool_.end()){
26 auto current_iter = baby_ptr_iter++;
27 Baby &baby = *(current_iter->get());
30 baby_pool_.erase(current_iter);
Abstract base class for access to ntuple variables.
static std::set< std::unique_ptr< Baby > > baby_pool_
std::set< Baby * > Babies() const
std::set< const Process * > processes_