LLDB  mainline
Public Member Functions | Protected Member Functions | Friends | List of all members
lldb::SBBroadcaster Class Reference

#include <SBBroadcaster.h>

Public Member Functions

 SBBroadcaster ()
 
 SBBroadcaster (const char *name)
 
 SBBroadcaster (const SBBroadcaster &rhs)
 
const SBBroadcasteroperator= (const SBBroadcaster &rhs)
 
 ~SBBroadcaster ()
 
 operator bool () const
 
bool IsValid () const
 
void Clear ()
 
void BroadcastEventByType (uint32_t event_type, bool unique=false)
 
void BroadcastEvent (const lldb::SBEvent &event, bool unique=false)
 
void AddInitialEventsToListener (const lldb::SBListener &listener, uint32_t requested_events)
 
uint32_t AddListener (const lldb::SBListener &listener, uint32_t event_mask)
 
const char * GetName () const
 
bool EventTypeHasListeners (uint32_t event_type)
 
bool RemoveListener (const lldb::SBListener &listener, uint32_t event_mask=UINT32_MAX)
 
bool operator== (const lldb::SBBroadcaster &rhs) const
 
bool operator!= (const lldb::SBBroadcaster &rhs) const
 
bool operator< (const lldb::SBBroadcaster &rhs) const
 

Protected Member Functions

 SBBroadcaster (lldb_private::Broadcaster *broadcaster, bool owns)
 
lldb_private::Broadcasterget () const
 
void reset (lldb_private::Broadcaster *broadcaster, bool owns)
 

Friends

class SBCommandInterpreter
 
class SBCommunication
 
class SBEvent
 
class SBListener
 
class SBProcess
 
class SBTarget
 

Detailed Description

Definition at line 16 of file SBBroadcaster.h.

Constructor & Destructor Documentation

◆ SBBroadcaster() [1/4]

SBBroadcaster::SBBroadcaster ( )

Definition at line 19 of file SBBroadcaster.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBBroadcaster() [2/4]

SBBroadcaster::SBBroadcaster ( const char *  name)

Definition at line 23 of file SBBroadcaster.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBBroadcaster() [3/4]

SBBroadcaster::SBBroadcaster ( const SBBroadcaster rhs)

Definition at line 34 of file SBBroadcaster.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ ~SBBroadcaster()

SBBroadcaster::~SBBroadcaster ( )

Definition at line 51 of file SBBroadcaster.cpp.

References reset().

◆ SBBroadcaster() [4/4]

SBBroadcaster::SBBroadcaster ( lldb_private::Broadcaster broadcaster,
bool  owns 
)
protected

Definition at line 30 of file SBBroadcaster.cpp.

Member Function Documentation

◆ AddInitialEventsToListener()

void SBBroadcaster::AddInitialEventsToListener ( const lldb::SBListener listener,
uint32_t  requested_events 
)

◆ AddListener()

uint32_t SBBroadcaster::AddListener ( const lldb::SBListener listener,
uint32_t  event_mask 
)

◆ BroadcastEvent()

void SBBroadcaster::BroadcastEvent ( const lldb::SBEvent event,
bool  unique = false 
)

◆ BroadcastEventByType()

void SBBroadcaster::BroadcastEventByType ( uint32_t  event_type,
bool  unique = false 
)

◆ Clear()

void SBBroadcaster::Clear ( )

◆ EventTypeHasListeners()

bool SBBroadcaster::EventTypeHasListeners ( uint32_t  event_type)

◆ get()

Broadcaster * SBBroadcaster::get ( ) const
protected

◆ GetName()

const char * SBBroadcaster::GetName ( ) const

◆ IsValid()

bool SBBroadcaster::IsValid ( ) const

◆ operator bool()

SBBroadcaster::operator bool ( ) const
explicit

Definition at line 144 of file SBBroadcaster.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator!=()

bool SBBroadcaster::operator!= ( const lldb::SBBroadcaster rhs) const

Definition at line 164 of file SBBroadcaster.cpp.

References LLDB_RECORD_METHOD_CONST.

◆ operator<()

bool SBBroadcaster::operator< ( const lldb::SBBroadcaster rhs) const

Definition at line 171 of file SBBroadcaster.cpp.

References LLDB_RECORD_METHOD_CONST.

◆ operator=()

const SBBroadcaster & SBBroadcaster::operator= ( const SBBroadcaster rhs)

Definition at line 39 of file SBBroadcaster.cpp.

References LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

◆ operator==()

bool SBBroadcaster::operator== ( const lldb::SBBroadcaster rhs) const

Definition at line 157 of file SBBroadcaster.cpp.

References LLDB_RECORD_METHOD_CONST.

◆ RemoveListener()

bool SBBroadcaster::RemoveListener ( const lldb::SBListener listener,
uint32_t  event_mask = UINT32_MAX 
)

◆ reset()

void SBBroadcaster::reset ( lldb_private::Broadcaster broadcaster,
bool  owns 
)
protected

Definition at line 132 of file SBBroadcaster.cpp.

Referenced by lldb::SBEvent::GetBroadcaster(), and ~SBBroadcaster().

Friends And Related Function Documentation

◆ SBCommandInterpreter

friend class SBCommandInterpreter
friend

Definition at line 64 of file SBBroadcaster.h.

◆ SBCommunication

friend class SBCommunication
friend

Definition at line 65 of file SBBroadcaster.h.

◆ SBEvent

friend class SBEvent
friend

Definition at line 66 of file SBBroadcaster.h.

◆ SBListener

friend class SBListener
friend

Definition at line 67 of file SBBroadcaster.h.

◆ SBProcess

friend class SBProcess
friend

Definition at line 68 of file SBBroadcaster.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 69 of file SBBroadcaster.h.


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