Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Framework
Core
detail
skip_non_replicated.cc
Go to the documentation of this file.
1
#include "
art/Framework/Core/detail/skip_non_replicated.h
"
2
#include "
art/Framework/Principal/Worker.h
"
3
#include "
art/Utilities/ScheduleID.h
"
4
5
bool
6
art::detail::skip_non_replicated
(
Worker
const
&
w
)
7
{
8
if
(w.
scheduleID
() == ScheduleID::first()) {
9
return
false
;
10
}
11
bool
const
is_replicated{w.
description
().
moduleThreadingType
() ==
12
ModuleThreadingType::replicated};
13
return
!is_replicated;
14
}
Worker.h
art::Worker
Definition:
Worker.h:50
art::detail::skip_non_replicated
bool skip_non_replicated(Worker const &)
Definition:
skip_non_replicated.cc:6
art::Worker::scheduleID
ScheduleID scheduleID() const
Definition:
Worker.h:75
art::Worker::description
ModuleDescription const & description() const
Definition:
Worker.cc:118
art::ModuleDescription::moduleThreadingType
ModuleThreadingType moduleThreadingType() const
Definition:
ModuleDescription.cc:56
projectgui.w
w
Definition:
projectgui.py:20
skip_non_replicated.h
ScheduleID.h
Generated by
1.8.11