Guitarix
gx_system::CmdlineOptions Class Reference

#include <gx_system.h>

Inheritance diagram for gx_system::CmdlineOptions:
Collaboration diagram for gx_system::CmdlineOptions:

Public Member Functions

 CmdlineOptions ()
 
 ~CmdlineOptions ()
 
void process (int argc, char **argv)
 
const std::string & get_path_to_program () const
 
std::string get_style_filepath (const std::string &basename) const
 
std::string get_pixmap_filepath (const std::string &basename) const
 
std::string get_preset_filepath (const std::string &basename) const
 
std::string get_plugin_filepath (const std::string &basename) const
 
std::string get_factory_filepath (const std::string &basename) const
 
std::string get_temp_filepath (const std::string &basename) const
 
std::string get_pluginpreset_filepath (const std::string &id, bool factory) const
 
std::string get_lv2_preset_filepath (const std::string &id) const
 
const std::string & get_old_user_dir () const
 
const std::string & get_plugin_dir () const
 
const std::string & get_preset_dir () const
 
const std::string & get_pluginpreset_dir () const
 
const std::string & get_lv2_preset_dir () const
 
const std::string & get_loop_dir () const
 
const std::string & get_temp_dir () const
 
const std::string & get_factory_dir () const
 
std::string get_ladspa_config_filename () const
 
std::string get_online_config_filename () const
 
std::string get_online_presets_filename () const
 
const Glib::ustring & get_rcset () const
 
bool get_clear_rc () const
 
bool get_nogui () const
 
bool get_liveplaygui () const
 
bool get_mute () const
 
const Glib::ustring & get_setbank ()
 
const Glib::ustring & get_tuner_tet ()
 
const Glib::ustring & get_tuner_ref ()
 
int get_rpcport () const
 
void set_rpcport (int port)
 
const Glib::ustring & get_rpcaddress ()
 
void set_rpcaddress (const Glib::ustring &address)
 
const std::string & get_loadfile () const
 
const Glib::ustring & get_jack_instancename () const
 
const Glib::ustring & get_jack_uuid () const
 
const Glib::ustring & get_jack_uuid2 () const
 
const Glib::ustring & get_jack_midi () const
 
const Glib::ustring & get_jack_input () const
 
const Glib::ustring & get_jack_servername () const
 
bool get_jack_noconnect () const
 
bool get_opt_save_on_exit () const
 
bool get_opt_autosave () const
 
Glib::ustring get_jack_output (unsigned int n) const
 
int get_idle_thread_timeout () const
 
int get_sporadic_overload () const
 
bool get_xrun_watchdog () const
 
bool get_convolver_watchdog () const
 
- Public Member Functions inherited from gx_system::BasicOptions
 BasicOptions ()
 
 ~BasicOptions ()
 
std::string get_user_filepath (const std::string &basename) const
 
std::string get_user_ir_filepath (const std::string &basename) const
 
std::string get_builder_filepath (const std::string &basename) const
 
const std::string & get_user_dir () const
 
const std::string & get_user_IR_dir () const
 
const std::string & get_sys_IR_dir () const
 
const PathListget_IR_pathlist () const
 
const PrefixConverterget_IR_prefixmap () const
 

Public Attributes

bool dump_parameter
 
SkinHandling skin
 
int mainwin_x
 
int mainwin_y
 
int mainwin_height
 
int window_height
 
int preset_window_height
 
int mul_buffer
 
Glib::ustring skin_name
 
bool no_warn_latency
 
bool system_order_rack_h
 
bool system_show_value
 
bool system_show_tooltips
 
bool system_animations
 
bool system_show_presets
 
bool system_show_toolbar
 
bool system_show_rack
 
bool reload_lv2_presets
 

Additional Inherited Members

- Static Protected Member Functions inherited from gx_system::BasicOptions
static void make_ending_slash (std::string &dirpath)
 
- Protected Attributes inherited from gx_system::BasicOptions
std::string builder_dir
 

Detailed Description

Definition at line 381 of file gx_system.h.

Constructor & Destructor Documentation

◆ CmdlineOptions()

gx_system::CmdlineOptions::CmdlineOptions ( )

