Developer Documentation
|
Public Member Functions | |
void | expectLoaders (int count) |
void | loaderReady (QPluginLoader *loader) |
QPluginLoader * | waitForNextLoader () |
Protected Attributes | |
std::deque< QPluginLoader * > | loaders_ |
QWaitCondition | pluginAvailable_ |
QMutex | loadersMutex_ |
int | expectedLoaders_ |
Definition at line 95 of file PluginLoader.cc.
|
inline |
Intended to be called by a PreloadThread before count subsequent calls to loaderReady(). May be called multiple times in which case the counts accumulate.
count | The number of times the calling PreloadThread intents to call loaderReady(). |
Definition at line 108 of file PluginLoader.cc.
|
inline |
Intended to be called by a PreloadThread.
Transfers ownership of the supplied loader to the PreloadAggregator.
Definition at line 119 of file PluginLoader.cc.
|
inline |
If there are still loaders expected, block until the next loader becomes available and return it.
Ownership of the returned object is transferred to the caller. (I.e. the caller has to delete it.)
Definition at line 137 of file PluginLoader.cc.