KnownPluginList::CustomScanner Class Referenceabstract

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...
 

Constructor & Destructor Documentation

◆ CustomScanner()

KnownPluginList::CustomScanner::CustomScanner ( )

◆ ~CustomScanner()

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

Member Function Documentation

◆ findPluginTypesFor()

virtual bool 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 KnownPluginList::CustomScanner::scanFinished ( )
virtual

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

◆ shouldExit()

bool 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: