LLDB  mainline
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
lldb_private::BroadcasterManager Class Reference

#include <Broadcaster.h>

Inheritance diagram for lldb_private::BroadcasterManager:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::BroadcasterManager:
Collaboration graph
[legend]

Public Member Functions

 ~BroadcasterManager ()=default
 
uint32_t RegisterListenerForEvents (const lldb::ListenerSP &listener_sp, BroadcastEventSpec event_spec)
 
bool UnregisterListenerForEvents (const lldb::ListenerSP &listener_sp, BroadcastEventSpec event_spec)
 
lldb::ListenerSP GetListenerForEventSpec (BroadcastEventSpec event_spec) const
 
void SignUpListenersForBroadcaster (Broadcaster &broadcaster)
 
void RemoveListener (const lldb::ListenerSP &listener_sp)
 
void RemoveListener (Listener *listener)
 
void Clear ()
 

Static Public Member Functions

static lldb::BroadcasterManagerSP MakeBroadcasterManager ()
 

Protected Member Functions

 BroadcasterManager ()
 

Friends

class Listener
 

Detailed Description

Definition at line 83 of file Broadcaster.h.

Constructor & Destructor Documentation

◆ BroadcasterManager()

BroadcasterManager::BroadcasterManager ( )
protected

Definition at line 332 of file Broadcaster.cpp.

Referenced by MakeBroadcasterManager().

◆ ~BroadcasterManager()

lldb_private::BroadcasterManager::~BroadcasterManager ( )
default

Member Function Documentation

◆ Clear()

void BroadcasterManager::Clear ( )

Definition at line 469 of file Broadcaster.cpp.

◆ GetListenerForEventSpec()

ListenerSP BroadcasterManager::GetListenerForEventSpec ( BroadcastEventSpec  event_spec) const

Definition at line 403 of file Broadcaster.cpp.

◆ MakeBroadcasterManager()

lldb::BroadcasterManagerSP BroadcasterManager::MakeBroadcasterManager ( )
static

Definition at line 334 of file Broadcaster.cpp.

References BroadcasterManager().

Referenced by lldb_private::Debugger::FindTargetWithProcess().

◆ RegisterListenerForEvents()

uint32_t BroadcasterManager::RegisterListenerForEvents ( const lldb::ListenerSP &  listener_sp,
BroadcastEventSpec  event_spec 
)

◆ RemoveListener() [1/2]

void BroadcasterManager::RemoveListener ( const lldb::ListenerSP &  listener_sp)

Definition at line 436 of file Broadcaster.cpp.

◆ RemoveListener() [2/2]

void BroadcasterManager::RemoveListener ( Listener listener)

Definition at line 416 of file Broadcaster.cpp.

◆ SignUpListenersForBroadcaster()

void BroadcasterManager::SignUpListenersForBroadcaster ( Broadcaster broadcaster)

Definition at line 453 of file Broadcaster.cpp.

References lldb_private::Broadcaster::GetBroadcasterClass().

◆ UnregisterListenerForEvents()

bool BroadcasterManager::UnregisterListenerForEvents ( const lldb::ListenerSP &  listener_sp,
BroadcastEventSpec  event_spec 
)

Friends And Related Function Documentation

◆ Listener

friend class Listener
friend

Definition at line 86 of file Broadcaster.h.


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