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::QPipeWireInstance Class Reference

#include <qpipewire_instance_p.h>

Inheritance diagram for QtPipeWire::QPipeWireInstance:
Collaboration diagram for QtPipeWire::QPipeWireInstance:

Public Member Functions

template<typename Closure>
auto runWithEventLoopLock (Closure &&c)
auto eventLoopLock ()
bool isInPwThreadLoop () const
pw_loop * eventLoop () const
PWThreadedEventLooppwEventLoop ()
bool hasScreenCastPortal ()
q23::expected< PwCoreConnectionHandle, std::error_code > connectToDaemon ()
q23::expected< PwCoreConnectionHandle, std::error_code > connectToPortal (int fd)
 ~QPipeWireInstance ()

Static Public Member Functions

static std::shared_ptr< QPipeWireInstance > instance ()
static bool isLoaded ()
static q23::expected< void, std::error_code > hasSPAFactory (const char *factoryName)

Detailed Description

Definition at line 42 of file qpipewire_instance_p.h.

Constructor & Destructor Documentation

◆ ~QPipeWireInstance()

QtPipeWire::QPipeWireInstance::~QPipeWireInstance ( )

Definition at line 186 of file qpipewire_instance.cpp.

Member Function Documentation

◆ connectToDaemon()

q23::expected< PwCoreConnectionHandle, std::error_code > QtPipeWire::QPipeWireInstance::connectToDaemon ( )

Definition at line 132 of file qpipewire_instance.cpp.

◆ connectToPortal()

q23::expected< PwCoreConnectionHandle, std::error_code > QtPipeWire::QPipeWireInstance::connectToPortal ( int fd)

Definition at line 144 of file qpipewire_instance.cpp.

◆ eventLoop()

pw_loop * QtPipeWire::QPipeWireInstance::eventLoop ( ) const

Definition at line 99 of file qpipewire_instance.cpp.

◆ eventLoopLock()

auto QtPipeWire::QPipeWireInstance::eventLoopLock ( )
inline

Definition at line 56 of file qpipewire_instance_p.h.

◆ hasScreenCastPortal()

bool QtPipeWire::QPipeWireInstance::hasScreenCastPortal ( )

Definition at line 124 of file qpipewire_instance.cpp.

◆ hasSPAFactory()

q23::expected< void, std::error_code > QtPipeWire::QPipeWireInstance::hasSPAFactory ( const char * factoryName)
staticnodiscard

Definition at line 79 of file qpipewire_instance.cpp.

◆ instance()

std::shared_ptr< QPipeWireInstance > QtPipeWire::QPipeWireInstance::instance ( )
staticnodiscard

Definition at line 58 of file qpipewire_instance.cpp.

◆ isInPwThreadLoop()

bool QtPipeWire::QPipeWireInstance::isInPwThreadLoop ( ) const

Definition at line 94 of file qpipewire_instance.cpp.

◆ isLoaded()

bool QtPipeWire::QPipeWireInstance::isLoaded ( )
staticnodiscard

Definition at line 70 of file qpipewire_instance.cpp.

◆ pwEventLoop()

PWThreadedEventLoop & QtPipeWire::QPipeWireInstance::pwEventLoop ( )
inline

Definition at line 59 of file qpipewire_instance_p.h.

◆ runWithEventLoopLock()

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

Definition at line 51 of file qpipewire_instance_p.h.


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