Definition at line 434 of file gx_system.cpp.

◆ ~CmdlineOptions()

gx_system::CmdlineOptions::~CmdlineOptions ( )

Definition at line 734 of file gx_system.cpp.

Member Function Documentation

◆ get_clear_rc()

bool gx_system::CmdlineOptions::get_clear_rc ( ) const
inline

Definition at line 483 of file gx_system.h.

Referenced by MainWindow::MainWindow().

◆ get_convolver_watchdog()

bool gx_system::CmdlineOptions::get_convolver_watchdog ( ) const
inline

Definition at line 508 of file gx_system.h.

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

◆ get_factory_dir()

const std::string& gx_system::CmdlineOptions::get_factory_dir ( ) const
inline

Definition at line 478 of file gx_system.h.

Referenced by gx_preset::GxSettings::GxSettings().

◆ get_factory_filepath()

std::string gx_system::CmdlineOptions::get_factory_filepath ( const std::string &  basename) const
inline

◆ get_idle_thread_timeout()

int gx_system::CmdlineOptions::get_idle_thread_timeout ( ) const
inline

Definition at line 505 of file gx_system.h.

Referenced by MainWindow::MainWindow().

◆ get_jack_input()

const Glib::ustring& gx_system::CmdlineOptions::get_jack_input ( ) const
inline

Definition at line 499 of file gx_system.h.

Referenced by gx_jack::GxJack::gx_jack_connection().

◆ get_jack_instancename()

const Glib::ustring& gx_system::CmdlineOptions::get_jack_instancename ( ) const
inline

◆ get_jack_midi()

const Glib::ustring& gx_system::CmdlineOptions::get_jack_midi ( ) const
inline

Definition at line 498 of file gx_system.h.

Referenced by gx_jack::GxJack::gx_jack_connection().

◆ get_jack_noconnect()

bool gx_system::CmdlineOptions::get_jack_noconnect ( ) const
inline

Definition at line 501 of file gx_system.h.

◆ get_jack_output()

Glib::ustring gx_system::CmdlineOptions::get_jack_output ( unsigned int  n) const

Definition at line 834 of file gx_system.cpp.

Referenced by gx_jack::GxJack::gx_jack_connection().

◆ get_jack_servername()

const Glib::ustring& gx_system::CmdlineOptions::get_jack_servername ( ) const
inline

Definition at line 500 of file gx_system.h.

Referenced by gx_jack::GxJack::write_connections().

◆ get_jack_uuid()

const Glib::ustring& gx_system::CmdlineOptions::get_jack_uuid ( ) const
inline

Definition at line 496 of file gx_system.h.

Referenced by MainWindow::MainWindow().

◆ get_jack_uuid2()

const Glib::ustring& gx_system::CmdlineOptions::get_jack_uuid2 ( ) const
inline

Definition at line 497 of file gx_system.h.

◆ get_ladspa_config_filename()

std::string gx_system::CmdlineOptions::get_ladspa_config_filename ( ) const
inline

Definition at line 479 of file gx_system.h.

Referenced by ladspa::LadspaPluginList::load(), and ladspa::LadspaPluginList::save().

◆ get_liveplaygui()

bool gx_system::CmdlineOptions::get_liveplaygui ( ) const
inline

Definition at line 485 of file gx_system.h.

◆ get_loadfile()

const std::string& gx_system::CmdlineOptions::get_loadfile ( ) const
inline

Definition at line 494 of file gx_system.h.

Referenced by gx_preset::GxSettings::auto_save_state().

◆ get_loop_dir()

const std::string& gx_system::CmdlineOptions::get_loop_dir ( ) const
inline

◆ get_lv2_preset_dir()

const std::string& gx_system::CmdlineOptions::get_lv2_preset_dir ( ) const
inline

◆ get_lv2_preset_filepath()

std::string gx_system::CmdlineOptions::get_lv2_preset_filepath ( const std::string &  id) const
inline

◆ get_mute()

bool gx_system::CmdlineOptions::get_mute ( ) const
inline

Definition at line 486 of file gx_system.h.

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

◆ get_nogui()

