Audacity 3.2.0
Public Member Functions | List of all members
PluginProviderDeleter Struct Reference

#include <ModuleManager.h>

Public Member Functions

void operator() (PluginProvider *pInterface) const
 

Detailed Description

Definition at line 61 of file ModuleManager.h.

Member Function Documentation

◆ operator()()

void PluginProviderDeleter::operator() ( PluginProvider pInterface) const

Definition at line 478 of file ModuleManager.cpp.

479{
480 if (pInterface)
481 {
482 pInterface->Terminate();
483 std::unique_ptr < PluginProvider > { pInterface }; // DELETE it
484 }
485}
virtual void Terminate()=0
Called just prior to deletion to allow releasing any resources.

References PluginProvider::Terminate().

Here is the call graph for this function:

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