LLDB mainline
Public Types | Public Member Functions | Private Attributes | List of all members
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 154 of file GDBRemoteClientBase.h.

Member Enumeration Documentation

◆ LockResult

Enumerator
Success 
Cancelled 
Failed 

Definition at line 156 of file GDBRemoteClientBase.h.

Constructor & Destructor Documentation

◆ ContinueLock()

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

Definition at line 306 of file GDBRemoteClientBase.cpp.

References lock().

◆ ~ContinueLock()

GDBRemoteClientBase::ContinueLock::~ContinueLock ( )

Definition at line 311 of file GDBRemoteClientBase.cpp.

Member Function Documentation

◆ lock()

GDBRemoteClientBase::ContinueLock::LockResult GDBRemoteClientBase::ContinueLock::lock ( )

◆ operator bool()

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

Definition at line 160 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 168 of file GDBRemoteClientBase.h.

Referenced by operator bool().

◆ m_comm

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

Definition at line 167 of file GDBRemoteClientBase.h.


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