Lines Matching refs:Broadcaster
1 //===-- Broadcaster.cpp -----------------------------------------*- C++ -*-===//
10 #include "lldb/Core/Broadcaster.h"
24 Broadcaster::Broadcaster (BroadcasterManager *manager, const char *name) :
34 log->Printf ("%p Broadcaster::Broadcaster(\"%s\")", this, m_broadcaster_name.AsCString());
38 Broadcaster::~Broadcaster()
42 log->Printf ("%p Broadcaster::~Broadcaster(\"%s\")", this, m_broadcaster_name.AsCString());
48 Broadcaster::CheckInWithManager ()
57 Broadcaster::Clear()
61 // Make sure the listener forgets about this broadcaster. We do
62 // this in the broadcaster in case the broadcaster object initiates
72 Broadcaster::GetBroadcasterName ()
78 Broadcaster::GetEventNames (Stream &s, uint32_t event_mask, bool prefix_with_broadcaster_name) const
109 Broadcaster::AddInitialEventsToListener (Listener *listener, uint32_t requested_events)
115 Broadcaster::AddListener (Listener* listener, uint32_t event_mask)
135 // Each event bit in a Broadcaster object can only be used
164 Broadcaster::EventTypeHasListeners (uint32_t event_type)
184 Broadcaster::RemoveListener (Listener* listener, uint32_t event_mask)
205 Broadcaster::BroadcastEvent (EventSP &event_sp)
211 Broadcaster::BroadcastEventIfUnique (EventSP &event_sp)
217 Broadcaster::PrivateBroadcastEvent (EventSP &event_sp, bool unique)
223 // Update the broadcaster on this event
244 log->Printf ("%p Broadcaster(\"%s\")::BroadcastEvent (event_sp = {%s}, unique =%i) hijack = %p",
279 Broadcaster::BroadcastEvent (uint32_t event_type, EventData *event_data)
286 Broadcaster::BroadcastEventIfUnique (uint32_t event_type, EventData *event_data)
293 Broadcaster::HijackBroadcaster (Listener *listener, uint32_t event_mask)
300 log->Printf ("%p Broadcaster(\"%s\")::HijackBroadcaster (listener(\"%s\")=%p)",
312 Broadcaster::RestoreBroadcaster ()
320 log->Printf ("%p Broadcaster(\"%s\")::RestoreBroadcaster (about to pop listener(\"%s\")=%p)",
331 Broadcaster::GetBroadcasterClass() const
474 BroadcasterManager::SignUpListenersForBroadcaster (Broadcaster &broadcaster)
481 && (iter = find_if (iter, end_iter, BroadcasterClassMatches(broadcaster.GetBroadcasterClass()))) != end_iter)
483 (*iter).second->StartListeningForEvents (&broadcaster, (*iter).first.GetEventBits());