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
 
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

gx_system::CmdlineOptions::CmdlineOptions ( )

Definition at line 432 of file gx_system.cpp.

gx_system::CmdlineOptions::~CmdlineOptions ( )

Definition at line 732 of file gx_system.cpp.

Member Function Documentation

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

Definition at line 481 of file gx_system.h.

Referenced by MainWindow::MainWindow().

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

Definition at line 506 of file gx_system.h.

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

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().

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

Definition at line 503 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and GxSplashBox::on_show().

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

Definition at line 497 of file gx_system.h.

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

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

Definition at line 496 of file gx_system.h.

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

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

Definition at line 499 of file gx_system.h.

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

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

Definition at line 832 of file gx_system.cpp.

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

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

Definition at line 498 of file gx_system.h.

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

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

Definition at line 494 of file gx_system.h.

Referenced by MainWindow::MainWindow(), and gx_jack::GxJack::write_connections().

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

Definition at line 495 of file gx_system.h.

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

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().

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

Definition at line 483 of file gx_system.h.

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

Definition at line 492 of file gx_system.h.

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

const std::string& gx_system::CmdlineOptions::get_loop_dir ( ) const
inline
const std::string& gx_system::CmdlineOptions::get_lv2_preset_dir ( ) const
inline
std::string gx_system::CmdlineOptions::get_lv2_preset_filepath ( const std::string &  id) const
inline
bool gx_system::CmdlineOptions::get_mute ( ) const
inline

Definition at line 484 of file gx_system.h.

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

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

Definition at line 482 of file gx_system.h.

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().

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

Definition at line 501 of file gx_system.h.

Referenced by GxService::send_rack_changed().

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

Definition at line 500 of file gx_system.h.

Referenced by MainWindow::MainWindow().

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

Definition at line 460 of file gx_system.h.

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

Definition at line 462 of file gx_system.h.

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().

std::string gx_system::CmdlineOptions::get_plugin_filepath ( const std::string &  basename) const
inline
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(), and CmdlineOptions().

std::string gx_system::CmdlineOptions::get_pluginpreset_filepath ( const std::string &  id,
bool  factory 
) const
inline
const std::string& gx_system::CmdlineOptions::get_preset_dir ( ) const
inline
std::string gx_system::CmdlineOptions::get_preset_filepath ( const std::string &  basename) const
inline
const Glib::ustring& gx_system::CmdlineOptions::get_rcset ( ) const
inline

Definition at line 480 of file gx_system.h.

Referenced by GxSplashBox::on_show().

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

Definition at line 488 of file gx_system.h.

Referenced by gx_engine::debug_trace_param(), and GxSplashBox::on_show().

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

Definition at line 485 of file gx_system.h.

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

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

Definition at line 504 of file gx_system.h.

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

std::string gx_system::CmdlineOptions::get_style_filepath ( const std::string &  basename) const
inline
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().

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().

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

Definition at line 487 of file gx_system.h.

Referenced by MainWindow::MainWindow().

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

Definition at line 486 of file gx_system.h.

Referenced by MainWindow::MainWindow().

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

Definition at line 505 of file gx_system.h.

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

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

Definition at line 870 of file gx_system.cpp.

Referenced by GxSplashBox::on_show().

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

Definition at line 491 of file gx_system.h.

Referenced by GxSplashBox::on_show().

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

Definition at line 489 of file gx_system.h.

Referenced by GxSplashBox::on_show().

Member Data Documentation

bool gx_system::CmdlineOptions::dump_parameter

Definition at line 434 of file gx_system.h.

Referenced by CmdlineOptions(), and gx_engine::GxMachine::~GxMachine().

int gx_system::CmdlineOptions::mainwin_height

Definition at line 441 of file gx_system.h.

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

int gx_system::CmdlineOptions::mainwin_x

Definition at line 439 of file gx_system.h.

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

int gx_system::CmdlineOptions::mainwin_y

Definition at line 440 of file gx_system.h.

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

int gx_system::CmdlineOptions::mul_buffer

Definition at line 444 of file gx_system.h.

Referenced by ~CmdlineOptions().

bool gx_system::CmdlineOptions::no_warn_latency

Definition at line 446 of file gx_system.h.

Referenced by ~CmdlineOptions().

int gx_system::CmdlineOptions::preset_window_height

Definition at line 443 of file gx_system.h.

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

bool gx_system::CmdlineOptions::reload_lv2_presets

Definition at line 454 of file gx_system.h.

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

SkinHandling gx_system::CmdlineOptions::skin

Definition at line 436 of file gx_system.h.

Referenced by get_jack_output(), and process().

Glib::ustring gx_system::CmdlineOptions::skin_name

Definition at line 445 of file gx_system.h.

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

bool gx_system::CmdlineOptions::system_animations

Definition at line 450 of file gx_system.h.

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

bool gx_system::CmdlineOptions::system_order_rack_h

Definition at line 447 of file gx_system.h.

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

bool gx_system::CmdlineOptions::system_show_presets

Definition at line 451 of file gx_system.h.

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

bool gx_system::CmdlineOptions::system_show_rack

Definition at line 453 of file gx_system.h.

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

bool gx_system::CmdlineOptions::system_show_toolbar

Definition at line 452 of file gx_system.h.

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

bool gx_system::CmdlineOptions::system_show_tooltips

Definition at line 449 of file gx_system.h.

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

bool gx_system::CmdlineOptions::system_show_value

Definition at line 448 of file gx_system.h.

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

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: