The Gaudi Framework
v29r0 (ff2e7097)
|
singleton mapping the pthread ID to the Gaudi thread ID More...
#include <GaudiKernel/ThreadGaudi.h>
Public Types | |
typedef std::map< System::ThreadHandle, std::string > | ThreadMap |
Public Member Functions | |
void | setThreadID (const std::string &threadID) |
associate Gaudi ID to pthread More... | |
ThreadMap * | getThreadMap () |
access the whole map More... | |
const std::string & | getThreadID () |
get Gaudi ID of current pthread More... | |
Static Public Member Functions | |
static ThreadGaudi * | instance () |
singleton access More... | |
Protected Member Functions | |
ThreadGaudi () | |
virtual | ~ThreadGaudi ()=default |
Protected Attributes | |
std::unique_ptr< ThreadMap > | m_threadMap |
singleton mapping the pthread ID to the Gaudi thread ID
Definition at line 13 of file ThreadGaudi.h.
Definition at line 16 of file ThreadGaudi.h.
|
protected |
Definition at line 84 of file ThreadGaudi.cpp.
|
protectedvirtualdefault |
const std::string & ThreadGaudi::getThreadID | ( | ) |
get Gaudi ID of current pthread
Definition at line 108 of file ThreadGaudi.cpp.
ThreadGaudi::ThreadMap * ThreadGaudi::getThreadMap | ( | ) |
|
static |
void ThreadGaudi::setThreadID | ( | const std::string & | threadID | ) |
associate Gaudi ID to pthread
Definition at line 92 of file ThreadGaudi.cpp.
|
protected |
Definition at line 29 of file ThreadGaudi.h.