Struct lldb::SBBroadcaster
[−]
[src]
pub struct SBBroadcaster { pub raw: SBBroadcasterRef, }
An entity which can broadcast events.
A default broadcaster is associated with an SBCommandInterpreter
,
SBProcess
, and SBTarget
.
Use an SBListener
to listen for events.
Fields
raw: SBBroadcasterRef
The underlying raw SBBroadcasterRef
.
Methods
impl SBBroadcaster
[src]
fn new() -> SBBroadcaster
[src]
Construct a new SBBroadcaster
.
fn wrap(raw: SBBroadcasterRef) -> SBBroadcaster
[src]
Construct a new SBBroadcaster
.
fn maybe_wrap(raw: SBBroadcasterRef) -> Option<SBBroadcaster>
[src]
Construct a new Some(SBBroadcaster)
or None
.
fn is_valid(&self) -> bool
[src]
Check whether or not this is a valid SBBroadcaster
value.
fn broadcast_event_by_type(&self, event_type: u32, unique: bool)
[src]
fn broadcast_event(&self, event: &SBEvent, unique: bool)
[src]
fn add_initial_events_to_listener(
&self,
listener: &SBListener,
requested_events: u32
)
[src]
&self,
listener: &SBListener,
requested_events: u32
)
fn add_listener(&self, listener: &SBListener, event_mask: u32) -> u32
[src]
fn event_type_has_listeners(&self, event_type: u32) -> bool
[src]
fn remove_listener(&self, listener: &SBListener, event_mask: u32) -> bool
[src]
Trait Implementations
impl Debug for SBBroadcaster
[src]
impl Default for SBBroadcaster
[src]
fn default() -> SBBroadcaster
[src]
Returns the "default value" for a type. Read more