PulseAudioQt::PAOperation
PulseAudioQt::PAOperation Class Reference
#include <operation.h>
Public Member Functions | |
PAOperation (pa_operation *operation=nullptr) | |
operator bool () | |
bool | operator! () |
pa_operation *& | operator* () |
PAOperation & | operator= (pa_operation *operation) |
Detailed Description
The PAOperation class Helps with management of pa_operations.
pa_operations need to be expicitly unref'd after use, so this class is essentially a fancy scoping helper where destruction of an instance would also unref the held operation (if there is one).
Definition at line 21 of file operation.h.
Constructor & Destructor Documentation
◆ PAOperation()
PulseAudioQt::PAOperation::PAOperation | ( | pa_operation * | operation = nullptr | ) |
- Parameters
-
operation operation to manage the scope of
Definition at line 11 of file operation.cpp.
Member Function Documentation
◆ operator bool()
PulseAudioQt::PAOperation::operator bool | ( | ) |
operator bool representing whether there is an operation
Definition at line 39 of file operation.cpp.
◆ operator!()
bool PulseAudioQt::PAOperation::operator! | ( | ) |
operator !
- Returns
- whether or not there is an operation pointer
Definition at line 29 of file operation.cpp.
◆ operator*()
pa_operation *& PulseAudioQt::PAOperation::operator* | ( | ) |
operator *
- Returns
- pointer to internal pa_operation object
Definition at line 34 of file operation.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Mar 21 2023 04:06:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Mar 21 2023 04:06:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.