test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::StreamID Class Reference

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

Public Member Functions

 operator unsigned int () const
 
StreamIDoperator= (const StreamID &)=default
 
bool operator== (const StreamID &iID) const
 
 StreamID (const StreamID &)=default
 
unsigned int value () const
 
 ~StreamID ()=default
 

Static Public Member Functions

static StreamID invalidStreamID ()
 

Private Member Functions

 StreamID (unsigned int iValue)
 
 StreamID ()=delete
 

Private Attributes

unsigned int value_
 

Friends

class EventPrincipal
 
class Schedule
 Only a Schedule is allowed to create one of these. More...
 

Detailed Description

Description: Identifies an edm stream

Usage: Various APIs use this type to allow access to per stream information.

Definition at line 30 of file StreamID.h.

Constructor & Destructor Documentation

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

Definition at line 56 of file StreamID.h.

56 : value_(iValue) {}
unsigned int value_
Definition: StreamID.h:61
edm::StreamID::StreamID ( )
privatedelete

Referenced by invalidStreamID().

Member Function Documentation

static StreamID edm::StreamID::invalidStreamID ( )
inlinestatic
edm::StreamID::operator unsigned int ( ) const
inline

Definition at line 42 of file StreamID.h.

References value_.

42 {return value_;}
unsigned int value_
Definition: StreamID.h:61
StreamID& edm::StreamID::operator= ( const StreamID )
default
bool edm::StreamID::operator== ( const StreamID iID) const
inline

Definition at line 38 of file StreamID.h.

References value_.

38  {
39  return iID.value_ == value_;
40  }
unsigned int value_
Definition: StreamID.h:61
unsigned int edm::StreamID::value ( ) const
inline
Returns
value ranging from 0 to one less than max number of streams.

Definition at line 46 of file StreamID.h.

References value_.

Referenced by average.Average::average(), edm::global::EDFilterBase::doEvent(), edm::global::EDProducerBase::doEvent(), HLTLogMonitorFilter::filter(), edm::service::RandomNumberGeneratorService::getEngine(), edm::service::RandomNumberGeneratorService::getEventCache(), edm::SystemTimeKeeper::pathTiming(), edm::SystemTimeKeeper::pauseModuleEvent(), ThroughputService::postEvent(), edm::service::Timing::postEvent(), edm::service::MessageLogger::postEvent(), edm::service::SimpleMemoryCheck::postModule(), FastTimerService::postModuleEvent(), evf::FastMonitoringService::postModuleEvent(), FastTimerService::postModuleEventDelayedGet(), edm::service::RandomNumberGeneratorService::postModuleStreamCheck(), FastTimerService::postPathEvent(), evf::FastMonitoringService::postSourceEvent(), FastTimerService::postStreamBeginLumi(), evf::FastMonitoringService::postStreamBeginLumi(), FastTimerService::postStreamBeginRun(), ThroughputService::postStreamEndLumi(), FastTimerService::postStreamEndLumi(), evf::FastMonitoringService::postStreamEndLumi(), ThroughputService::postStreamEndRun(), FastTimerService::postStreamEndRun(), edm::service::Timing::preEvent(), edm::service::MessageLogger::preEvent(), FastTimerService::preEvent(), cond::service::PoolDBOutputService::preEventProcessing(), edm::service::SimpleMemoryCheck::preModule(), edm::service::MessageLogger::preModuleEvent(), evf::FastMonitoringService::preModuleEvent(), FastTimerService::preModuleEvent(), cond::service::PoolDBOutputService::preModuleEvent(), FastTimerService::preModuleEventDelayedGet(), edm::service::MessageLogger::preModuleStreamBeginLumi(), edm::service::MessageLogger::preModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::preModuleStreamCheck(), edm::service::MessageLogger::preModuleStreamEndLumi(), edm::service::MessageLogger::preModuleStreamEndRun(), edm::service::MessageLogger::prePathEvent(), evf::FastMonitoringService::preSourceEvent(), edm::service::MessageLogger::preStreamBeginLumi(), evf::FastMonitoringService::preStreamBeginLumi(), ThroughputService::preStreamBeginRun(), edm::service::MessageLogger::preStreamBeginRun(), FastTimerService::preStreamBeginRun(), evf::FastMonitoringService::preStreamEarlyTermination(), edm::service::MessageLogger::preStreamEndLumi(), evf::FastMonitoringService::preStreamEndLumi(), edm::service::MessageLogger::preStreamEndRun(), edm::SubProcess::process(), edm::LogErrorHarvester::produce(), HGCDigiProducer::randomEngine(), FTLDigiProducer::randomEngine(), HcalDigiProducer::randomEngine(), HcalTBDigiProducer::randomEngine(), CastorDigiProducer::randomEngine(), SiStripDigitizer::randomEngine(), cms::SiPixelDigitizer::randomEngine(), EcalDigiProducer::randomEngine(), EcalMixingModuleValidation::randomEngine(), edm::StreamerInputSource::read(), edm::RootFile::readCurrentEvent(), edm::PoolSource::readEvent_(), edm::SystemTimeKeeper::restartModuleEvent(), edm::service::RandomNumberGeneratorService::saveStatesToFile(), edm::SystemTimeKeeper::startEvent(), edm::SystemTimeKeeper::startModuleEvent(), edm::SystemTimeKeeper::stopEvent(), edm::SystemTimeKeeper::stopModuleEvent(), edm::global::impl::StreamCacheHolder< T, C >::streamCache(), edm::StreamSchedule::StreamSchedule(), and edm::EventPrincipal::transitionIndex_().

46 { return value_; }
unsigned int value_
Definition: StreamID.h:61

Friends And Related Function Documentation

friend class EventPrincipal
friend

Definition at line 55 of file StreamID.h.

friend class Schedule
friend

Only a Schedule is allowed to create one of these.

Definition at line 54 of file StreamID.h.

Member Data Documentation

unsigned int edm::StreamID::value_
private

Definition at line 61 of file StreamID.h.

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