Photosine 0.5
Loading...
Searching...
No Matches
PluginScanning::PluginScannerSubprocessThread Class Reference

#include <PluginScannerSubprocess.h>

Inheritance diagram for PluginScanning::PluginScannerSubprocessThread:

Public Member Functions

 PluginScannerSubprocessThread ()
void run ()

Public Attributes

juce::String pluginLocationString
juce::String pluginFormat
juce::OwnedArray< juce::PluginDescription > pluginDescriptions

Detailed Description

Thread used to get the PluginDescription from a path and format type. Responsible for calling juce PluginFormat getAllTypesForFile() on the location and plugin format supplied to it. This thread is created by each child process on a per-plugin basis.

This is done in this thread because getAllTypesForFile() has a tendency to deadlock on bad plugins and we want to put a timeout on it.

Constructor & Destructor Documentation

◆ PluginScannerSubprocessThread()

PluginScanning::PluginScannerSubprocessThread::PluginScannerSubprocessThread ( )

Member Function Documentation

◆ run()

void PluginScanning::PluginScannerSubprocessThread::run ( )

Checks which format has been supplied (AU/VST3) in pluginFormat and uses that format to find a PluginDescription from a location string, populating pluginDescriptions with all found types.

Member Data Documentation

◆ pluginDescriptions

juce::OwnedArray<juce::PluginDescription> PluginScanning::PluginScannerSubprocessThread::pluginDescriptions

◆ pluginFormat

juce::String PluginScanning::PluginScannerSubprocessThread::pluginFormat

◆ pluginLocationString

juce::String PluginScanning::PluginScannerSubprocessThread::pluginLocationString

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