LLDB  mainline
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::ClusterManager< T > Class Template Reference

#include <SharedCluster.h>

Inheritance diagram for lldb_private::ClusterManager< T >:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::ClusterManager< T >:
Collaboration graph
[legend]

Public Member Functions

 ~ClusterManager ()
 
void ManageObject (T *new_object)
 
std::shared_ptr< T > GetSharedPointer (T *desired_object)
 

Static Public Member Functions

static std::shared_ptr< ClusterManagerCreate ()
 

Private Member Functions

 ClusterManager ()
 

Private Attributes

llvm::SmallVector< T *, 16 > m_objects
 
std::mutex m_mutex
 

Detailed Description

template<class T>
class lldb_private::ClusterManager< T >

Definition at line 22 of file SharedCluster.h.

Constructor & Destructor Documentation

◆ ~ClusterManager()

template<class T >
lldb_private::ClusterManager< T >::~ClusterManager ( )
inline

Definition at line 28 of file SharedCluster.h.

References lldb_private::ClusterManager< T >::m_objects.

◆ ClusterManager()

template<class T >
lldb_private::ClusterManager< T >::ClusterManager ( )
inlineprivate

Definition at line 51 of file SharedCluster.h.

Referenced by lldb_private::ClusterManager< T >::Create().

Member Function Documentation

◆ Create()

template<class T >
static std::shared_ptr<ClusterManager> lldb_private::ClusterManager< T >::Create ( )
inlinestatic

◆ GetSharedPointer()

template<class T >
std::shared_ptr<T> lldb_private::ClusterManager< T >::GetSharedPointer ( T *  desired_object)
inline

◆ ManageObject()

template<class T >
void lldb_private::ClusterManager< T >::ManageObject ( T *  new_object)
inline

Member Data Documentation

◆ m_mutex

template<class T >
std::mutex lldb_private::ClusterManager< T >::m_mutex
private

◆ m_objects

template<class T >
llvm::SmallVector<T *, 16> lldb_private::ClusterManager< T >::m_objects
private

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