| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

ThreadGaudi Class Reference

singleton mapping the pthread ID to the Gaudi thread ID More...

#include <GaudiKernel/ThreadGaudi.h>

Collaboration diagram for ThreadGaudi:

[legend]
List of all members.

Public Types

typedef std::map< System::ThreadHandle,
std::string > 
ThreadMap

Public Member Functions

void setThreadID (const std::string &threadID)
 associate Gaudi ID to pthread
ThreadMapgetThreadMap ()
 access the whole map
const std::string & getThreadID ()
 get Gaudi ID of current pthread

Static Public Member Functions

static ThreadGaudiinstance ()
 singleton access

Protected Member Functions

 ThreadGaudi ()
virtual ~ThreadGaudi ()

Protected Attributes

ThreadMapm_threadMap

Detailed Description

singleton mapping the pthread ID to the Gaudi thread ID

Author:
Werner Wiedenmann
Id
ThreadGaudi.h,v 1.3 2003/06/25 15:45:10 mato Exp

Definition at line 15 of file ThreadGaudi.h.


Member Typedef Documentation

typedef std::map< System::ThreadHandle , std::string > ThreadGaudi::ThreadMap

Definition at line 17 of file ThreadGaudi.h.


Constructor & Destructor Documentation

ThreadGaudi::ThreadGaudi (  )  [protected]

virtual ThreadGaudi::~ThreadGaudi (  )  [protected, virtual]


Member Function Documentation

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


Member Data Documentation

ThreadMap* ThreadGaudi::m_threadMap [protected]

Definition at line 30 of file ThreadGaudi.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:57:15 2011 for GaudiKernel by doxygen 1.4.7