Guitarix
gx_plugin.h File Reference
#include "gx_compiler.h"
Include dependency graph for gx_plugin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UiBuilder
 
struct  value_pair
 
struct  ParamReg
 
struct  PluginDef
 

Macros

#define _GX_PLUGIN_H
 
#define UI_NUM_TOP   0x01
 
#define UI_NUM_BOTTOM   0x03
 
#define UI_NUM_LEFT   0x05
 
#define UI_NUM_RIGHT   0x07
 
#define UI_NUM_POSITION_MASK   0x07
 
#define UI_NUM_SHOW_ALWAYS   0x08
 
#define UI_LABEL_INVERSE   0x02
 
#define sw_led   "led"
 
#define sw_switch   "switch"
 
#define sw_switchit   "switchit"
 
#define sw_minitoggle   "minitoggle"
 
#define sw_button   "button"
 
#define sw_pbutton   "pbutton"
 
#define sw_rbutton   "rbutton"
 
#define sw_prbutton   "prbutton"
 
#define sw_fbutton   "fbutton"
 
#define sw_frbutton   "frbutton"
 
#define UI_FORM_STACK   0x01
 
#define UI_FORM_GLADE   0x02
 
#define PLUGINDEF_VERMAJOR_MASK   0xff00
 
#define PLUGINDEF_VERMINOR_MASK   0x00ff
 
#define PLUGINDEF_VERSION   0x0600
 

Typedefs

typedef void(* inifunc) (unsigned int samplingFreq, PluginDef *plugin)
 
typedef int(* activatefunc) (bool start, PluginDef *plugin)
 
typedef void(* clearstatefunc) (PluginDef *plugin)
 
typedef void(* process_mono_audio) (int count, float *input, float *output, PluginDef *plugin)
 
typedef void(* process_stereo_audio) (int count, float *input1, float *input2, float *output1, float *output2, PluginDef *plugin)
 
typedef int(* registerfunc) (const ParamReg &reg)
 
typedef int(* uiloader) (const UiBuilder &builder, int format)
 
typedef void(* deletefunc) (PluginDef *plugin)
 
typedef int(* plugin_inifunc) (unsigned int idx, PluginDef **p)
 

Enumerations

enum  {
  PGN_STEREO = 0x0001, PGN_PRE = 0x0002, PGN_POST = 0x0004, PGN_GUI = 0x0008,
  PGN_POST_PRE = 0x0010, PGN_ALTERNATIVE = 0x0020, PGN_SNOOP = 0x0040, PGN_MODE_NORMAL = 0x0100,
  PGN_MODE_BYPASS = 0x0200, PGN_MODE_MUTE = 0x0400, PGN_FIXED_GUI = 0x0800, PGN_NO_PRESETS = 0x1000
}
 

Macro Definition Documentation

#define _GX_PLUGIN_H

Definition at line 28 of file gx_plugin.h.

#define PLUGINDEF_VERMAJOR_MASK   0xff00

Definition at line 177 of file gx_plugin.h.

Referenced by gx_engine::PluginList::check_version().

#define PLUGINDEF_VERMINOR_MASK   0x00ff

Definition at line 178 of file gx_plugin.h.

Referenced by gx_engine::PluginList::check_version().

#define sw_button   "button"

Definition at line 53 of file gx_plugin.h.

#define sw_fbutton   "fbutton"

Definition at line 57 of file gx_plugin.h.

#define sw_frbutton   "frbutton"

Definition at line 58 of file gx_plugin.h.

#define sw_led   "led"

Definition at line 49 of file gx_plugin.h.

Referenced by gx_gui::StackBoxBuilder::make_rackbox_midi_out().

#define sw_minitoggle   "minitoggle"

Definition at line 52 of file gx_plugin.h.

#define sw_pbutton   "pbutton"

Definition at line 54 of file gx_plugin.h.

#define sw_prbutton   "prbutton"

Definition at line 56 of file gx_plugin.h.

#define sw_rbutton   "rbutton"

Definition at line 55 of file gx_plugin.h.

#define sw_switch   "switch"

Definition at line 50 of file gx_plugin.h.

#define sw_switchit   "switchit"

Definition at line 51 of file gx_plugin.h.

Referenced by gx_gui::StackBoxBuilder::make_rackbox_midi_out().

#define UI_NUM_BOTTOM   0x03

Definition at line 40 of file gx_plugin.h.

#define UI_NUM_LEFT   0x05

Definition at line 41 of file gx_plugin.h.

Referenced by gx_gui::StackBoxBuilder::get_box().

#define UI_NUM_POSITION_MASK   0x07

Definition at line 43 of file gx_plugin.h.

Referenced by gx_gui::StackBoxBuilder::get_box().

#define UI_NUM_RIGHT   0x07

Definition at line 42 of file gx_plugin.h.

Referenced by gx_gui::StackBoxBuilder::get_box().

#define UI_NUM_SHOW_ALWAYS   0x08

Definition at line 44 of file gx_plugin.h.

Referenced by gx_gui::StackBoxBuilder::get_box().

#define UI_NUM_TOP   0x01

Definition at line 39 of file gx_plugin.h.

Referenced by gx_gui::StackBoxBuilder::get_box().

Typedef Documentation

typedef int(* activatefunc) (bool start, PluginDef *plugin)

Definition at line 147 of file gx_plugin.h.

typedef void(* clearstatefunc) (PluginDef *plugin)

Definition at line 148 of file gx_plugin.h.

typedef void(* deletefunc) (PluginDef *plugin)

Definition at line 157 of file gx_plugin.h.

typedef void(* inifunc) (unsigned int samplingFreq, PluginDef *plugin)

Definition at line 146 of file gx_plugin.h.

typedef int(* plugin_inifunc) (unsigned int idx, PluginDef **p)

Definition at line 210 of file gx_plugin.h.

typedef void(* process_mono_audio) (int count, float *input, float *output, PluginDef *plugin)

Definition at line 152 of file gx_plugin.h.

typedef void(* process_stereo_audio) (int count, float *input1, float *input2, float *output1, float *output2, PluginDef *plugin)

Definition at line 153 of file gx_plugin.h.

typedef int(* registerfunc) (const ParamReg &reg)

Definition at line 155 of file gx_plugin.h.

typedef int(* uiloader) (const UiBuilder &builder, int format)

Definition at line 156 of file gx_plugin.h.

Enumeration Type Documentation

anonymous enum
Enumerator
PGN_STEREO 
PGN_PRE 
PGN_POST 
PGN_GUI 
PGN_POST_PRE 
PGN_ALTERNATIVE 
PGN_SNOOP 
PGN_MODE_NORMAL 
PGN_MODE_BYPASS 
PGN_MODE_MUTE 
PGN_FIXED_GUI 
PGN_NO_PRESETS 

Definition at line 159 of file gx_plugin.h.