ProteoWizard
Public Member Functions | Public Attributes | List of all members
pwiz::util::Lock Class Reference

#include <cpp_cli_utilities.hpp>

Public Member Functions

 Lock (System::Object^ pObject)
 
 ~Lock ()
 

Public Attributes

System::Object m_pObject
 

Detailed Description

Definition at line 196 of file cpp_cli_utilities.hpp.

Constructor & Destructor Documentation

◆ Lock()

pwiz::util::Lock::Lock ( System::Object^  pObject)
inline

Definition at line 201 of file cpp_cli_utilities.hpp.

201 : m_pObject(pObject) { System::Threading::Monitor::Enter(m_pObject); }
System::Object m_pObject

◆ ~Lock()

pwiz::util::Lock::~Lock ( )
inline

Definition at line 202 of file cpp_cli_utilities.hpp.

References boost::lexical_cast().

202 { System::Threading::Monitor::Exit(m_pObject); }
System::Object m_pObject

Member Data Documentation

◆ m_pObject

System::Object pwiz::util::Lock::m_pObject

Definition at line 198 of file cpp_cli_utilities.hpp.


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