LLDB  mainline
Public Member Functions | Protected Types | Protected Attributes | Private Member Functions | List of all members
lldb_private::PlatformList Class Reference

#include <Platform.h>

Collaboration diagram for lldb_private::PlatformList:
Collaboration graph

Public Member Functions

 PlatformList ()
 ~PlatformList ()=default
void Append (const lldb::PlatformSP &platform_sp, bool set_selected)
size_t GetSize ()
lldb::PlatformSP GetAtIndex (uint32_t idx)
lldb::PlatformSP GetSelectedPlatform ()
 Select the active platform. More...
void SetSelectedPlatform (const lldb::PlatformSP &platform_sp)

Protected Types

typedef std::vector< lldb::PlatformSP > collection

Protected Attributes

std::recursive_mutex m_mutex
collection m_platforms
lldb::PlatformSP m_selected_platform_sp

Private Member Functions

 PlatformList (const PlatformList &)=delete
const PlatformListoperator= (const PlatformList &)=delete

Detailed Description

Definition at line 945 of file Platform.h.

Member Typedef Documentation

◆ collection

typedef std::vector<lldb::PlatformSP> lldb_private::PlatformList::collection

Definition at line 1003 of file Platform.h.

Constructor & Destructor Documentation

◆ PlatformList() [1/2]

lldb_private::PlatformList::PlatformList ( )

Definition at line 947 of file Platform.h.

◆ ~PlatformList()

lldb_private::PlatformList::~PlatformList ( )

◆ PlatformList() [2/2]

lldb_private::PlatformList::PlatformList ( const PlatformList )

Member Function Documentation

◆ Append()

void lldb_private::PlatformList::Append ( const lldb::PlatformSP &  platform_sp,
bool  set_selected 

◆ GetAtIndex()

lldb::PlatformSP lldb_private::PlatformList::GetAtIndex ( uint32_t  idx)

Definition at line 963 of file Platform.h.

◆ GetSelectedPlatform()

lldb::PlatformSP lldb_private::PlatformList::GetSelectedPlatform ( )

Select the active platform.

In order to debug remotely, other platform's can be remotely connected to and set as the selected platform for any subsequent debugging. This allows connection to remote targets and allows the ability to discover process info, launch and attach to remote processes.

Definition at line 979 of file Platform.h.

Referenced by lldb_private::Target::Attach(), lldb_private::TargetList::CreateTargetInternal(), lldb_private::CommandInterpreter::GetPlatform(), and lldb_private::TargetList::~TargetList().

◆ GetSize()

size_t lldb_private::PlatformList::GetSize ( )

Definition at line 958 of file Platform.h.

◆ operator=()

const PlatformList& lldb_private::PlatformList::operator= ( const PlatformList )

◆ SetSelectedPlatform()

void lldb_private::PlatformList::SetSelectedPlatform ( const lldb::PlatformSP &  platform_sp)

Definition at line 987 of file Platform.h.

Referenced by lldb_private::TargetList::~TargetList().

Member Data Documentation

◆ m_mutex

std::recursive_mutex lldb_private::PlatformList::m_mutex

Definition at line 1004 of file Platform.h.

◆ m_platforms

collection lldb_private::PlatformList::m_platforms

Definition at line 1005 of file Platform.h.

◆ m_selected_platform_sp

lldb::PlatformSP lldb_private::PlatformList::m_selected_platform_sp

Definition at line 1006 of file Platform.h.

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