#include <Netmusic.hh>
Definition at line 60 of file Netmusic.hh.
Static Public Member Functions | |
static void | check_error (int value, std::string error_text) |
checks the return value of many other functions. | |
static snd_seq_t * | sender_open_seq () |
creates a new sequencer s on the sender side | |
static snd_seq_t * | receiver_open_seq (int *portId) |
creates a new sequencer client on the receiver side | |
static void | print_read_data (snd_seq_event_t *ev) |
write read data to console | |
static void | sender_print_welcome_msg () |
Prints out the welcome message for the sender. | |
static void | receiver_print_welcome_msg () |
Prints out the welcome message for the receiver. | |
static void | sender_print_help_msg () |
Prints out the help message text for the sender. | |
static void | receiver_print_help_msg () |
Prints out the help message text for the receiver. | |
static void | sender_print_param (int mini, int midiPort, int miniPort, int syncPort, int startKey, int threshold, char *receiverIp) |
Prints out the set values of the application. | |
static void | receiver_print_param (int mini, int midiPort, int miniPort, int syncPort, int startKey, int pgmChange, int velocity) |
Prints out the receiver parameters. | |
static void | sender_check_args (int argc, char **argv, int *mini, int *midiPort, int *miniPort, int *syncPort, int *startKey, int *threshold, char *receiverIp) |
Sets the given sender parameters, according to the command line args. | |
static void | receiver_check_args (int argc, char **argv, int *syncPort, int *pgmChange, int *velocity) |
Sets the given receiver parameters, according to the command line args. |
|
checks the return value of many other functions.
Definition at line 34 of file Netmusic.cpp. Referenced by main(), midi_function(), mini_function(), mini_off_function(), mini_on_function(), receiver_check_args(), receiver_open_seq(), sender_check_args(), sender_open_seq(), and sync_function(). |
|
write read data to console
Definition at line 80 of file Netmusic.cpp. References DELIMITER. Referenced by midi_function(). |
|
Sets the given receiver parameters, according to the command line args.
Definition at line 245 of file Netmusic.cpp. References check_error(), and receiver_print_help_msg(). Referenced by main(). Here is the call graph for this function: ![]() |
|
creates a new sequencer client on the receiver side
Definition at line 63 of file Netmusic.cpp. References check_error(). Referenced by main(). Here is the call graph for this function: ![]() |
|
Prints out the help message text for the receiver.
Definition at line 141 of file Netmusic.cpp. References DELIMITER, and VERSION. Referenced by receiver_check_args(). |
|
Prints out the receiver parameters.
Definition at line 329 of file Netmusic.cpp. Referenced by main(). |
|
Prints out the welcome message for the receiver.
Definition at line 118 of file Netmusic.cpp. References AUTHOR, DELIMITER, EMAIL, and VERSION. Referenced by main(). |
|
Sets the given sender parameters, according to the command line args.
Definition at line 152 of file Netmusic.cpp. References check_error(), and sender_print_help_msg(). Referenced by main(). Here is the call graph for this function: ![]() |
|
creates a new sequencer s on the sender side
Definition at line 44 of file Netmusic.cpp. References check_error(). Referenced by main(). Here is the call graph for this function: ![]() |
|
Prints out the help message text for the sender.
Definition at line 126 of file Netmusic.cpp. References DELIMITER, and VERSION. Referenced by sender_check_args(). |
|
Prints out the set values of the application.
Definition at line 297 of file Netmusic.cpp. Referenced by main(). |
|
Prints out the welcome message for the sender.
Definition at line 110 of file Netmusic.cpp. References AUTHOR, DELIMITER, EMAIL, and VERSION. Referenced by main(). |