bool gx_system::CmdlineOptions::get_nogui ( ) const
inline

Definition at line 484 of file gx_system.h.

◆ get_old_user_dir()

const std::string& gx_system::CmdlineOptions::get_old_user_dir ( ) const
inline

Definition at line 471 of file gx_system.h.

Referenced by gx_preset::GxSettings::check_settings_dir().

◆ get_online_config_filename()

std::string gx_system::CmdlineOptions::get_online_config_filename ( ) const
inline

Definition at line 480 of file gx_system.h.

Referenced by DownloadWatch::~DownloadWatch().

◆ get_online_presets_filename()

std::string gx_system::CmdlineOptions::get_online_presets_filename ( ) const
inline

Definition at line 481 of file gx_system.h.

Referenced by DownloadWatch::~DownloadWatch().

◆ get_opt_autosave()

bool gx_system::CmdlineOptions::get_opt_autosave ( ) const
inline

Definition at line 503 of file gx_system.h.

Referenced by GxService::send_rack_changed().

◆ get_opt_save_on_exit()

bool gx_system::CmdlineOptions::get_opt_save_on_exit ( ) const
inline

Definition at line 502 of file gx_system.h.

Referenced by MainWindow::MainWindow().

◆ get_path_to_program()

const std::string& gx_system::CmdlineOptions::get_path_to_program ( ) const
inline

Definition at line 460 of file gx_system.h.

◆ get_pixmap_filepath()

std::string gx_system::CmdlineOptions::get_pixmap_filepath ( const std::string &  basename) const
inline

Definition at line 462 of file gx_system.h.

◆ get_plugin_dir()

const std::string& gx_system::CmdlineOptions::get_plugin_dir ( ) const
inline

Definition at line 472 of file gx_system.h.

Referenced by gx_preset::GxSettings::check_settings_dir().

◆ get_plugin_filepath()

std::string gx_system::CmdlineOptions::get_plugin_filepath ( const std::string &  basename) const
inline

◆ get_pluginpreset_dir()

const std::string& gx_system::CmdlineOptions::get_pluginpreset_dir ( ) const
inline

Definition at line 474 of file gx_system.h.

Referenced by gx_preset::GxSettings::check_settings_dir().

◆ get_pluginpreset_filepath()

std::string gx_system::CmdlineOptions::get_pluginpreset_filepath ( const std::string &  id,
bool  factory 
) const
inline

◆ get_preset_dir()

const std::string& gx_system::CmdlineOptions::get_preset_dir ( ) const
inline

◆ get_preset_filepath()

std::string gx_system::CmdlineOptions::get_preset_filepath ( const std::string &  basename) const
inline

◆ get_rcset()

const Glib::ustring& gx_system::CmdlineOptions::get_rcset ( ) const
inline

Definition at line 482 of file gx_system.h.

Referenced by GxSplashBox::on_show().

◆ get_rpcaddress()

const Glib::ustring& gx_system::CmdlineOptions::get_rpcaddress ( )
inline

◆ get_rpcport()

int gx_system::CmdlineOptions::get_rpcport ( ) const
inline

Definition at line 490 of file gx_system.h.

Referenced by gx_engine::debug_trace_param().

◆ get_setbank()

const Glib::ustring& gx_system::CmdlineOptions::get_setbank ( )
inline

Definition at line 487 of file gx_system.h.

Referenced by gx_engine::GxMachine::loadstate().

◆ get_sporadic_overload()

int gx_system::CmdlineOptions::get_sporadic_overload ( ) const
inline

Definition at line 506 of file gx_system.h.

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

◆ get_style_filepath()

std::string gx_system::CmdlineOptions::get_style_filepath ( const std::string &  basename) const
inline

◆ get_temp_dir()

const std::string& gx_system::CmdlineOptions::get_temp_dir ( ) const
inline

Definition at line 477 of file gx_system.h.

Referenced by gx_preset::GxSettings::check_settings_dir().

◆ get_temp_filepath()

std::string gx_system::CmdlineOptions::get_temp_filepath ( const std::string &  basename) const
inline

Definition at line 466 of file gx_system.h.

Referenced by gx_engine::GxMachineRemote::bank_get_filename().

