#include <GaudiKernel/ThreadGaudi.h>
Collaboration diagram for ThreadGaudi:
Public Types | |
typedef std::map< System::ThreadHandle, std::string > | ThreadMap |
Public Member Functions | |
void | setThreadID (const std::string &threadID) |
associate Gaudi ID to pthread | |
ThreadMap * | getThreadMap () |
access the whole map | |
const std::string & | getThreadID () |
get Gaudi ID of current pthread | |
Static Public Member Functions | |
static ThreadGaudi * | instance () |
singleton access | |
Protected Member Functions | |
ThreadGaudi () | |
virtual | ~ThreadGaudi () |
Protected Attributes | |
ThreadMap * | m_threadMap |
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.
ThreadGaudi::ThreadGaudi | ( | ) | [protected] |
virtual ThreadGaudi::~ThreadGaudi | ( | ) | [protected, virtual] |
static ThreadGaudi* ThreadGaudi::instance | ( | ) | [static] |
singleton access
void ThreadGaudi::setThreadID | ( | const std::string & | threadID | ) |
associate Gaudi ID to pthread
ThreadMap* ThreadGaudi::getThreadMap | ( | ) |
access the whole map
const std::string& ThreadGaudi::getThreadID | ( | ) |
get Gaudi ID of current pthread
ThreadMap* ThreadGaudi::m_threadMap [protected] |
Definition at line 30 of file ThreadGaudi.h.