Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
Registrar Class Reference

Base class for registration callback. Audacity will call providers RegisterNameOfThing() functions with an &Registrar as the argument. RegisterNameOfThing() is then responsible for calling the appropriate callback functions. More...

#include <Registrar.h>

Public Member Functions

 Registrar ()
 
virtual void AddCommandType (std::unique_ptr< ComponentInterface > &&WXUNUSED(comDef))
 
virtual void AddCommand (std::unique_ptr< AudacityCommand > &&WXUNUSED(command))
 
virtual void AddModule (std::unique_ptr< LoadableModule > &&WXUNUSED(module))
 
virtual void AddEffect (std::unique_ptr< Effect > &&WXUNUSED(effect))
 

Public Attributes

bool bWantsModules
 
bool bWantsCommands
 
bool bWantsCommandTypes
 
bool bWantsEffects
 

Detailed Description

Base class for registration callback. Audacity will call providers RegisterNameOfThing() functions with an &Registrar as the argument. RegisterNameOfThing() is then responsible for calling the appropriate callback functions.

Definition at line 32 of file Registrar.h.

Constructor & Destructor Documentation

◆ Registrar()

Registrar::Registrar ( )
inline

Definition at line 35 of file Registrar.h.

35 {
36 bWantsModules = false;
37 bWantsCommands= false;
38 bWantsCommandTypes= false;
39 bWantsEffects= false;
40 }
bool bWantsCommands
Definition: Registrar.h:42
bool bWantsModules
Definition: Registrar.h:41
bool bWantsEffects
Definition: Registrar.h:44
bool bWantsCommandTypes
Definition: Registrar.h:43

Member Function Documentation

◆ AddCommand()

virtual void Registrar::AddCommand ( std::unique_ptr< AudacityCommand > &&  WXUNUSEDcommand)
inlinevirtual

Definition at line 46 of file Registrar.h.

46{;};

Referenced by RegisterCompareAudio().

Here is the caller graph for this function:

◆ AddCommandType()

virtual void Registrar::AddCommandType ( std::unique_ptr< ComponentInterface > &&  WXUNUSEDcomDef)
inlinevirtual

Definition at line 45 of file Registrar.h.

45{;};

◆ AddEffect()

virtual void Registrar::AddEffect ( std::unique_ptr< Effect > &&  WXUNUSEDeffect)
inlinevirtual

Definition at line 48 of file Registrar.h.

48{;};

◆ AddModule()

virtual void Registrar::AddModule ( std::unique_ptr< LoadableModule > &&  WXUNUSEDmodule)
inlinevirtual

Definition at line 47 of file Registrar.h.

47{;};

Member Data Documentation

◆ bWantsCommands

bool Registrar::bWantsCommands

Definition at line 42 of file Registrar.h.

◆ bWantsCommandTypes

bool Registrar::bWantsCommandTypes

Definition at line 43 of file Registrar.h.

◆ bWantsEffects

bool Registrar::bWantsEffects

Definition at line 44 of file Registrar.h.

◆ bWantsModules

bool Registrar::bWantsModules

Definition at line 41 of file Registrar.h.


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