Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::plugins::scanner_private::Worker Class Referencefinal

A worker thread for the PluginScanManager class. More...

#include <src/plugins/plugin_scan_manager.h>

Inheritance diagram for zrythm::plugins::scanner_private::Worker:
Collaboration diagram for zrythm::plugins::scanner_private::Worker:

Public Member Functions

 Worker (PluginScanManager &scanner_)
 Constructs a new Worker instance.
Q_SLOT void process ()
 Starts the plugin scanning process.
void requestStop ()
 Request the worker to stop gracefully.
Q_SIGNAL void finished ()
 Emitted when the scanning process has finished.

Detailed Description

A worker thread for the PluginScanManager class.

This class is responsible for performing the actual plugin scanning in a separate thread, to avoid blocking the main thread.

Definition at line 70 of file plugin_scan_manager.h.

Constructor & Destructor Documentation

◆ Worker()

zrythm::plugins::scanner_private::Worker::Worker ( PluginScanManager & scanner_)

Constructs a new Worker instance.

Parameters
scannerThe PluginScanManager instance to work with.

Member Function Documentation

◆ finished()

Q_SIGNAL void zrythm::plugins::scanner_private::Worker::finished ( )

Emitted when the scanning process has finished.

This signal is connected to the PluginScanManager class to notify it that the scanning is complete.

◆ process()

Q_SLOT void zrythm::plugins::scanner_private::Worker::process ( )

Starts the plugin scanning process.

This slot is called from the PluginScanManager class to initiate the scanning process in the worker thread.


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