LLDB mainline
Public Types | Public Member Functions | Protected Attributes | List of all members
lldb_private::ThreadSafeDenseSet< _ElementType, _MutexType > Class Template Reference

#include <ThreadSafeDenseSet.h>

Public Types

typedef llvm::DenseSet< _ElementType > LLVMSetType
 

Public Member Functions

 ThreadSafeDenseSet (unsigned set_initial_capacity=0)
 
void Insert (_ElementType e)
 
void Erase (_ElementType e)
 
bool Lookup (_ElementType e)
 
void Clear ()
 

Protected Attributes

LLVMSetType m_set
 
_MutexType m_mutex
 

Detailed Description

template<typename _ElementType, typename _MutexType = std::mutex>
class lldb_private::ThreadSafeDenseSet< _ElementType, _MutexType >

Definition at line 21 of file ThreadSafeDenseSet.h.

Member Typedef Documentation

◆ LLVMSetType

template<typename _ElementType , typename _MutexType = std::mutex>
typedef llvm::DenseSet<_ElementType> lldb_private::ThreadSafeDenseSet< _ElementType, _MutexType >::LLVMSetType

Definition at line 23 of file ThreadSafeDenseSet.h.

Constructor & Destructor Documentation

◆ ThreadSafeDenseSet()

template<typename _ElementType , typename _MutexType = std::mutex>
lldb_private::ThreadSafeDenseSet< _ElementType, _MutexType >::ThreadSafeDenseSet ( unsigned  set_initial_capacity = 0)
inline

Definition at line 25 of file ThreadSafeDenseSet.h.

Member Function Documentation

◆ Clear()

template<typename _ElementType , typename _MutexType = std::mutex>
void lldb_private::ThreadSafeDenseSet< _ElementType, _MutexType >::Clear ( )
inline

◆ Erase()

template<typename _ElementType , typename _MutexType = std::mutex>
void lldb_private::ThreadSafeDenseSet< _ElementType, _MutexType >::Erase ( _ElementType  e)
inline

◆ Insert()

template<typename _ElementType , typename _MutexType = std::mutex>
void lldb_private::ThreadSafeDenseSet< _ElementType, _MutexType >::Insert ( _ElementType  e)
inline

◆ Lookup()

template<typename _ElementType , typename _MutexType = std::mutex>
bool lldb_private::ThreadSafeDenseSet< _ElementType, _MutexType >::Lookup ( _ElementType  e)
inline

Member Data Documentation

◆ m_mutex

template<typename _ElementType , typename _MutexType = std::mutex>
_MutexType lldb_private::ThreadSafeDenseSet< _ElementType, _MutexType >::m_mutex
protected

◆ m_set

template<typename _ElementType , typename _MutexType = std::mutex>
LLVMSetType lldb_private::ThreadSafeDenseSet< _ElementType, _MutexType >::m_set
protected

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