drumstick  1.1.3
SystemInfo Class Reference

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.
 
SystemInfoclone ()
 Clone the system info object. More...
 
SystemInfooperator= (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...
 

Detailed Description

System information.

This class is used to retrieve and hold some data about the whole sequencer subsystem.

Examples:
sysinfo.cpp.

Definition at line 106 of file alsaclient.h.

Constructor & Destructor Documentation

◆ SystemInfo() [1/3]

SystemInfo ( const SystemInfo other)

Copy constructor.

Parameters
otherAnother SystemInfo object reference to be copied

Definition at line 2126 of file alsaclient.cpp.

◆ SystemInfo() [2/3]

SystemInfo ( snd_seq_system_info_t *  other)

Copy constructor.

Parameters
otherAnother ALSA system info object to be copied

Definition at line 2136 of file alsaclient.cpp.

◆ SystemInfo() [3/3]

SystemInfo ( MidiClient seq)

Constructor.

Parameters
seqA MidiClient object

Definition at line 2146 of file alsaclient.cpp.

References MidiClient::getHandle().

Member Function Documentation

◆ clone()

SystemInfo * clone ( )

Clone the system info object.

Returns
A pointer to the new object

Definition at line 2165 of file alsaclient.cpp.

◆ getCurrentClients()

int getCurrentClients ( )

Get the system's current number of clients.

Returns
The system's current number of clients.
Examples:
sysinfo.cpp.

Definition at line 2231 of file alsaclient.cpp.

◆ getCurrentQueues()

int getCurrentQueues ( )

Get the system's current number of queues.

Returns
The system's current number of queues.
Examples:
sysinfo.cpp.

Definition at line 2222 of file alsaclient.cpp.

◆ getMaxChannels()

int getMaxChannels ( )

Get the system's maximum number of channels.

Returns
The system's maximum number of channels.
Examples:
sysinfo.cpp.

Definition at line 2213 of file alsaclient.cpp.

◆ getMaxClients()

int getMaxClients ( )

Get the system's maximum number of clients.

Returns
The maximum number of clients.
Examples:
sysinfo.cpp.

Definition at line 2186 of file alsaclient.cpp.

◆ getMaxPorts()

int getMaxPorts ( )

Get the system's maximum number of ports.

Returns
The maximum number of ports.
Examples:
sysinfo.cpp.

Definition at line 2195 of file alsaclient.cpp.

◆ getMaxQueues()

int getMaxQueues ( )

Get the system's maximum number of queues.

Returns
The system's maximum number of queues.
Examples:
sysinfo.cpp.

Definition at line 2204 of file alsaclient.cpp.

Referenced by MidiClient::getAvailableQueues().

◆ getSizeOfInfo()

int getSizeOfInfo ( ) const

Get the system's info object size.

Returns
The system's info object size.

Definition at line 2240 of file alsaclient.cpp.

◆ operator=()

SystemInfo & operator= ( const SystemInfo other)

Assignment operator.

Parameters
otherAnother SystemInfo object
Returns
This object

Definition at line 2176 of file alsaclient.cpp.


The documentation for this class was generated from the following files: