#include "FWCore/Utilities/interface/RunIndex.h"
Public Member Functions | |
operator unsigned int () const | |
RunIndex & | operator= (const RunIndex &)=default |
bool | operator== (const RunIndex &iIndex) const |
RunIndex ()=delete | |
RunIndex (const RunIndex &)=default | |
unsigned int | value () const |
~RunIndex ()=default | |
Static Public Member Functions | |
static RunIndex | invalidRunIndex () |
Private Member Functions | |
RunIndex (unsigned int iIndex) | |
Private Attributes | |
unsigned int | value_ |
Static Private Attributes | |
static const unsigned int | invalidValue_ = std::numeric_limits<unsigned int>::max() |
Friends | |
class | RunPrincipal |
Only the RunPrincipal is allowed to make one of these. More... | |
Description: Identifies a 'slot' being used to hold an active Run
Usage: Various APIs used this to access per Run information. It is important to realize that the same RunIndex may be used to refer to different Runs over the lifetime of a job. An RunIndex will only get a new Run after the previous Run using that index has finished being used.
Definition at line 32 of file RunIndex.h.
|
default |
|
delete |
Referenced by invalidRunIndex().
|
default |
|
inlineexplicitprivate |
Definition at line 52 of file RunIndex.h.
|
static |
Definition at line 9 of file RunIndex.cc.
References invalidValue_, and RunIndex().
Referenced by edm::Worker::beginStream(), edm::Worker::endStream(), edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionProcessBlockInput >::makeGlobalContext(), edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), edm::OutputModuleCommunicatorT< T >::writeProcessBlockAsync(), and edm::Schedule::writeProcessBlockAsync().
|
inline |
|
inline |
|
inline |
Definition at line 45 of file RunIndex.h.
References value_.
Referenced by average.Average::average(), edm::operator<<(), operator==(), edm::service::MessageLogger::preModuleGlobalBeginRun(), edm::service::MessageLogger::preModuleGlobalEndRun(), and edm::RunPrincipal::transitionIndex_().
|
friend |
Only the RunPrincipal is allowed to make one of these.
Definition at line 51 of file RunIndex.h.
|
staticprivate |
Definition at line 57 of file RunIndex.h.
Referenced by invalidRunIndex().
|
private |
Definition at line 55 of file RunIndex.h.
Referenced by operator unsigned int(), and value().