LLDB mainline
lldb_private::process_gdb_remote::GDBRemoteClientBase::ContinueLock Class Reference

Public Types

enum class  LockResult { Success , Cancelled , Failed }

Public Member Functions

 ContinueLock (GDBRemoteClientBase &comm)
 ~ContinueLock ()
 operator bool ()
LockResult lock ()
void unlock ()

Private Attributes

GDBRemoteClientBasem_comm
bool m_acquired

Detailed Description

Definition at line 161 of file GDBRemoteClientBase.h.

Member Enumeration Documentation

◆ LockResult

Enumerator
Success 
Cancelled 
Failed 

Definition at line 163 of file GDBRemoteClientBase.h.

Constructor & Destructor Documentation

◆ ContinueLock()

GDBRemoteClientBase::ContinueLock::ContinueLock ( GDBRemoteClientBase & comm)
explicit

◆ ~ContinueLock()

GDBRemoteClientBase::ContinueLock::~ContinueLock ( )

Definition at line 312 of file GDBRemoteClientBase.cpp.

References m_acquired, and unlock().

Member Function Documentation

◆ lock()

◆ operator bool()

lldb_private::process_gdb_remote::GDBRemoteClientBase::ContinueLock::operator bool ( )
inlineexplicit

Definition at line 167 of file GDBRemoteClientBase.h.

References m_acquired.

◆ unlock()

void GDBRemoteClientBase::ContinueLock::unlock ( )

Member Data Documentation

◆ m_acquired

bool lldb_private::process_gdb_remote::GDBRemoteClientBase::ContinueLock::m_acquired
private

Definition at line 175 of file GDBRemoteClientBase.h.

Referenced by ContinueLock(), lock(), operator bool(), unlock(), and ~ContinueLock().

◆ m_comm

GDBRemoteClientBase& lldb_private::process_gdb_remote::GDBRemoteClientBase::ContinueLock::m_comm
private

Definition at line 174 of file GDBRemoteClientBase.h.

Referenced by ContinueLock(), lock(), and unlock().


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