CMS 3D CMS Logo

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.

References StreamID().

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

Referenced by invalidStreamID(), and StreamID().

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::doAcquire(), edm::global::EDProducerBase::doAcquire(), edm::global::EDFilterBase::doEvent(), edm::global::EDProducerBase::doEvent(), edm::limited::EDFilterBase::doEvent(), edm::limited::EDProducerBase::doEvent(), edm::ModuloStreamIDFilter::filter(), HLTLogMonitorFilter::filter(), edm::service::RandomNumberGeneratorService::getEngine(), edm::service::RandomNumberGeneratorService::getEventCache(), edm::InputSource::issueReports(), edm::SystemTimeKeeper::pathTiming(), edm::SystemTimeKeeper::pauseModuleEvent(), edm::service::Timing::postEvent(), edm::service::MessageLogger::postEvent(), edm::service::SimpleMemoryCheck::postModule(), evf::FastMonitoringService::postModuleEvent(), FastTimerService::postModuleEvent(), FastTimerService::postModuleEventAcquire(), edm::service::RandomNumberGeneratorService::postModuleStreamCheck(), FastTimerService::postPathEvent(), evf::FastMonitoringService::postSourceEvent(), edm::service::StallMonitor::postSourceEvent(), evf::FastMonitoringService::postStreamBeginLumi(), evf::FastMonitoringService::postStreamEndLumi(), edm::service::Timing::preEvent(), edm::service::MessageLogger::preEvent(), cond::service::PoolDBOutputService::preEventProcessing(), edm::service::SimpleMemoryCheck::preModule(), edm::service::MessageLogger::preModuleEvent(), evf::FastMonitoringService::preModuleEvent(), cond::service::PoolDBOutputService::preModuleEvent(), FastTimerService::preModuleEvent(), edm::service::MessageLogger::preModuleEventAcquire(), FastTimerService::preModuleEventAcquire(), edm::service::MessageLogger::preModuleStreamBeginLumi(), edm::service::MessageLogger::preModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::preModuleStreamCheck(), edm::service::MessageLogger::preModuleStreamEndLumi(), edm::service::MessageLogger::preModuleStreamEndRun(), FastTimerService::prePathEvent(), edm::service::MessageLogger::prePathEvent(), evf::FastMonitoringService::preSourceEvent(), edm::service::StallMonitor::preSourceEvent(), edm::service::MessageLogger::preStreamBeginLumi(), evf::FastMonitoringService::preStreamBeginLumi(), edm::service::MessageLogger::preStreamBeginRun(), evf::FastMonitoringService::preStreamEarlyTermination(), edm::service::MessageLogger::preStreamEndLumi(), evf::FastMonitoringService::preStreamEndLumi(), edm::service::MessageLogger::preStreamEndRun(), edm::SubProcess::processAsync(), edm::PathStatusInserter::produce(), edm::LogErrorHarvester::produce(), EcalMixingModuleValidation::randomEngine(), edm::StreamerInputSource::read(), edm::RootFile::readCurrentEvent(), edm::PoolSource::readEvent_(), edm::SystemTimeKeeper::restartModuleEvent(), edm::service::RandomNumberGeneratorService::saveStatesToFile(), edm::PathStatusInserter::setPathStatus(), edm::SystemTimeKeeper::startEvent(), edm::SystemTimeKeeper::startModuleEvent(), edm::SystemTimeKeeper::stopEvent(), edm::SystemTimeKeeper::stopModuleEvent(), edm::global::impl::StreamCacheHolder< T, C >::streamCache(), edm::limited::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().