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
QPulseAudioInternal::PaHandleTraits< TypeArg, RefFn, UnrefFn > Struct Template Reference

#include <qpulsehelpers_p.h>

Collaboration diagram for QPulseAudioInternal::PaHandleTraits< TypeArg, RefFn, UnrefFn >:

Public Types

using Type = TypeArg *

Static Public Member Functions

static constexpr Type invalidValue () noexcept
static Type ref (Type handle)
static bool unref (Type handle)

Detailed Description

template<typename TypeArg, TypeArg *(*)(TypeArg *) RefFn, void(*)(TypeArg *) UnrefFn>
struct QPulseAudioInternal::PaHandleTraits< TypeArg, RefFn, UnrefFn >

Definition at line 37 of file qpulsehelpers_p.h.

Member Typedef Documentation

◆ Type

template<typename TypeArg, TypeArg *(*)(TypeArg *) RefFn, void(*)(TypeArg *) UnrefFn>
using QPulseAudioInternal::PaHandleTraits< TypeArg, RefFn, UnrefFn >::Type = TypeArg *

Definition at line 39 of file qpulsehelpers_p.h.

Member Function Documentation

◆ invalidValue()

template<typename TypeArg, TypeArg *(*)(TypeArg *) RefFn, void(*)(TypeArg *) UnrefFn>
constexpr Type QPulseAudioInternal::PaHandleTraits< TypeArg, RefFn, UnrefFn >::invalidValue ( )
inlinestaticconstexprnoexcept

Definition at line 40 of file qpulsehelpers_p.h.

◆ ref()

template<typename TypeArg, TypeArg *(*)(TypeArg *) RefFn, void(*)(TypeArg *) UnrefFn>
Type QPulseAudioInternal::PaHandleTraits< TypeArg, RefFn, UnrefFn >::ref ( Type handle)
inlinestatic

Definition at line 42 of file qpulsehelpers_p.h.

◆ unref()

template<typename TypeArg, TypeArg *(*)(TypeArg *) RefFn, void(*)(TypeArg *) UnrefFn>
bool QPulseAudioInternal::PaHandleTraits< TypeArg, RefFn, UnrefFn >::unref ( Type handle)
inlinestatic

Definition at line 47 of file qpulsehelpers_p.h.


The documentation for this struct was generated from the following file: