9#ifndef LLDB_TARGET_TARGETGROUPLIST_H
10#define LLDB_TARGET_TARGETGROUPLIST_H
29 m_mutex(std::make_shared<std::recursive_mutex>()) {}
32 const std::shared_ptr<std::recursive_mutex> &mutex)
51 std::vector<lldb::TargetGroupSP>
GetGroups()
const;
64 std::shared_ptr<std::recursive_mutex>
m_mutex;
lldb::TargetGroupSP CreateTargetGroup(llvm::StringRef description)
bool DeleteTargetGroup(const lldb::TargetGroupSP &group_sp)
Remove group_sp from this list.
void RemoveTarget(const lldb::TargetSP &target_sp)
void Remove(const TargetGroup *group)
TargetGroupList(Debugger &debugger)
TargetGroupList(TargetGroupList &&)=delete
TargetGroupList & operator=(const TargetGroupList &)=delete
void Add(const lldb::TargetGroupSP &group_sp)
TargetGroupList(const TargetGroupList &)=delete
std::shared_ptr< std::recursive_mutex > m_mutex
Shared by the debugger's list, each target's list, and every group.
TargetGroupList(Debugger &debugger, const std::shared_ptr< std::recursive_mutex > &mutex)
std::vector< lldb::TargetGroupSP > GetGroups() const
Return a snapshot of the target groups.
std::vector< lldb::TargetGroupSP > m_groups
TargetGroupList & operator=(TargetGroupList &&)=delete
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::TargetGroup > TargetGroupSP
std::shared_ptr< lldb_private::Target > TargetSP