#include <PluginParameterBox.h>

Inheritance diagram for PluginParameterBox:
Inheritance graph
Collaboration diagram for PluginParameterBox:
Collaboration graph

Classes

struct  ParamRec
 

Signals

void pluginConfigurationChanged (QString)
 

Public Member Functions

 PluginParameterBox (std::shared_ptr< Vamp::PluginBase >, QWidget *parent=0)
 
 ~PluginParameterBox ()
 
std::shared_ptr< Vamp::PluginBase > getPlugin ()
 

Protected Slots

void dialChanged (int)
 
void spinBoxChanged (double)
 
void checkBoxChanged (int)
 
void programComboChanged (const QString &)
 

Protected Member Functions

void populate ()
 
void updateProgramCombo ()
 

Protected Attributes

QGridLayout * m_layout
 
std::shared_ptr< Vamp::PluginBase > m_plugin
 
QComboBox * m_programCombo
 
std::map< QString, ParamRecm_params
 
std::map< QString, QString > m_nameMap
 
Vamp::PluginBase::ProgramList m_programs
 

Detailed Description

Definition at line 31 of file PluginParameterBox.h.

Constructor & Destructor Documentation

PluginParameterBox::PluginParameterBox ( std::shared_ptr< Vamp::PluginBase >  plugin,
QWidget *  parent = 0 
)

Definition at line 37 of file PluginParameterBox.cpp.

References m_layout, and populate().

PluginParameterBox::~PluginParameterBox ( )

Definition at line 48 of file PluginParameterBox.cpp.

Member Function Documentation

std::shared_ptr<Vamp::PluginBase> PluginParameterBox::getPlugin ( )
inline
void PluginParameterBox::pluginConfigurationChanged ( QString  )
signal
void PluginParameterBox::dialChanged ( int  ival)
protectedslot
void PluginParameterBox::spinBoxChanged ( double  value)
protectedslot
void PluginParameterBox::checkBoxChanged ( int  state)
protectedslot
void PluginParameterBox::programComboChanged ( const QString &  newProgram)
protectedslot

Definition at line 379 of file PluginParameterBox.cpp.

References m_params, m_plugin, and pluginConfigurationChanged().

Referenced by getPlugin(), and populate().

void PluginParameterBox::updateProgramCombo ( )
protected

Definition at line 429 of file PluginParameterBox.cpp.

References m_plugin, m_programCombo, and m_programs.

Referenced by checkBoxChanged(), dialChanged(), getPlugin(), and spinBoxChanged().

Member Data Documentation

QGridLayout* PluginParameterBox::m_layout
protected

Definition at line 55 of file PluginParameterBox.h.

Referenced by PluginParameterBox(), and populate().

std::shared_ptr<Vamp::PluginBase> PluginParameterBox::m_plugin
protected
QComboBox* PluginParameterBox::m_programCombo
protected

Definition at line 66 of file PluginParameterBox.h.

Referenced by populate(), and updateProgramCombo().

std::map<QString, ParamRec> PluginParameterBox::m_params
protected
std::map<QString, QString> PluginParameterBox::m_nameMap
protected

Definition at line 69 of file PluginParameterBox.h.

Referenced by checkBoxChanged(), dialChanged(), populate(), and spinBoxChanged().

Vamp::PluginBase::ProgramList PluginParameterBox::m_programs
protected

Definition at line 70 of file PluginParameterBox.h.

Referenced by populate(), and updateProgramCombo().


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