LMMS
Loading...
Searching...
No Matches
guimain.cpp File Reference
#include <rtosc/thread-link.h>
#include <lo/lo.h>
#include <string>
#include <thread>
#include "Connection.h"
#include "NSM.H"
#include <sys/stat.h>
#include "Fl_Osc_Interface.h"
#include "../globals.h"
#include <map>
#include <cassert>
#include <rtosc/rtosc.h>
#include <rtosc/ports.h>
#include <FL/Fl.H>
#include "Fl_Osc_Tree.H"
#include "common.H"
#include "MasterUI.h"
#include "Fl_Osc_Widget.H"

Go to the source code of this file.

Classes

struct  uiPorts
class  UI_Interface

Namespaces

namespace  zyncarla

Macros

#define BEGIN(x)
#define END   }},

Functions

void exitprogram ()
bool zyncarla::fileexists (const char *filename)
int kb_shortcut_handler (int)
void set_module_parameters (Fl_Widget *o)
static void liblo_error_cb (int i, const char *m, const char *loc)
static int handler_function (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data)
void watch_lo (void)
int main (int argc, char *argv[])

Variables

GUI::ui_handle_t gui = 0
const char * embedId = NULL
lo_server server
std::string sendtourl
int Pexitprogram =0
class MasterUI * ui =0
rtosc::ThreadLink lo_buffer (4096 *2, 1000)
const char * help_message

Macro Definition Documentation

◆ BEGIN

#define BEGIN ( x)
Value:
{x,":non-realtime\0",NULL,[](const char *m, rtosc::RtData d){ \
MasterUI *ui = static_cast<MasterUI*>(d.obj); \
rtosc_arg_t a0 = {0}, a1 = {0}; \
if(rtosc_narguments(m) > 0) \
a0 = rtosc_argument(m,0); \
if(rtosc_narguments(m) > 1) \
a1 = rtosc_argument(m,1); \
(void)ui;(void)a1;(void)a0;
#define NULL
Definition CarlaBridgeFormat.cpp:30
class MasterUI * ui
Definition Connection.cpp:39
unsigned * m
Definition inflate.c:1559
unsigned d
Definition inflate.c:940
unsigned x[BMAX+1]
Definition inflate.c:1586
unsigned rtosc_narguments(const char *msg)
Definition rtosc.c:19
rtosc_arg_t rtosc_argument(const char *msg, unsigned idx)
Definition rtosc.c:732
data object for the dispatch routine
Definition ports.h:55
Definition rtosc.h:46
#define void
Definition unzip.h:396

◆ END

#define END   }},

Function Documentation

◆ exitprogram()

void exitprogram ( )

◆ handler_function()

int handler_function ( const char * path,
const char * types,
lo_arg ** argv,
int argc,
lo_message msg,
void * user_data )
static

◆ kb_shortcut_handler()

int kb_shortcut_handler ( int )

◆ liblo_error_cb()

void liblo_error_cb ( int i,
const char * m,
const char * loc )
static

◆ main()

int main ( int argc,
char * argv[] )

◆ set_module_parameters()

void set_module_parameters ( Fl_Widget * o)

◆ watch_lo()

void watch_lo ( void )

Variable Documentation

◆ embedId

const char* embedId = NULL

◆ gui

◆ help_message

const char* help_message
Initial value:
=
"zynaddsubfx-ext-gui [options] uri - Connect to remote ZynAddSubFX\n"
" --help print this help message\n"
" --no-uri run without a remote ZynAddSubFX\n"
" --embed window ID [Internal Flag For Embedding Windows]\n"
"\n"
" example: zynaddsubfx-ext-gui osc.udp://localhost:1234/\n"
" This will connect to a running zynaddsubfx instance on the same\n"
" machine on port 1234.\n"

◆ lo_buffer

rtosc::ThreadLink lo_buffer(4096 *2, 1000) ( 4096 * 2,
1000  )

◆ Pexitprogram

int Pexitprogram =0

◆ sendtourl

std::string sendtourl

◆ server

lo_server server

◆ ui

class MasterUI* ui =0