CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
edm::PathContext Class Reference

#include <PathContext.h>

Public Types

enum  PathType { PathType::kPath, PathType::kEndPath }
 

Public Member Functions

bool isEndPath () const
 
 PathContext (std::string const &pathName, StreamContext const *streamContext, unsigned int pathID, PathType pathType)
 
unsigned int pathID () const
 
std::string const & pathName () const
 
PathType pathType () const
 
StreamContext const * streamContext () const
 

Private Attributes

unsigned int pathID_
 
std::string pathName_
 
PathType pathType_
 
StreamContext const * streamContext_
 

Detailed Description

Description: This is intended primarily to be passed to Services as an argument to their callback functions.

Usage:

Definition at line 24 of file PathContext.h.

Member Enumeration Documentation

Enumerator
kPath 
kEndPath 

Definition at line 27 of file PathContext.h.

27  {
28  kPath,
29  kEndPath
30  };

Constructor & Destructor Documentation

edm::PathContext::PathContext ( std::string const &  pathName,
StreamContext const *  streamContext,
unsigned int  pathID,
PathType  pathType 
)

Definition at line 8 of file PathContext.cc.

11  :
14  pathID_(pathID),
16  }
std::string const & pathName() const
Definition: PathContext.h:37
StreamContext const * streamContext_
Definition: PathContext.h:46
std::string pathName_
Definition: PathContext.h:45
PathType pathType() const
Definition: PathContext.h:40
unsigned int pathID() const
Definition: PathContext.h:39
PathType pathType_
Definition: PathContext.h:48
StreamContext const * streamContext() const
Definition: PathContext.h:38
unsigned int pathID_
Definition: PathContext.h:47

Member Function Documentation

bool edm::PathContext::isEndPath ( ) const
inline
unsigned int edm::PathContext::pathID ( ) const
inline

Definition at line 39 of file PathContext.h.

References pathID_.

Referenced by edm::operator<<(), edm::SystemTimeKeeper::pathTiming(), HLTFilter::pmid(), and HLTStreamFilter::pmid().

39 { return pathID_; }
unsigned int pathID_
Definition: PathContext.h:47
std::string const& edm::PathContext::pathName ( ) const
inline
PathType edm::PathContext::pathType ( ) const
inline

Definition at line 40 of file PathContext.h.

References pathType_.

Referenced by edm::operator<<().

40 { return pathType_; }
PathType pathType_
Definition: PathContext.h:48
StreamContext const* edm::PathContext::streamContext ( ) const
inline

Member Data Documentation

unsigned int edm::PathContext::pathID_
private

Definition at line 47 of file PathContext.h.

Referenced by pathID().

std::string edm::PathContext::pathName_
private

Definition at line 45 of file PathContext.h.

Referenced by pathName().

PathType edm::PathContext::pathType_
private

Definition at line 48 of file PathContext.h.

Referenced by isEndPath(), and pathType().

StreamContext const* edm::PathContext::streamContext_
private

Definition at line 46 of file PathContext.h.

Referenced by streamContext().