drumstick
0.5.0
|
System information. More...
#include <alsaclient.h>
Public Member Functions | |
SystemInfo () | |
Default constructor. | |
SystemInfo (const SystemInfo &other) | |
Copy constructor. More... | |
SystemInfo (snd_seq_system_info_t *other) | |
Copy constructor. More... | |
SystemInfo (MidiClient *seq) | |
Constructor. More... | |
virtual | ~SystemInfo () |
Destructor. | |
SystemInfo * | clone () |
Clone the system info object. More... | |
SystemInfo & | operator= (const SystemInfo &other) |
Assignment operator. More... | |
int | getSizeOfInfo () const |
Get the system's info object size. More... | |
int | getMaxClients () |
Get the system's maximum number of clients. More... | |
int | getMaxPorts () |
Get the system's maximum number of ports. More... | |
int | getMaxQueues () |
Get the system's maximum number of queues. More... | |
int | getMaxChannels () |
Get the system's maximum number of channels. More... | |
int | getCurrentQueues () |
Get the system's current number of queues. More... | |
int | getCurrentClients () |
Get the system's current number of clients. More... | |
System information.
This class is used to retrieve and hold some data about the whole sequencer subsystem.
Definition at line 107 of file alsaclient.h.
SystemInfo | ( | const SystemInfo & | other | ) |
Copy constructor.
other | Another SystemInfo object reference to be copied |
Definition at line 2183 of file alsaclient.cpp.
SystemInfo | ( | snd_seq_system_info_t * | other | ) |
Copy constructor.
other | Another ALSA system info object to be copied |
Definition at line 2193 of file alsaclient.cpp.
SystemInfo | ( | MidiClient * | seq | ) |
Constructor.
seq | A MidiClient object |
Definition at line 2203 of file alsaclient.cpp.
References MidiClient::getHandle().
SystemInfo * clone | ( | ) |
Clone the system info object.
Definition at line 2222 of file alsaclient.cpp.
int getCurrentClients | ( | ) |
Get the system's current number of clients.
Definition at line 2288 of file alsaclient.cpp.
int getCurrentQueues | ( | ) |
Get the system's current number of queues.
Definition at line 2279 of file alsaclient.cpp.
int getMaxChannels | ( | ) |
Get the system's maximum number of channels.
Definition at line 2270 of file alsaclient.cpp.
int getMaxClients | ( | ) |
Get the system's maximum number of clients.
Definition at line 2243 of file alsaclient.cpp.
int getMaxPorts | ( | ) |
Get the system's maximum number of ports.
Definition at line 2252 of file alsaclient.cpp.
int getMaxQueues | ( | ) |
Get the system's maximum number of queues.
Definition at line 2261 of file alsaclient.cpp.
Referenced by MidiClient::getAvailableQueues().
int getSizeOfInfo | ( | ) | const |
Get the system's info object size.
Definition at line 2297 of file alsaclient.cpp.
SystemInfo & operator= | ( | const SystemInfo & | other | ) |
Assignment operator.
other | Another SystemInfo object |
Definition at line 2233 of file alsaclient.cpp.