Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QLibraryStore Class Reference
+ Collaboration diagram for QLibraryStore:

Public Member Functions

 ~QLibraryStore ()
 

Static Public Member Functions

static QLibraryPrivatefindOrCreate (const QString &fileName, const QString &version, QLibrary::LoadHints loadHints)
 
static void releaseLibrary (QLibraryPrivate *lib)
 
static void cleanup ()
 

Detailed Description

Definition at line 312 of file qlibrary.cpp.

Constructor & Destructor Documentation

◆ ~QLibraryStore()

QLibraryStore::~QLibraryStore ( )
inline

Definition at line 333 of file qlibrary.cpp.

References qt_library_data.

Member Function Documentation

◆ cleanup()

void QLibraryStore::cleanup ( )
inlinestatic

Definition at line 338 of file qlibrary.cpp.

References QLibraryPrivate::NoUnloadSys, Q_ASSERT, qDebug, and qt_library_data.

Referenced by qlibraryCleanup().

+ Here is the caller graph for this function:

◆ findOrCreate()

QLibraryPrivate * QLibraryStore::findOrCreate ( const QString & fileName,
const QString & version,
QLibrary::LoadHints loadHints )
inlinestatic

Definition at line 393 of file qlibrary.cpp.

References fileName, QString::isEmpty(), Q_UNLIKELY, qt_library_mutex, QBasicAtomicInteger< T >::ref(), and QMutexLocker< Mutex >::unlock().

Referenced by QLibraryPrivate::findOrCreate().

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

◆ releaseLibrary()

void QLibraryStore::releaseLibrary ( QLibraryPrivate * lib)
inlinestatic

Definition at line 427 of file qlibrary.cpp.

References QBasicAtomicInteger< T >::deref(), erase_if(), q20::erase_if(), QLibraryPrivate::fileName, QString::isEmpty(), QBasicAtomicInteger< T >::loadRelaxed(), Q_ASSERT, Q_ASSERT_X, Q_LIKELY, Q_UNUSED, and qt_library_mutex.

Referenced by QLibraryPrivate::release().

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

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