The Gaudi Framework
v25r5
|
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 () |
Protected Attributes | |
ThreadMap * | m_threadMap |
singleton mapping the pthread ID to the Gaudi thread ID
Definition at line 15 of file ThreadGaudi.h.
typedef std::map< System::ThreadHandle , std::string > ThreadGaudi::ThreadMap |
Definition at line 17 of file ThreadGaudi.h.
|
protected |
Definition at line 85 of file ThreadGaudi.cpp.
|
protectedvirtual |
Definition at line 90 of file ThreadGaudi.cpp.
const std::string & ThreadGaudi::getThreadID | ( | ) |
get Gaudi ID of current pthread
Definition at line 117 of file ThreadGaudi.cpp.
ThreadGaudi::ThreadMap * ThreadGaudi::getThreadMap | ( | ) |
|
static |
void ThreadGaudi::setThreadID | ( | const std::string & | threadID | ) |
associate Gaudi ID to pthread
Definition at line 101 of file ThreadGaudi.cpp.
|
protected |
Definition at line 30 of file ThreadGaudi.h.