LMMS
Loading...
Searching...
No Matches
ports.h File Reference
#include <vector>
#include <functional>
#include <initializer_list>
#include <rtosc/rtosc.h>
#include <rtosc/rtosc-version.h>
#include <cstring>
#include <cctype>
#include <cstdlib>
#include <cstdio>
#include <string>

Go to the source code of this file.

Classes

struct  rtosc::RtData
 data object for the dispatch routine More...
struct  rtosc::Port
class  rtosc::Port::MetaIterator
class  rtosc::Port::MetaContainer
struct  rtosc::Ports
struct  rtosc::ClonePort
struct  rtosc::ClonePorts
struct  rtosc::MergePorts
class  rtosc::savefile_dispatcher_t
struct  rtosc::OscDocFormatter

Namespaces

namespace  rtosc

Typedefs

typedef const char * rtosc::msg_t
typedef void(* rtosc::port_walker_t) (const Port *, const char *, const char *, const Ports &, void *, void *)

Functions

const char * rtosc::get_default_value (const char *port_name, const Ports &ports, void *runtime, const Port *port_hint=NULL, int32_t idx=-1, int recursive=1)
int rtosc::get_default_value (const char *port_name, const char *port_args, const Ports &ports, void *runtime, const Port *port_hint, int32_t idx, size_t n, rtosc_arg_val_t *res, char *strbuf, size_t strbufsize)
std::string rtosc::get_changed_values (const Ports &ports, void *runtime)
int rtosc::dispatch_printed_messages (const char *messages, const Ports &ports, void *runtime, savefile_dispatcher_t *dispatcher=NULL)
std::string rtosc::save_to_file (const Ports &ports, void *runtime, const char *appname, rtosc_version appver)
int rtosc::load_from_file (const char *file_content, const Ports &ports, void *runtime, const char *appname, rtosc_version appver, savefile_dispatcher_t *dispatcher=NULL)
int rtosc::canonicalize_arg_vals (rtosc_arg_val_t *av, size_t n, const char *port_args, Port::MetaContainer meta)
void rtosc::map_arg_vals (rtosc_arg_val_t *av, size_t n, Port::MetaContainer meta)
void rtosc::walk_ports (const Ports *base, char *name_buffer, size_t buffer_size, void *data, port_walker_t walker, void *runtime=NULL)
int rtosc::enum_key (Port::MetaContainer meta, const char *value)
std::ostream & rtosc::operator<< (std::ostream &o, OscDocFormatter &formatter)

Detailed Description

Collection of functions for ports. This includes dispatchin, reading metadata etc.