LLDB mainline
Public Member Functions | Private Attributes | List of all members
ValueLocker Class Reference

Public Member Functions

 ValueLocker ()=default
 
ValueObjectSP GetLockedSP (ValueImpl &in_value)
 
StatusGetError ()
 

Private Attributes

Process::StopLocker m_stop_locker
 
std::unique_lock< std::recursive_mutex > m_lock
 
Status m_lock_error
 

Detailed Description

Definition at line 204 of file SBValue.cpp.

Constructor & Destructor Documentation

◆ ValueLocker()

ValueLocker::ValueLocker ( )
default

Member Function Documentation

◆ GetError()

Status & ValueLocker::GetError ( )
inline

◆ GetLockedSP()

ValueObjectSP ValueLocker::GetLockedSP ( ValueImpl in_value)
inline

Definition at line 208 of file SBValue.cpp.

References ValueImpl::GetSP(), m_lock, m_lock_error, and m_stop_locker.

Referenced by lldb::SBValue::GetSP().

Member Data Documentation

◆ m_lock

std::unique_lock<std::recursive_mutex> ValueLocker::m_lock
private

Definition at line 216 of file SBValue.cpp.

Referenced by GetLockedSP().

◆ m_lock_error

Status ValueLocker::m_lock_error
private

Definition at line 217 of file SBValue.cpp.

Referenced by GetError(), and GetLockedSP().

◆ m_stop_locker

Process::StopLocker ValueLocker::m_stop_locker
private

Definition at line 215 of file SBValue.cpp.

Referenced by GetLockedSP().


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