drumstick  1.1.0
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 107 of file alsaclient.h.

Constructor & Destructor Documentation

SystemInfo ( const SystemInfo other)

Copy constructor.

Parameters
otherAnother SystemInfo object reference to be copied

Definition at line 2127 of file alsaclient.cpp.

SystemInfo ( snd_seq_system_info_t *  other)

Copy constructor.

Parameters
otherAnother ALSA system info object to be copied

Definition at line 2137 of file alsaclient.cpp.

SystemInfo ( MidiClient seq)

Constructor.

Parameters
seqA MidiClient object

Definition at line 2147 of file alsaclient.cpp.

References MidiClient::getHandle().

Member Function Documentation

SystemInfo * clone ( )

Clone the system info object.

Returns
A pointer to the new object

Definition at line 2166 of file alsaclient.cpp.

int getCurrentClients ( )

Get the system's current number of clients.

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

Definition at line 2232 of file alsaclient.cpp.

int getCurrentQueues ( )

Get the system's current number of queues.

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

Definition at line 2223 of file alsaclient.cpp.

int getMaxChannels ( )

Get the system's maximum number of channels.

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

Definition at line 2214 of file alsaclient.cpp.

int getMaxClients ( )

Get the system's maximum number of clients.

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

Definition at line 2187 of file alsaclient.cpp.

int getMaxPorts ( )

Get the system's maximum number of ports.

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

Definition at line 2196 of file alsaclient.cpp.

int getMaxQueues ( )

Get the system's maximum number of queues.

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

Definition at line 2205 of file alsaclient.cpp.

Referenced by MidiClient::getAvailableQueues().

int getSizeOfInfo ( ) const

Get the system's info object size.

Returns
The system's info object size.

Definition at line 2241 of file alsaclient.cpp.

SystemInfo & operator= ( const SystemInfo other)

Assignment operator.

Parameters
otherAnother SystemInfo object
Returns
This object

Definition at line 2177 of file alsaclient.cpp.


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