|
LMMS
|
#include <Client.H>
Public Types | |
| enum | { ERR_OK = 0 , ERR_GENERAL = -1 , ERR_INCOMPATIBLE_API = -2 , ERR_BLACKLISTED = -3 , ERR_LAUNCH_FAILED = -4 , ERR_NO_SUCH_FILE = -5 , ERR_NO_SESSION_OPEN = -6 , ERR_UNSAVED_CHANGES = -7 , ERR_NOT_NOW = -8 } |
| enum | { ERR_OK = 0 , ERR_GENERAL = -1 , ERR_INCOMPATIBLE_API = -2 , ERR_BLACKLISTED = -3 , ERR_LAUNCH_FAILED = -4 , ERR_NO_SUCH_FILE = -5 , ERR_NO_SESSION_OPEN = -6 , ERR_UNSAVED_CHANGES = -7 , ERR_NOT_NOW = -8 } |
Public Member Functions | |
| Client () | |
| virtual | ~Client () |
| bool | is_active (void) |
| const char * | session_manager_name (void) |
| void | is_dirty (void) |
| void | is_clean (void) |
| void | progress (float f) |
| void | message (int priority, const char *msg) |
| void | announce (const char *appliction_name, const char *capabilities, const char *process_name) |
| void | broadcast (lo_message msg) |
| int | init (const char *nsm_url) |
| int | init_thread (const char *nsm_url) |
| void | check (int timeout=0) |
| void | start (void) |
| void | stop (void) |
| Client () | |
| virtual | ~Client () |
| bool | is_active (void) |
| const char * | session_manager_name (void) |
| void | is_dirty (void) |
| void | is_clean (void) |
| void | progress (float f) |
| void | message (int priority, const char *msg) |
| void | announce (const char *appliction_name, const char *capabilities, const char *process_name) |
| void | broadcast (lo_message msg) |
| int | init (const char *nsm_url) |
| int | init_thread (const char *nsm_url) |
| void | check (int timeout=0) |
| void | start (void) |
| void | stop (void) |
Protected Member Functions | |
| virtual int | command_open (const char *name, const char *display_name, const char *client_id, char **out_msg)=0 |
| virtual int | command_save (char **out_msg)=0 |
| virtual void | command_active (bool) |
| virtual void | command_session_is_loaded (void) |
| virtual int | command_broadcast (const char *, lo_message) |
| virtual int | command_open (const char *name, const char *display_name, const char *client_id, char **out_msg)=0 |
| virtual int | command_save (char **out_msg)=0 |
| virtual void | command_active (bool) |
| virtual void | command_session_is_loaded (void) |
| virtual int | command_broadcast (const char *, lo_message) |
Static Private Member Functions | |
| static int | osc_open (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_save (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_announce_reply (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_error (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_session_is_loaded (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_broadcast (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_open (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_save (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_announce_reply (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_error (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_session_is_loaded (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
| static int | osc_broadcast (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) |
Private Attributes | |
| const char * | nsm_url |
| lo_server | _server |
| lo_server_thread | _st |
| lo_address | nsm_addr |
| bool | nsm_is_active |
| char * | nsm_client_id |
| char * | _session_manager_name |
| anonymous enum |
| anonymous enum |
| NSM::Client::Client | ( | ) |
|
virtual |
| NSM::Client::Client | ( | ) |
|
virtual |
| void NSM::Client::announce | ( | const char * | appliction_name, |
| const char * | capabilities, | ||
| const char * | process_name ) |
| void NSM::Client::announce | ( | const char * | appliction_name, |
| const char * | capabilities, | ||
| const char * | process_name ) |
| void NSM::Client::broadcast | ( | lo_message | msg | ) |
| void NSM::Client::broadcast | ( | lo_message | msg | ) |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
inline |
|
inline |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
| void NSM::Client::progress | ( | float | f | ) |
| void NSM::Client::progress | ( | float | f | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |