Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtPipeWire::PWThreadedEventLoop Class Reference

#include <qpipewire_support_p.h>

Collaboration diagram for QtPipeWire::PWThreadedEventLoop:

Public Member Functions

 PWThreadedEventLoop (const char *name)
 ~PWThreadedEventLoop ()
 operator bool () const
int start ()
void stop ()
pw_thread_loop * get () const
pw_loop * loop () const
bool isInThread () const
void lock ()
void unlock ()
int wait_for (std::chrono::seconds waitMax)
void signal (bool waitForAccept)
template<typename Closure>
auto runWithEventLoopLock (Closure &&c)

Detailed Description

Definition at line 97 of file qpipewire_support_p.h.

Constructor & Destructor Documentation

◆ PWThreadedEventLoop()

QtPipeWire::PWThreadedEventLoop::PWThreadedEventLoop ( const char * name)
explicit

Definition at line 18 of file qpipewire_support.cpp.

References PWThreadedEventLoop().

Referenced by PWThreadedEventLoop().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~PWThreadedEventLoop()

QtPipeWire::PWThreadedEventLoop::~PWThreadedEventLoop ( )
default

Member Function Documentation

◆ get()

pw_thread_loop * QtPipeWire::PWThreadedEventLoop::get ( ) const

Definition at line 42 of file qpipewire_support.cpp.

◆ isInThread()

bool QtPipeWire::PWThreadedEventLoop::isInThread ( ) const

Definition at line 52 of file qpipewire_support.cpp.

◆ lock()

void QtPipeWire::PWThreadedEventLoop::lock ( )

Definition at line 57 of file qpipewire_support.cpp.

◆ loop()

pw_loop * QtPipeWire::PWThreadedEventLoop::loop ( ) const

Definition at line 47 of file qpipewire_support.cpp.

◆ operator bool()

QtPipeWire::PWThreadedEventLoop::operator bool ( ) const
explicit

Definition at line 27 of file qpipewire_support.cpp.

◆ runWithEventLoopLock()

template<typename Closure>
auto QtPipeWire::PWThreadedEventLoop::runWithEventLoopLock ( Closure && c)
inline

Definition at line 122 of file qpipewire_support_p.h.

◆ signal()

void QtPipeWire::PWThreadedEventLoop::signal ( bool waitForAccept)

Definition at line 72 of file qpipewire_support.cpp.

◆ start()

int QtPipeWire::PWThreadedEventLoop::start ( )

Definition at line 32 of file qpipewire_support.cpp.

◆ stop()

void QtPipeWire::PWThreadedEventLoop::stop ( )

Definition at line 37 of file qpipewire_support.cpp.

◆ unlock()

void QtPipeWire::PWThreadedEventLoop::unlock ( )

Definition at line 62 of file qpipewire_support.cpp.

◆ wait_for()

int QtPipeWire::PWThreadedEventLoop::wait_for ( std::chrono::seconds waitMax)

Definition at line 67 of file qpipewire_support.cpp.


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