|
hydrogen 1.1.1
|
#include <LashClient.h>
Public Member Functions | |
| LashClient (const char *lashClass, const char *viewName, int *argc, char ***argv) | |
| ~LashClient () | |
| bool | isConnected () |
| void | sendEvent (LASH_Event_Type eventType, const char *value) |
| void | sendEvent (LASH_Event_Type eventType) |
| void | setJackClientName (const std::string &jackClientName) |
| Set the name of the JACK client by modifying jackClientName. More... | |
| void | sendJackClientName () |
| void | setAlsaClientId (unsigned char id) |
| void | sendAlsaClientId () |
| lash_event_t * | getNextEvent () |
| lash_client_t * | getConnection () |
| void | setNewProject (bool value) |
| bool | isNewProject () |
Static Public Member Functions | |
| static LashClient * | get_instance () |
| static void | create_instance (const char *lashClass, const char *viewName, int *argc, char ***argv) |
| static reference of LashClient class (Singleton) More... | |
Private Attributes | |
| bool | newProject |
| lash_client_t * | lashClient |
| std::string | jackClientName |
| Name of the external JACK client Hydrogen is using to communicate with the JACK server. More... | |
| unsigned char | alsaClientId |
Static Private Attributes | |
| static LashClient * | __instance = nullptr |
| LashClient | ( | const char * | lashClass, |
| const char * | viewName, | ||
| int * | argc, | ||
| char *** | argv | ||
| ) |
| ~LashClient | ( | ) |
|
static |
static reference of LashClient class (Singleton)
|
inlinestatic |
| lash_client_t * getConnection | ( | ) |
| lash_event_t * getNextEvent | ( | ) |
| bool isConnected | ( | ) |
| bool isNewProject | ( | ) |
| void sendAlsaClientId | ( | ) |
| void sendEvent | ( | LASH_Event_Type | eventType | ) |
| void sendEvent | ( | LASH_Event_Type | eventType, |
| const char * | value | ||
| ) |
| void sendJackClientName | ( | ) |
| void setAlsaClientId | ( | unsigned char | id | ) |
| void setJackClientName | ( | const std::string & | jackClientName | ) |
Set the name of the JACK client by modifying jackClientName.
Called in H2Core::JackAudioDriver::init() after successfully opening a client session.
| void setNewProject | ( | bool | value | ) |
|
staticprivate |
|
private |
|
private |
Name of the external JACK client Hydrogen is using to communicate with the JACK server.
It can be modified via setJackClientName().
|
private |
|
private |