Guitarix
gx_engine::BaseConvolver Class Referenceabstract

#include <gx_internal_plugins.h>

Inheritance diagram for gx_engine::BaseConvolver:
Collaboration diagram for gx_engine::BaseConvolver:

Public Member Functions

 BaseConvolver (EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
 
virtual ~BaseConvolver ()
 
void set_sync (bool val)
 

Public Attributes

Plugin plugin
 

Protected Member Functions

void change_buffersize (unsigned int)
 
int conv_start ()
 
bool check_update_timeout ()
 
virtual void check_update ()=0
 
virtual bool start (bool force=false)=0
 

Static Protected Member Functions

static void init (unsigned int samplingFreq, PluginDef *p)
 
static int activate (bool start, PluginDef *pdef)
 

Protected Attributes

GxSimpleConvolver conv
 
boost::mutex activate_mutex
 
EngineControlengine
 
sigc::slot< void > sync
 
bool activated
 
sigc::connection update_conn
 
- Protected Attributes inherited from PluginDef
int version
 
int flags
 
const char * id
 
const char * name
 
const char ** groups
 
const char * description
 
const char * category
 
const char * shortname
 
process_mono_audio mono_audio
 
process_stereo_audio stereo_audio
 
inifunc set_samplerate
 
activatefunc activate_plugin
 
registerfunc register_params
 
uiloader load_ui
 
clearstatefunc clear_state
 
deletefunc delete_instance
 

Detailed Description

Definition at line 411 of file gx_internal_plugins.h.

Constructor & Destructor Documentation

gx_engine::BaseConvolver::BaseConvolver ( EngineControl engine,
sigc::slot< void >  sync,
gx_resample::BufferResampler resamp 
)

Definition at line 605 of file gx_internal_plugins.cpp.

gx_engine::BaseConvolver::~BaseConvolver ( )
virtual

Definition at line 621 of file gx_internal_plugins.cpp.

Member Function Documentation

int gx_engine::BaseConvolver::activate ( bool  start,
PluginDef pdef 
)
staticprotected

Definition at line 654 of file gx_internal_plugins.cpp.

Referenced by BaseConvolver().

void gx_engine::BaseConvolver::change_buffersize ( unsigned int  bufsize)
protected

Definition at line 625 of file gx_internal_plugins.cpp.

Referenced by BaseConvolver().

virtual void gx_engine::BaseConvolver::check_update ( )
protectedpure virtual

Referenced by check_update_timeout().

bool gx_engine::BaseConvolver::check_update_timeout ( )
protected

Definition at line 646 of file gx_internal_plugins.cpp.

Referenced by activate().

void gx_engine::BaseConvolver::init ( unsigned int  samplingFreq,
PluginDef p 
)
staticprotected

Definition at line 637 of file gx_internal_plugins.cpp.

Referenced by BaseConvolver().

void gx_engine::BaseConvolver::set_sync ( bool  val)
inline

Definition at line 431 of file gx_internal_plugins.h.

virtual bool gx_engine::BaseConvolver::start ( bool  force = false)
protectedpure virtual

Referenced by activate(), and change_buffersize().

Member Data Documentation

boost::mutex gx_engine::BaseConvolver::activate_mutex
protected

Definition at line 414 of file gx_internal_plugins.h.

Referenced by activate(), change_buffersize(), and init().

bool gx_engine::BaseConvolver::activated
protected

Definition at line 417 of file gx_internal_plugins.h.

Referenced by activate(), change_buffersize(), check_update_timeout(), and init().

GxSimpleConvolver gx_engine::BaseConvolver::conv
protected

Definition at line 413 of file gx_internal_plugins.h.

Plugin gx_engine::BaseConvolver::plugin

Definition at line 427 of file gx_internal_plugins.h.

Referenced by gx_engine::GxEngine::~GxEngine().

sigc::slot<void> gx_engine::BaseConvolver::sync
protected
sigc::connection gx_engine::BaseConvolver::update_conn
protected

Definition at line 418 of file gx_internal_plugins.h.

Referenced by ~BaseConvolver().


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