drumstick 2.9.0
C++ MIDI libraries using Qt objects, idioms, and style.
|
Client information. More...
#include <alsaclient.h>
Public Member Functions | |
ClientInfo () | |
Default constructor. | |
ClientInfo (const ClientInfo &other) | |
Copy constructor. More... | |
ClientInfo (snd_seq_client_info_t *other) | |
Copy constructor. More... | |
ClientInfo (MidiClient *seq, int id) | |
Constructor. More... | |
virtual | ~ClientInfo () |
Destructor. | |
ClientInfo * | clone () |
Clone the client info object. More... | |
ClientInfo & | operator= (const ClientInfo &other) |
Assignment operator. More... | |
int | getSizeOfInfo () const |
Gets the size of the internal object. More... | |
int | getClientId () |
Gets the client's numeric identifier. More... | |
snd_seq_client_type_t | getClientType () |
Gets the client's type. More... | |
QString | getName () |
Gets the client's name. More... | |
bool | getBroadcastFilter () |
Gets the client's broadcast filter. More... | |
bool | getErrorBounce () |
Gets the client's error bounce. More... | |
int | getNumPorts () |
Gets the client's port count. More... | |
int | getEventLost () |
Gets the number of lost events. More... | |
void | setClient (int client) |
Sets the client identifier number. More... | |
void | setName (QString name) |
Sets the client name. More... | |
void | setBroadcastFilter (bool val) |
Sets the broadcast filter. More... | |
void | setErrorBounce (bool val) |
Sets the error bounce. More... | |
PortInfoList | getPorts () const |
Gets the ports list. More... | |
Protected Member Functions | |
void | readPorts (MidiClient *seq) |
Read the client ports. More... | |
void | freePorts () |
Release the ports list. | |
Q_DECL_DEPRECATED const unsigned char * | getEventFilter () |
Gets the client's event filter. More... | |
Q_DECL_DEPRECATED void | setEventFilter (unsigned char *filter) |
Sets the event filter. More... | |
Client information.
This class is used to retrieve, hold and set some data from sequencer clients, like the name or id.
Definition at line 70 of file alsaclient.h.