#include <jsonrpc.h>
|
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_parameter_change_notify
, f_plugins_changed
,
f_misc_msg
, f_units_changed
, END_OF_FLAGS
} |
|
|
bool | find_token (const Glib::ustring &token, msg_type *start, msg_type *end) |
|
void | activate (int n, bool v) |
|
void | exec (Glib::ustring cmd) |
|
void | call (gx_system::JsonWriter &jw, const methodnames *mn, JsonArray ¶ms) |
|
void | notify (gx_system::JsonStringWriter &jw, const methodnames *mn, JsonArray ¶ms) |
|
bool | request (gx_system::JsonStringParser &jp, gx_system::JsonStringWriter &jw, bool batch_start) |
|
void | write_error (gx_system::JsonWriter &jw, int code, const char *message) |
|
void | write_error (gx_system::JsonWriter &jw, int code, Glib::ustring &message) |
|
void | error_response (gx_system::JsonWriter &jw, int code, const char *message) |
|
void | error_response (gx_system::JsonWriter &jw, int code, const Glib::ustring &message) |
|
void | send_notify_begin (gx_system::JsonStringWriter &jw, const char *method) |
|
void | send_notify_end (gx_system::JsonStringWriter &jw, bool send_out=true) |
|
void | listen (const Glib::ustring &tp) |
|
void | unlisten (const Glib::ustring &tp) |
|
void | process (gx_system::JsonStringParser &jp) |
|
Definition at line 54 of file jsonrpc.h.
◆ msg_type
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_parameter_change_notify | |
f_plugins_changed | |
f_misc_msg | |
f_units_changed | |
END_OF_FLAGS | |
Definition at line 60 of file jsonrpc.h.
◆ CmdConnection()
CmdConnection::CmdConnection |
( |
GxService & |
serv, |
|
|
const Glib::RefPtr< Gio::SocketConnection > & |
connection_ |
|
) |
| |
◆ ~CmdConnection()
CmdConnection::~CmdConnection |
( |
| ) |
|
◆ activate()
void CmdConnection::activate |
( |
int |
n, |
|
|
bool |
v |
|
) |
| |
|
inlineprivate |
◆ call()
◆ error_response() [1/2]
◆ error_response() [2/2]
void CmdConnection::error_response |
( |
gx_system::JsonWriter & |
jw, |
|
|
int |
code, |
|
|
const Glib::ustring & |
message |
|
) |
| |
|
inlineprivate |
◆ exec()
void CmdConnection::exec |
( |
Glib::ustring |
cmd | ) |
|
|
private |
◆ find_token()
bool CmdConnection::find_token |
( |
const Glib::ustring & |
token, |
|
|
msg_type * |
start, |
|
|
msg_type * |
end |
|
) |
| |
|
private |
◆ is_activated()
bool CmdConnection::is_activated |
( |
msg_type |
n | ) |
|
|
inline |
◆ listen()
void CmdConnection::listen |
( |
const Glib::ustring & |
tp | ) |
|
|
private |
◆ notify()
◆ on_data_in()
bool CmdConnection::on_data_in |
( |
Glib::IOCondition |
cond | ) |
|
◆ on_data_out()
bool CmdConnection::on_data_out |
( |
Glib::IOCondition |
cond | ) |
|
◆ process()
◆ request()
◆ send()
◆ send_notify_begin()
◆ send_notify_end()
◆ unlisten()
void CmdConnection::unlisten |
( |
const Glib::ustring & |
tp | ) |
|
|
private |
◆ update_maxlevel()
void CmdConnection::update_maxlevel |
( |
const std::string & |
id, |
|
|
float |
v |
|
) |
| |
|
inline |
◆ write_error() [1/2]
◆ write_error() [2/2]
◆ UiBuilderVirt
friend class UiBuilderVirt |
|
friend |
◆ connection
Glib::RefPtr<Gio::SocketConnection> CmdConnection::connection |
|
private |
◆ current_offset
unsigned int CmdConnection::current_offset |
|
private |
◆ flags
◆ jp
◆ maxlevel
std::map<string,float> CmdConnection::maxlevel |
|
private |
◆ midi_config_mode
bool CmdConnection::midi_config_mode |
|
private |
◆ outgoing
std::list<std::string> CmdConnection::outgoing |
|
private |
◆ serv
The documentation for this class was generated from the following file: