Guitarix
ladspa::PortDesc Class Reference

#include <ladspaback.h>

Collaboration diagram for ladspa::PortDesc:

Public Member Functions

void set_range_default (const LADSPA_PortRangeHint &h, ChangeableValues &store)
 
void set_default_value (const LADSPA_PortRangeHint &h, ChangeableValues &store)
 
void set_tp_default (const LADSPA_PortRangeHint &h, ChangeableValues &store)
 
float calc_step ()
 
void set_default (float value, Glib::ustring label)
 
void output (gx_system::JsonWriter &jw)
 
 PortDesc (int idx_, int pos_, bool is_output_, Glib::ustring name, const LADSPA_PortRangeHint &hint)
 
 PortDesc (gx_system::JsonParser &jp)
 
void serializeJSON (gx_system::JsonWriter &jw)
 
void reset ()
 
void fixup (bool newrow)
 
bool check_changed (const PortDesc &vp) const
 
Glib::ustring get_enum (int idx)
 
DisplayType get_tp ()
 
float get_low ()
 
float get_up ()
 
float get_dflt ()
 
bool get_newrow ()
 
const Glib::ustring & get_name ()
 
int get_pos ()
 
void set_low (float v)
 
void set_up (float v)
 
void set_dflt (float v)
 
void set_tp (DisplayType v)
 
void set_newrow (bool v)
 
bool has_settings ()
 
bool enumkey_changed (int k)
 
bool is_set (int f)
 
void set_state (gx_system::JsonParser &jp, int version)
 

Public Attributes

int idx
 
int pos
 
bool is_output
 
LADSPA_PortRangeHintDescriptor hint_desc
 
bool fake_low
 
bool fake_up
 
bool fake_dflt
 
step_mode step
 
bool use_sr
 
bool has_sr
 
bool has_caption
 
ChangeableValues factory
 
ChangeableValues user
 

Static Public Attributes

static const int SR = 44100
 

Friends

bool cmp_ctrl_ports (const PortDesc *a, const PortDesc *b)
 

Detailed Description

Definition at line 78 of file ladspaback.h.

Constructor & Destructor Documentation

§ PortDesc() [1/2]

ladspa::PortDesc::PortDesc ( int  idx_,
int  pos_,
bool  is_output_,
Glib::ustring  name,
const LADSPA_PortRangeHint &  hint 
)

§ PortDesc() [2/2]

ladspa::PortDesc::PortDesc ( gx_system::JsonParser jp)

Definition at line 208 of file ladspaback.cpp.

Member Function Documentation

§ calc_step()

float ladspa::PortDesc::calc_step ( )

Definition at line 530 of file ladspaback.cpp.

Referenced by output().

§ check_changed()

bool ladspa::PortDesc::check_changed ( const PortDesc vp) const

Definition at line 381 of file ladspaback.cpp.

Referenced by ladspa::PluginDesc::check_changed().

§ enumkey_changed()

bool ladspa::PortDesc::enumkey_changed ( int  k)
inline

Definition at line 124 of file ladspaback.h.

Referenced by ladspa::PluginDisplay::~PluginDisplay().

§ fixup()

void ladspa::PortDesc::fixup ( bool  newrow)

Definition at line 419 of file ladspaback.cpp.

§ get_dflt()

float ladspa::PortDesc::get_dflt ( )
inline

Definition at line 114 of file ladspaback.h.

Referenced by ladspa::PluginDisplay::check_exit(), and output().

§ get_enum()

ustring ladspa::PortDesc::get_enum ( int  idx)

Definition at line 368 of file ladspaback.cpp.

Referenced by ladspa::PluginDisplay::check_exit(), and output().

§ get_low()

float ladspa::PortDesc::get_low ( )
inline

§ get_name()

const Glib::ustring& ladspa::PortDesc::get_name ( )
inline

Definition at line 116 of file ladspaback.h.

Referenced by ladspa::PluginDisplay::check_exit(), and set_tp_default().

§ get_newrow()

bool ladspa::PortDesc::get_newrow ( )
inline

Definition at line 115 of file ladspaback.h.

Referenced by ladspa::PluginDisplay::check_exit(), and output().

§ get_pos()

int ladspa::PortDesc::get_pos ( )
inline

§ get_tp()

§ get_up()

float ladspa::PortDesc::get_up ( )
inline

§ has_settings()

bool ladspa::PortDesc::has_settings ( )

§ is_set()

bool ladspa::PortDesc::is_set ( int  f)
inline

Definition at line 125 of file ladspaback.h.

Referenced by ladspa::PluginDisplay::~PluginDisplay().

§ output()

void ladspa::PortDesc::output ( gx_system::JsonWriter jw)

Definition at line 592 of file ladspaback.cpp.

§ reset()

void ladspa::PortDesc::reset ( void  )

Definition at line 320 of file ladspaback.cpp.

§ serializeJSON()

void ladspa::PortDesc::serializeJSON ( gx_system::JsonWriter jw)

Definition at line 240 of file ladspaback.cpp.

§ set_default()

void ladspa::PortDesc::set_default ( float  value,
Glib::ustring  label 
)

Definition at line 586 of file ladspaback.cpp.

§ set_default_value()

void ladspa::PortDesc::set_default_value ( const LADSPA_PortRangeHint &  h,
ChangeableValues store 
)

Definition at line 258 of file ladspaback.cpp.

§ set_dflt()

void ladspa::PortDesc::set_dflt ( float  v)

Definition at line 344 of file ladspaback.cpp.

Referenced by ladspa::PluginDisplay::check_exit().

§ set_low()

void ladspa::PortDesc::set_low ( float  v)

Definition at line 328 of file ladspaback.cpp.

Referenced by ladspa::PluginDisplay::check_exit().

§ set_newrow()

void ladspa::PortDesc::set_newrow ( bool  v)

Definition at line 360 of file ladspaback.cpp.

§ set_range_default()

void ladspa::PortDesc::set_range_default ( const LADSPA_PortRangeHint &  h,
ChangeableValues store 
)

Definition at line 302 of file ladspaback.cpp.

§ set_state()

void ladspa::PortDesc::set_state ( gx_system::JsonParser jp,
int  version 
)

Definition at line 634 of file ladspaback.cpp.

§ set_tp()

void ladspa::PortDesc::set_tp ( DisplayType  v)

Definition at line 352 of file ladspaback.cpp.

Referenced by ladspa::PluginDisplay::check_exit().

§ set_tp_default()

void ladspa::PortDesc::set_tp_default ( const LADSPA_PortRangeHint &  h,
ChangeableValues store 
)

Definition at line 566 of file ladspaback.cpp.

§ set_up()

void ladspa::PortDesc::set_up ( float  v)

Definition at line 336 of file ladspaback.cpp.

Referenced by ladspa::PluginDisplay::check_exit().

Friends And Related Function Documentation

§ cmp_ctrl_ports

bool cmp_ctrl_ports ( const PortDesc a,
const PortDesc b 
)
friend

Definition at line 861 of file ladspaback.cpp.

Referenced by ladspa::PluginDesc::reset().

Member Data Documentation

§ factory

§ fake_dflt

bool ladspa::PortDesc::fake_dflt

§ fake_low

bool ladspa::PortDesc::fake_low

§ fake_up

bool ladspa::PortDesc::fake_up

§ has_caption

§ has_sr

bool ladspa::PortDesc::has_sr

§ hint_desc

LADSPA_PortRangeHintDescriptor ladspa::PortDesc::hint_desc

§ idx

§ is_output

bool ladspa::PortDesc::is_output

§ pos

§ SR

const int ladspa::PortDesc::SR = 44100
static

Definition at line 94 of file ladspaback.h.

Referenced by calc_step(), ladspa::PluginDisplay::check_exit(), output(), and set_state().

§ step

§ use_sr

bool ladspa::PortDesc::use_sr

§ user


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