Guitarix
CmdConnection Class Reference

#include <jsonrpc.h>

Inheritance diagram for CmdConnection:
Collaboration diagram for CmdConnection:

Classes

struct  methodnames
 

Public Types

enum  msg_type {
  f_preset_changed, f_state_changed, f_freq_changed, f_display,
  f_display_state, f_selection_done, f_presetlist_changed, f_log_message,
  f_midi_changed, f_midi_value_changed, f_osc_activation, f_osc_size_changed,
  f_jack_load_changed, f_parameter_change_notify, f_plugins_changed, f_misc_msg,
  f_units_changed, END_OF_FLAGS
}
 

Public Member Functions

 CmdConnection (GxService &serv, const Glib::RefPtr< Gio::SocketConnection > &connection_)
 
 ~CmdConnection ()
 
bool on_data_in (Glib::IOCondition cond)
 
bool on_data_out (Glib::IOCondition cond)
 
void send (gx_system::JsonStringWriter &jw)
 
bool is_activated (msg_type n)
 
void update_maxlevel (unsigned int channel, float v)
 

Friends

class UiBuilderVirt
 

Detailed Description

Definition at line 54 of file jsonrpc.h.

Member Enumeration Documentation

Enumerator
f_preset_changed 
f_state_changed 
f_freq_changed 
f_display 
f_display_state 
f_selection_done 
f_presetlist_changed 
f_log_message 
f_midi_changed 
f_midi_value_changed 
f_osc_activation 
f_osc_size_changed 
f_jack_load_changed 
f_parameter_change_notify 
f_plugins_changed 
f_misc_msg 
f_units_changed 
END_OF_FLAGS 

Definition at line 60 of file jsonrpc.h.

Constructor & Destructor Documentation

CmdConnection::CmdConnection ( GxService serv,
const Glib::RefPtr< Gio::SocketConnection > &  connection_ 
)

Definition at line 235 of file jsonrpc.cpp.

CmdConnection::~CmdConnection ( )

Definition at line 246 of file jsonrpc.cpp.

Member Function Documentation

bool CmdConnection::is_activated ( msg_type  n)
inline

Definition at line 112 of file jsonrpc.h.

Referenced by GxService::send_rack_changed().

bool CmdConnection::on_data_in ( Glib::IOCondition  cond)

Definition at line 1254 of file jsonrpc.cpp.

Referenced by GxService::send_rack_changed().

bool CmdConnection::on_data_out ( Glib::IOCondition  cond)

Definition at line 1241 of file jsonrpc.cpp.

Referenced by send().

void CmdConnection::send ( gx_system::JsonStringWriter jw)

Definition at line 1284 of file jsonrpc.cpp.

void CmdConnection::update_maxlevel ( unsigned int  channel,
float  v 
)
inline

Definition at line 113 of file jsonrpc.h.

Friends And Related Function Documentation

friend class UiBuilderVirt
friend

Definition at line 114 of file jsonrpc.h.


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