LLDB  mainline
Public Types | Public Member Functions | Private Attributes | List of all members
lldb_private::process_gdb_remote::GDBRemoteClientBase::ContinueLock Class Reference
Collaboration diagram for lldb_private::process_gdb_remote::GDBRemoteClientBase::ContinueLock:
Collaboration graph
[legend]

Public Types

enum  LockResult { LockResult::Success, LockResult::Cancelled, LockResult::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 149 of file GDBRemoteClientBase.h.

Member Enumeration Documentation

◆ LockResult

Enumerator
Success 
Cancelled 
Failed 

Definition at line 151 of file GDBRemoteClientBase.h.

Constructor & Destructor Documentation

◆ ContinueLock()

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

Definition at line 289 of file GDBRemoteClientBase.cpp.

References lock().

◆ ~ContinueLock()

GDBRemoteClientBase::ContinueLock::~ContinueLock ( )

Definition at line 294 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 155 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 163 of file GDBRemoteClientBase.h.

Referenced by operator bool().

◆ m_comm

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

Definition at line 162 of file GDBRemoteClientBase.h.


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