CMS 3D CMS Logo

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

#include <CurrentModuleOnThread.h>

Static Public Member Functions

static ModuleCallingContext const * getCurrentModuleOnThread ()
 

Static Private Member Functions

static void setCurrentModuleOnThread (ModuleCallingContext const *v)
 

Static Private Attributes

static thread_local
ModuleCallingContext const * 
currentModuleOnThread_ = nullptr
 

Friends

class ModuleContextSentry
 

Detailed Description

Author
W. David Dagenhart, created 30 August, 2013

Definition at line 15 of file CurrentModuleOnThread.h.

Member Function Documentation

static ModuleCallingContext const* edm::CurrentModuleOnThread::getCurrentModuleOnThread ( )
inlinestatic

Definition at line 17 of file CurrentModuleOnThread.h.

References currentModuleOnThread_.

Referenced by edm::ModuleContextSentry::ModuleContextSentry().

17  {
19  }
static thread_local ModuleCallingContext const * currentModuleOnThread_
static void edm::CurrentModuleOnThread::setCurrentModuleOnThread ( ModuleCallingContext const *  v)
inlinestaticprivate

Friends And Related Function Documentation

friend class ModuleContextSentry
friend

Definition at line 21 of file CurrentModuleOnThread.h.

Member Data Documentation

thread_local edm::ModuleCallingContext const * edm::CurrentModuleOnThread::currentModuleOnThread_ = nullptr
staticprivate

Definition at line 26 of file CurrentModuleOnThread.h.

Referenced by getCurrentModuleOnThread(), and setCurrentModuleOnThread().