![]() |
The Gaudi Framework
v28r0
|
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 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 83 of file ThreadGaudi.cpp.
|
protectedvirtualdefault |
| const std::string & ThreadGaudi::getThreadID | ( | ) |
get Gaudi ID of current pthread
Definition at line 111 of file ThreadGaudi.cpp.
| ThreadGaudi::ThreadMap * ThreadGaudi::getThreadMap | ( | ) |
|
static |
| void ThreadGaudi::setThreadID | ( | const std::string & | threadID | ) |
associate Gaudi ID to pthread
Definition at line 95 of file ThreadGaudi.cpp.
|
protected |
Definition at line 30 of file ThreadGaudi.h.