Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mutex Class Reference

#include <G4RootPNtupleManager.hh>

Inheritance diagram for mutex:
Collaboration diagram for mutex:

Public Member Functions

virtual bool lock ()
 
virtual bool unlock ()
 
 mutex (G4AutoLock &a_mutex)
 
virtual ~mutex ()
 

Protected Member Functions

 mutex (const mutex &a_from)
 
mutexoperator= (const mutex &)
 

Protected Attributes

G4AutoLockm_mutex
 

Detailed Description

Definition at line 57 of file G4RootPNtupleManager.hh.

Constructor & Destructor Documentation

mutex::mutex ( G4AutoLock a_mutex)
inline

Definition at line 70 of file G4RootPNtupleManager.hh.

70 :m_mutex(a_mutex){}
G4AutoLock & m_mutex
virtual mutex::~mutex ( )
inlinevirtual

Definition at line 71 of file G4RootPNtupleManager.hh.

71 {}
mutex::mutex ( const mutex a_from)
inlineprotected

Definition at line 73 of file G4RootPNtupleManager.hh.

73 :parent(a_from),m_mutex(a_from.m_mutex){}
G4AutoLock & m_mutex

Member Function Documentation

virtual bool mutex::lock ( )
inlinevirtual

Definition at line 60 of file G4RootPNtupleManager.hh.

60  {
61  // G4cout << "!!! Mutex lock" << G4endl;
62  m_mutex.lock();
63  return true;}
G4AutoLock & m_mutex

Here is the call graph for this function:

mutex& mutex::operator= ( const mutex )
inlineprotected

Definition at line 74 of file G4RootPNtupleManager.hh.

74 {return *this;}
virtual bool mutex::unlock ( )
inlinevirtual

Definition at line 64 of file G4RootPNtupleManager.hh.

64  {
65  m_mutex.unlock();
66  // G4cout << "!!! Mutex unlock" << G4endl;
67  return true; }
G4AutoLock & m_mutex

Here is the call graph for this function:

Member Data Documentation

G4AutoLock& mutex::m_mutex
protected

Definition at line 76 of file G4RootPNtupleManager.hh.


The documentation for this class was generated from the following file: