Qt 6.x
The Qt SDK
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 311 of file qlibrary.cpp.

Constructor & Destructor Documentation

◆ ~QLibraryStore()

QLibraryStore::~QLibraryStore ( )
inline

Definition at line 332 of file qlibrary.cpp.

References qt_library_data.

Member Function Documentation

◆ cleanup()

void QLibraryStore::cleanup ( )
inlinestatic

Definition at line 337 of file qlibrary.cpp.

References QSet< T >::begin(), QSet< T >::end(), it, QBasicAtomicInteger< T >::loadRelaxed(), QBasicAtomicPointer< X >::loadRelaxed(), QLibraryPrivate::NoUnloadSys, QLibraryPrivate::pHnd, Q_ASSERT, qDebug, qt_library_data, QBasicAtomicInteger< T >::storeRelaxed(), and QLibraryPrivate::unload().

Referenced by qlibraryCleanup().

+ Here is the call graph for this function:
+ 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 395 of file qlibrary.cpp.

References fileName, QString::isEmpty(), Q_LIKELY, qt_library_mutex, and QBasicAtomicInteger< T >::ref().

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 421 of file qlibrary.cpp.

References QBasicAtomicInteger< T >::deref(), erase_if(), QLibraryPrivate::fileName, QString::isEmpty(), it, 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: