Guitarix
gx_engine::LadspaLoader Class Reference

#include <gx_internal_plugins.h>

Public Types

typedef std::vector< plugdesc * > pluginarray
 

Public Member Functions

 LadspaLoader (const gx_system::CmdlineOptions &options, ParamMap &param)
 
 ~LadspaLoader ()
 
bool load (pluginarray &p)
 
unsigned int size ()
 
PluginDefcreate (unsigned int idx)
 
PluginDefcreate (const plugdesc *p)
 
pluginarray::iterator begin ()
 
pluginarray::iterator end ()
 
pluginarray::iterator find (plugdesc *desc)
 
void clear_list ()
 
void set_plugins (pluginarray &new_plugins)
 
void update_instance (PluginDef *pdef, plugdesc *pdesc)
 
ParamMapget_parameter_map () const
 

Static Public Member Functions

static std::string get_ladspa_filename (unsigned long uid)
 
static std::string get_ladspa_filename (std::string uid_key)
 

Private Member Functions

void read_module_config (const std::string &filename, plugdesc *p)
 
void read_module_list (pluginarray &p)
 

Private Attributes

const gx_system::CmdlineOptionsoptions
 
pluginarray plugins
 
LilvWorld * world
 
ParamMapparam
 
const LilvPlugins * lv2_plugins
 
LilvNode * lv2_AudioPort
 
LilvNode * lv2_ControlPort
 
LilvNode * lv2_InputPort
 
LilvNode * lv2_OutputPort
 
LilvNode * lv2_AtomPort
 

Friends

class Lv2Dsp
 

Detailed Description

Definition at line 704 of file gx_internal_plugins.h.

Member Typedef Documentation

◆ pluginarray

Definition at line 706 of file gx_internal_plugins.h.

Constructor & Destructor Documentation

◆ LadspaLoader()

gx_engine::LadspaLoader::LadspaLoader ( const gx_system::CmdlineOptions options,
ParamMap param 
)

◆ ~LadspaLoader()

gx_engine::LadspaLoader::~LadspaLoader ( )

Member Function Documentation

◆ begin()

pluginarray::iterator gx_engine::LadspaLoader::begin ( )
inline

Definition at line 728 of file gx_internal_plugins.h.

◆ clear_list()

void gx_engine::LadspaLoader::clear_list ( )

◆ create() [1/2]

PluginDef * gx_engine::LadspaLoader::create ( const plugdesc p)

◆ create() [2/2]

PluginDef * gx_engine::LadspaLoader::create ( unsigned int  idx)
inline

Definition at line 726 of file gx_internal_plugins.h.

Referenced by create().

◆ end()

pluginarray::iterator gx_engine::LadspaLoader::end ( )
inline

Definition at line 729 of file gx_internal_plugins.h.

◆ find()

pluginarray::iterator gx_engine::LadspaLoader::find ( plugdesc desc)

◆ get_ladspa_filename() [1/2]

static std::string gx_engine::LadspaLoader::get_ladspa_filename ( std::string  uid_key)
inlinestatic

Definition at line 736 of file gx_internal_plugins.h.

◆ get_ladspa_filename() [2/2]

static std::string gx_engine::LadspaLoader::get_ladspa_filename ( unsigned long  uid)
inlinestatic

Definition at line 734 of file gx_internal_plugins.h.

◆ get_parameter_map()

ParamMap & gx_engine::LadspaLoader::get_parameter_map ( ) const
inline

Definition at line 738 of file gx_internal_plugins.h.

◆ load()

bool gx_engine::LadspaLoader::load ( pluginarray p)

◆ read_module_config()

void gx_engine::LadspaLoader::read_module_config ( const std::string &  filename,
plugdesc p 
)
private

◆ read_module_list()

void gx_engine::LadspaLoader::read_module_list ( pluginarray p)
private

◆ set_plugins()

void gx_engine::LadspaLoader::set_plugins ( pluginarray new_plugins)

◆ size()

unsigned int gx_engine::LadspaLoader::size ( void  )
inline

Definition at line 725 of file gx_internal_plugins.h.

◆ update_instance()

void gx_engine::LadspaLoader::update_instance ( PluginDef pdef,
plugdesc pdesc 
)

Friends And Related Function Documentation

◆ Lv2Dsp

friend class Lv2Dsp
friend

Definition at line 739 of file gx_internal_plugins.h.

Member Data Documentation

◆ lv2_AtomPort

LilvNode* gx_engine::LadspaLoader::lv2_AtomPort
private

Definition at line 717 of file gx_internal_plugins.h.

◆ lv2_AudioPort

LilvNode* gx_engine::LadspaLoader::lv2_AudioPort
private

Definition at line 713 of file gx_internal_plugins.h.

◆ lv2_ControlPort

LilvNode* gx_engine::LadspaLoader::lv2_ControlPort
private

Definition at line 714 of file gx_internal_plugins.h.

◆ lv2_InputPort

LilvNode* gx_engine::LadspaLoader::lv2_InputPort
private

Definition at line 715 of file gx_internal_plugins.h.

◆ lv2_OutputPort

LilvNode* gx_engine::LadspaLoader::lv2_OutputPort
private

Definition at line 716 of file gx_internal_plugins.h.

◆ lv2_plugins

const LilvPlugins* gx_engine::LadspaLoader::lv2_plugins
private

Definition at line 712 of file gx_internal_plugins.h.

◆ options

const gx_system::CmdlineOptions& gx_engine::LadspaLoader::options
private

Definition at line 708 of file gx_internal_plugins.h.

◆ param

ParamMap& gx_engine::LadspaLoader::param
private

Definition at line 711 of file gx_internal_plugins.h.

Referenced by get_parameter_map().

◆ plugins

pluginarray gx_engine::LadspaLoader::plugins
private

Definition at line 709 of file gx_internal_plugins.h.

Referenced by begin(), create(), end(), and size().

◆ world

LilvWorld* gx_engine::LadspaLoader::world
private

Definition at line 710 of file gx_internal_plugins.h.


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