LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ScheduleID.h"
Public Types | |
using | id_type = uint16_t |
using | size_type = id_type |
Public Member Functions | |
constexpr | ScheduleID () noexcept=default |
ScheduleID (id_type id) | |
ScheduleID (ScheduleID const &) noexcept=default | |
ScheduleID (ScheduleID &&) noexcept=default | |
ScheduleID & | operator= (ScheduleID const &) noexcept=default |
ScheduleID & | operator= (ScheduleID &&) noexcept=default |
constexpr bool | isValid () const noexcept |
constexpr id_type | id () const noexcept |
ScheduleID | next () const |
bool | operator== (ScheduleID const &other) const noexcept |
bool | operator< (ScheduleID const &other) const noexcept |
Static Public Member Functions | |
static constexpr ScheduleID | first () |
static constexpr ScheduleID | last () |
Private Types | |
enum | PremadeTypeFlag { PremadeTypeFlag::First, PremadeTypeFlag::Last } |
Private Member Functions | |
constexpr | ScheduleID (PremadeTypeFlag flag) |
Static Private Member Functions | |
static constexpr id_type | invalid_id_ () noexcept |
static constexpr id_type | min_id_ () noexcept |
static constexpr id_type | max_id_ () noexcept |
Private Attributes | |
id_type | id_ {invalid_id_()} |
Friends | |
template<typename T > | |
class | PerScheduleContainer |
Definition at line 17 of file ScheduleID.h.
using art::ScheduleID::id_type = uint16_t |
Definition at line 22 of file ScheduleID.h.
using art::ScheduleID::size_type = id_type |
Definition at line 25 of file ScheduleID.h.
|
strongprivate |
|
defaultnoexcept |
Referenced by last().
|
explicit |
Definition at line 11 of file ScheduleID.cc.
|
defaultnoexcept |
|
defaultnoexcept |
|
inlineprivate |
|
inlinestatic |
Definition at line 50 of file ScheduleID.h.
References First.
Referenced by art::EventProcessor::invokePostBeginJobWorkers_(), art::Worker::isUnique(), art::detail::LegacyModule::LegacyModule(), art::EventProcessor::main_schedule(), art::PathManager::makeModules_(), art::MixHelper::MixHelper(), art::OutputWorker::OutputWorker(), art::EventProcessor::setSubRunAuxiliaryRangeSetID(), and art::WorkerT< T >::WorkerT().
|
inlinenoexcept |
Definition at line 77 of file ScheduleID.h.
References id_, next(), operator<(), operator==(), and fhicl::other.
Referenced by art::PerScheduleContainer< std::unique_ptr< art::EventPrincipal > >::at(), art::RandomNumberGenerator::createEngine(), art::LocalSignal< STYPE, ResultType(Args...)>::invoke(), std::hash< art::ScheduleID >::operator()(), art::operator<<(), art::PerScheduleContainer< std::unique_ptr< art::EventPrincipal > >::operator[](), and art::LocalSignal< STYPE, ResultType(Args...)>::watch().
|
inlinestaticprivatenoexcept |
Definition at line 32 of file ScheduleID.h.
|
inlinenoexcept |
Definition at line 71 of file ScheduleID.h.
References id_, and invalid_id_().
Referenced by art::detail::EngineCreator::requireValid().
|
inlinestatic |
Definition at line 55 of file ScheduleID.h.
References Last, operator=(), and ScheduleID().
|
inlinestaticprivatenoexcept |
Definition at line 42 of file ScheduleID.h.
References invalid_id_().
Referenced by ScheduleID().
|
inlinestaticprivatenoexcept |
Definition at line 37 of file ScheduleID.h.
Referenced by ScheduleID().
ScheduleID art::ScheduleID::next | ( | ) | const |
Definition at line 23 of file ScheduleID.cc.
Referenced by art::ScheduleIteration::for_each_schedule(), and id().
|
noexcept |
Definition at line 35 of file ScheduleID.cc.
Referenced by id().
|
defaultnoexcept |
Referenced by last().
|
defaultnoexcept |
|
noexcept |
Definition at line 29 of file ScheduleID.cc.
Referenced by id().
|
friend |
Definition at line 19 of file ScheduleID.h.
|
private |
Definition at line 93 of file ScheduleID.h.