◆ get_tuner_ref()

const Glib::ustring& gx_system::CmdlineOptions::get_tuner_ref ( )
inline

Definition at line 489 of file gx_system.h.

◆ get_tuner_tet()

const Glib::ustring& gx_system::CmdlineOptions::get_tuner_tet ( )
inline

Definition at line 488 of file gx_system.h.

Referenced by MainWindow::MainWindow().

◆ get_xrun_watchdog()

bool gx_system::CmdlineOptions::get_xrun_watchdog ( ) const
inline

Definition at line 507 of file gx_system.h.

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

◆ process()

void gx_system::CmdlineOptions::process ( int  argc,
char **  argv 
)

Definition at line 872 of file gx_system.cpp.

◆ set_rpcaddress()

void gx_system::CmdlineOptions::set_rpcaddress ( const Glib::ustring &  address)
inline

Definition at line 493 of file gx_system.h.

◆ set_rpcport()

void gx_system::CmdlineOptions::set_rpcport ( int  port)
inline

Definition at line 491 of file gx_system.h.

Member Data Documentation

◆ dump_parameter

bool gx_system::CmdlineOptions::dump_parameter

Definition at line 434 of file gx_system.h.

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

◆ mainwin_height

int gx_system::CmdlineOptions::mainwin_height

Definition at line 441 of file gx_system.h.

Referenced by MainWindow::MainWindow(), ~CmdlineOptions(), and MainWindow::~MainWindow().

◆ mainwin_x

int gx_system::CmdlineOptions::mainwin_x

Definition at line 439 of file gx_system.h.

Referenced by MainWindow::MainWindow(), ~CmdlineOptions(), and MainWindow::~MainWindow().

◆ mainwin_y

int gx_system::CmdlineOptions::mainwin_y

Definition at line 440 of file gx_system.h.

Referenced by MainWindow::MainWindow(), ~CmdlineOptions(), and MainWindow::~MainWindow().

◆ mul_buffer

int gx_system::CmdlineOptions::mul_buffer

Definition at line 444 of file gx_system.h.

Referenced by ~CmdlineOptions().

◆ no_warn_latency

bool gx_system::CmdlineOptions::no_warn_latency

Definition at line 446 of file gx_system.h.

Referenced by ~CmdlineOptions().

◆ preset_window_height

int gx_system::CmdlineOptions::preset_window_height

Definition at line 443 of file gx_system.h.

Referenced by ~CmdlineOptions(), and MainWindow::~MainWindow().

◆ reload_lv2_presets

bool gx_system::CmdlineOptions::reload_lv2_presets

Definition at line 454 of file gx_system.h.

Referenced by ladspa::LadspaPluginList::LadspaPluginList().

◆ skin

SkinHandling gx_system::CmdlineOptions::skin

Definition at line 436 of file gx_system.h.

Referenced by get_jack_output().

◆ skin_name

Glib::ustring gx_system::CmdlineOptions::skin_name

Definition at line 445 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and ~CmdlineOptions().

◆ system_animations

bool gx_system::CmdlineOptions::system_animations

Definition at line 450 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and ~CmdlineOptions().

◆ system_order_rack_h

bool gx_system::CmdlineOptions::system_order_rack_h

Definition at line 447 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and ~CmdlineOptions().

◆ system_show_presets

bool gx_system::CmdlineOptions::system_show_presets

Definition at line 451 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and ~CmdlineOptions().

◆ system_show_rack

bool gx_system::CmdlineOptions::system_show_rack

Definition at line 453 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and ~CmdlineOptions().

◆ system_show_toolbar

bool gx_system::CmdlineOptions::system_show_toolbar

Definition at line 452 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and ~CmdlineOptions().

◆ system_show_tooltips

bool gx_system::CmdlineOptions::system_show_tooltips

Definition at line 449 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and ~CmdlineOptions().

◆ system_show_value

bool gx_system::CmdlineOptions::system_show_value

Definition at line 448 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and ~CmdlineOptions().

◆ window_height

int gx_system::CmdlineOptions::window_height

Definition at line 442 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and ~CmdlineOptions().


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