LLDB mainline
|
lldb::BroadcastEventSpec More...
#include <Broadcaster.h>
Public Member Functions | |
BroadcastEventSpec (llvm::StringRef broadcaster_class, uint32_t event_bits) | |
~BroadcastEventSpec ()=default | |
const std::string & | GetBroadcasterClass () const |
uint32_t | GetEventBits () const |
bool | IsContainedIn (const BroadcastEventSpec &in_spec) const |
Tell whether this BroadcastEventSpec is contained in in_spec. | |
bool | operator< (const BroadcastEventSpec &rhs) const |
Private Attributes | |
std::string | m_broadcaster_class |
uint32_t | m_event_bits |
lldb::BroadcastEventSpec
This class is used to specify a kind of event to register for. The Debugger maintains a list of BroadcastEventSpec's and when it is made
Definition at line 40 of file Broadcaster.h.
|
inline |
Definition at line 42 of file Broadcaster.h.
|
default |
|
inline |
Definition at line 47 of file Broadcaster.h.
References m_broadcaster_class.
Referenced by IsContainedIn(), operator<(), lldb_private::BroadcasterManager::RegisterListenerForEventsNoLock(), and lldb_private::BroadcasterManager::UnregisterListenerForEventsNoLock().
|
inline |
Definition at line 49 of file Broadcaster.h.
References m_event_bits.
Referenced by IsContainedIn(), operator<(), lldb_private::BroadcasterManager::RegisterListenerForEventsNoLock(), and lldb_private::BroadcasterManager::UnregisterListenerForEventsNoLock().
|
inline |
Tell whether this BroadcastEventSpec is contained in in_spec.
That is: (a) the two spec's share the same broadcaster class (b) the event bits of this spec are wholly contained in those of in_spec.
Definition at line 54 of file Broadcaster.h.
References GetBroadcasterClass(), GetEventBits(), m_broadcaster_class, and m_event_bits.
bool BroadcastEventSpec::operator< | ( | const BroadcastEventSpec & | rhs | ) | const |
Definition at line 381 of file Broadcaster.cpp.
References GetBroadcasterClass(), lldb_private::Broadcaster::GetBroadcasterClass(), and GetEventBits().
|
private |
Definition at line 70 of file Broadcaster.h.
Referenced by GetBroadcasterClass(), and IsContainedIn().
|
private |
Definition at line 71 of file Broadcaster.h.
Referenced by GetEventBits(), and IsContainedIn().