Developer Documentation
Loading...
Searching...
No Matches
PreloadThread Class Reference
Inheritance diagram for PreloadThread:

Public Member Functions

 PreloadThread (PreloadAggregator *aggregator)
 Preload thread constructor.
 
void addFilename (const QString &filename)
 
void run ()
 preload function
 

Private Attributes

std::deque< QString > filenames_
 
QMutex filenamesMutex_
 
PreloadAggregatoraggregator_
 

Detailed Description

Definition at line 164 of file PluginLoader.cc.

Constructor & Destructor Documentation

◆ PreloadThread()

PreloadThread::PreloadThread ( PreloadAggregator aggregator)
inlineexplicit

Preload thread constructor.

This constructor initializes the preloading thread.

Parameters
aggregatoraggregator managing the different threads

Definition at line 174 of file PluginLoader.cc.

Member Function Documentation

◆ addFilename()

void PreloadThread::addFilename ( const QString &  filename)
inline

Definition at line 179 of file PluginLoader.cc.

◆ run()

void PreloadThread::run ( )
inline

preload function

This function is used in the thread to preload a plugin. The name is given in the constructor.

Definition at line 189 of file PluginLoader.cc.

Member Data Documentation

◆ aggregator_

PreloadAggregator* PreloadThread::aggregator_
private

Definition at line 214 of file PluginLoader.cc.

◆ filenames_

std::deque<QString> PreloadThread::filenames_
private

Definition at line 212 of file PluginLoader.cc.

◆ filenamesMutex_

QMutex PreloadThread::filenamesMutex_
private

Definition at line 213 of file PluginLoader.cc.


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