Module loop_

Source
Expand description

The PipeWire event loop responsible for listening to and handling events.

For a wrapper that continuously runs a loop in the current thread, see main_loop.

This module contains wrappers for pw_loop and related items.

Structs§

EventSource
A source that can be used to signal to a loop that an event has occurred.
IdleSource
A source that can be used to have a callback called when the loop is idle.
IoSource
A source that can be used to react to IO events.
Loop
Transparent wrapper around a loop.
LoopBox
Smart pointer providing unique ownership of a PipeWire loop.
LoopRc
Reference counting smart pointer providing shared ownership of a PipeWire loop.
LoopWeak
Non-owning reference to a loop managed by LoopRc.
Signal
A signal number for use with kill_process, kill_process_group, and kill_current_process_group.
SignalSource
A source that can be used to react to signals.
TimerSource
A source that can be used to have a callback called on a timer.

Enums§

Timeout
Timeout for Loop::iterate()

Traits§

IsLoopRc
Trait implemented by objects that implement a pw_loop and are reference counted in some way.
IsSource