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 edm::global::EDFilterBase::doEvent(), edm::global::EDProducerBase::doEvent(), HLTLogMonitorFilter::filter(), edm::service::Timing::postEvent(), edm::service::MessageLogger::postEvent(), edm::service::SimpleMemoryCheck::postModule(), FastTimerService::postModuleEvent(), FastTimerService::postModuleEventDelayedGet(), FastTimerService::postPathEvent(), FastTimerService::postStreamBeginLumi(), FastTimerService::postStreamBeginRun(), FastTimerService::postStreamEndLumi(), FastTimerService::postStreamEndRun(), edm::service::Timing::preEvent(), edm::service::MessageLogger::preEvent(), FastTimerService::preEvent(), edm::service::SimpleMemoryCheck::preModule(), edm::service::MessageLogger::preModuleEvent(), FastTimerService::preModuleEvent(), FastTimerService::preModuleEventDelayedGet(), edm::service::MessageLogger::preModuleStreamBeginLumi(), edm::service::MessageLogger::preModuleStreamBeginRun(), edm::service::MessageLogger::preModuleStreamEndLumi(), edm::service::MessageLogger::preModuleStreamEndRun(), edm::service::MessageLogger::prePathEvent(), edm::service::MessageLogger::preStreamBeginLumi(), edm::service::MessageLogger::preStreamBeginRun(), FastTimerService::preStreamBeginRun(), edm::service::MessageLogger::preStreamEndLumi(), edm::service::MessageLogger::preStreamEndRun(), edm::SubProcess::process(), edm::LogErrorHarvester::produce(), edm::PoolSource::readEvent_(), 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().