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

lldb::BroadcastEventSpec More...

#include <Broadcaster.h>

Public Member Functions

 BroadcastEventSpec (const ConstString &broadcaster_class, uint32_t event_bits)
 ~BroadcastEventSpec ()=default
ConstString 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

ConstString m_broadcaster_class
uint32_t m_event_bits

Detailed Description


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.

Constructor & Destructor Documentation

◆ BroadcastEventSpec()

lldb_private::BroadcastEventSpec::BroadcastEventSpec ( const ConstString broadcaster_class,
uint32_t  event_bits 

Definition at line 42 of file Broadcaster.h.

◆ ~BroadcastEventSpec()

lldb_private::BroadcastEventSpec::~BroadcastEventSpec ( )

Member Function Documentation

◆ GetBroadcasterClass()

ConstString lldb_private::BroadcastEventSpec::GetBroadcasterClass ( ) const

◆ GetEventBits()

uint32_t lldb_private::BroadcastEventSpec::GetEventBits ( ) const

◆ IsContainedIn()

bool lldb_private::BroadcastEventSpec::IsContainedIn ( const BroadcastEventSpec in_spec) const

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.

◆ operator<()

bool BroadcastEventSpec::operator< ( const BroadcastEventSpec rhs) const

Member Data Documentation

◆ m_broadcaster_class

ConstString lldb_private::BroadcastEventSpec::m_broadcaster_class

Definition at line 70 of file Broadcaster.h.

Referenced by GetBroadcasterClass(), and IsContainedIn().

◆ m_event_bits

uint32_t lldb_private::BroadcastEventSpec::m_event_bits

Definition at line 71 of file Broadcaster.h.

Referenced by GetEventBits(), and IsContainedIn().

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