CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends
edm::LuminosityBlockIndex Class Reference

#include "FWCore/Utilities/interface/LuminosityBlockIndex.h"

Public Member Functions

 LuminosityBlockIndex (const LuminosityBlockIndex &)=default
 
 operator unsigned int () const
 
LuminosityBlockIndexoperator= (const LuminosityBlockIndex &)=default
 
bool operator== (LuminosityBlockIndex const &iRHS) const
 
unsigned int value () const
 
 ~LuminosityBlockIndex ()=default
 

Static Public Member Functions

static LuminosityBlockIndex invalidLuminosityBlockIndex ()
 

Private Member Functions

 LuminosityBlockIndex (unsigned int iValue)
 
 LuminosityBlockIndex ()=delete
 

Private Attributes

unsigned int value_
 

Static Private Attributes

static const unsigned int invalidValue_ = std::numeric_limits<unsigned int>::max()
 

Friends

class LuminosityBlockPrincipal
 Only the LuminosityBlockPrincipal is allowed to make one of these. More...
 

Detailed Description

Description: Identifies a 'slot' being used to hold an active LuminosityBlock

Usage: Various APIs used this to access per LuminosityBlock information. It is important to realize that the same LuminosityBockIndex may be used to refer to different LuminosityBlocks over the lifetime of a job. A LuminosityBlockIndex will only get a new LuminosityBlock after the previous LuminosityBlock using that index has finished being used.

Definition at line 33 of file LuminosityBlockIndex.h.

Constructor & Destructor Documentation

edm::LuminosityBlockIndex::LuminosityBlockIndex ( const LuminosityBlockIndex )
default
edm::LuminosityBlockIndex::~LuminosityBlockIndex ( )
default
edm::LuminosityBlockIndex::LuminosityBlockIndex ( unsigned int  iValue)
inlineexplicitprivate

Definition at line 54 of file LuminosityBlockIndex.h.

References LuminosityBlockIndex().

54 : value_{iValue} {}
edm::LuminosityBlockIndex::LuminosityBlockIndex ( )
privatedelete

Member Function Documentation

LuminosityBlockIndex edm::LuminosityBlockIndex::invalidLuminosityBlockIndex ( )
static
edm::LuminosityBlockIndex::operator unsigned int ( ) const
inline

Definition at line 40 of file LuminosityBlockIndex.h.

References value_.

40 { return value_; }
LuminosityBlockIndex& edm::LuminosityBlockIndex::operator= ( const LuminosityBlockIndex )
default
bool edm::LuminosityBlockIndex::operator== ( LuminosityBlockIndex const &  iRHS) const
inline

Definition at line 42 of file LuminosityBlockIndex.h.

References value().

42 { return value() == iRHS.value(); }
unsigned int value() const
unsigned int edm::LuminosityBlockIndex::value ( ) const
inline

Friends And Related Function Documentation

friend class LuminosityBlockPrincipal
friend

Only the LuminosityBlockPrincipal is allowed to make one of these.

Definition at line 52 of file LuminosityBlockIndex.h.

Member Data Documentation

const unsigned int edm::LuminosityBlockIndex::invalidValue_ = std::numeric_limits<unsigned int>::max()
staticprivate

Definition at line 61 of file LuminosityBlockIndex.h.

Referenced by invalidLuminosityBlockIndex().

unsigned int edm::LuminosityBlockIndex::value_
private

Definition at line 59 of file LuminosityBlockIndex.h.

Referenced by operator unsigned int(), and value().