JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::KnownPluginList::CustomScanner Class Referenceabstract

Class to define a custom plugin scanner. More...

#include <juce_KnownPluginList.h>

Public Member Functions

 CustomScanner ()
 
virtual ~CustomScanner ()
 
virtual bool findPluginTypesFor (AudioPluginFormat &format, OwnedArray< PluginDescription > &result, const String &fileOrIdentifier)=0
 Attempts to load the given file and find a list of plugins in it. More...
 
virtual void scanFinished ()
 Called when a scan has finished, to allow clean-up of resources. More...
 
bool shouldExit () const noexcept
 Returns true if the current scan should be abandoned. More...
 

Detailed Description

Class to define a custom plugin scanner.

Constructor & Destructor Documentation

◆ CustomScanner()

juce::KnownPluginList::CustomScanner::CustomScanner ( )

◆ ~CustomScanner()

virtual juce::KnownPluginList::CustomScanner::~CustomScanner ( )
virtual

Member Function Documentation

◆ findPluginTypesFor()

virtual bool juce::KnownPluginList::CustomScanner::findPluginTypesFor ( AudioPluginFormat format,
OwnedArray< PluginDescription > &  result,
const String fileOrIdentifier 
)
pure virtual

Attempts to load the given file and find a list of plugins in it.

Returns
true if the plugin loaded, false if it crashed

◆ scanFinished()

virtual void juce::KnownPluginList::CustomScanner::scanFinished ( )
virtual

Called when a scan has finished, to allow clean-up of resources.

◆ shouldExit()

bool juce::KnownPluginList::CustomScanner::shouldExit ( ) const
noexcept

Returns true if the current scan should be abandoned.

Any blocking methods should check this value repeatedly and return if if becomes true.


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