Struct lldb::SBListener
[−]
[src]
pub struct SBListener { pub raw: SBListenerRef, }
Listen for debugger events.
Fields
raw: SBListenerRef
The underlying raw SBListenerRef
.
Methods
impl SBListener
[src]
pub fn new() -> SBListener
[src]
Construct a new SBListener
.
pub fn wrap(raw: SBListenerRef) -> SBListener
[src]
Construct a new SBListener
.
pub fn maybe_wrap(raw: SBListenerRef) -> Option<SBListener>
[src]
Construct a new Some(SBListener)
or None
.
pub fn is_valid(&self) -> bool
[src]
Check whether or not this is a valid SBListener
value.
pub fn start_listening_for_event_class(
&self,
debugger: &SBDebugger,
broadcaster_class: &str,
event_mask: u32
) -> u32
[src]
&self,
debugger: &SBDebugger,
broadcaster_class: &str,
event_mask: u32
) -> u32
pub fn stop_listening_for_event_class(
&self,
debugger: &SBDebugger,
broadcaster_class: &str,
event_mask: u32
) -> bool
[src]
&self,
debugger: &SBDebugger,
broadcaster_class: &str,
event_mask: u32
) -> bool
pub fn start_listening_for_events(
&self,
broadcaster: &SBBroadcaster,
event_mask: u32
) -> u32
[src]
&self,
broadcaster: &SBBroadcaster,
event_mask: u32
) -> u32
pub fn stop_listening_for_events(
&self,
broadcaster: &SBBroadcaster,
event_mask: u32
) -> bool
[src]
&self,
broadcaster: &SBBroadcaster,
event_mask: u32
) -> bool
pub fn wait_for_event(&self, num_seconds: u32, event: &mut SBEvent) -> bool
[src]
pub fn wait_for_event_for_broadcaster(
&self,
num_seconds: u32,
broadcaster: &SBBroadcaster,
event: &mut SBEvent
) -> bool
[src]
&self,
num_seconds: u32,
broadcaster: &SBBroadcaster,
event: &mut SBEvent
) -> bool
pub fn wait_for_event_for_broadcaster_with_type(
&self,
num_seconds: u32,
broadcaster: &SBBroadcaster,
event_type_mask: u32,
event: &mut SBEvent
) -> bool
[src]
&self,
num_seconds: u32,
broadcaster: &SBBroadcaster,
event_type_mask: u32,
event: &mut SBEvent
) -> bool
pub fn peek_at_next_event(&self, event: &mut SBEvent) -> bool
[src]
pub fn peek_at_next_event_for_broadcaster(
&self,
broadcaster: &SBBroadcaster,
event: &mut SBEvent
) -> bool
[src]
&self,
broadcaster: &SBBroadcaster,
event: &mut SBEvent
) -> bool
pub fn peek_at_next_event_for_broadcaster_with_type(
&self,
broadcaster: &SBBroadcaster,
event_type_mask: u32,
event: &mut SBEvent
) -> bool
[src]
&self,
broadcaster: &SBBroadcaster,
event_type_mask: u32,
event: &mut SBEvent
) -> bool
pub fn get_next_event(&self, event: &mut SBEvent) -> bool
[src]
pub fn get_next_event_for_broadcaster(
&self,
broadcaster: &SBBroadcaster,
event: &mut SBEvent
) -> bool
[src]
&self,
broadcaster: &SBBroadcaster,
event: &mut SBEvent
) -> bool
pub fn get_next_event_for_broadcaster_with_type(
&self,
broadcaster: &SBBroadcaster,
event_type_mask: u32,
event: &mut SBEvent
) -> bool
[src]
&self,
broadcaster: &SBBroadcaster,
event_type_mask: u32,
event: &mut SBEvent
) -> bool
pub fn handle_broadcast_event(&self, event: &SBEvent) -> bool
[src]
Trait Implementations
impl Debug for SBListener
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for SBListener
[src]
fn default() -> SBListener
[src]
Returns the "default value" for a type. Read more