drumstick  0.5.0
SystemInfo Class Reference

System information. More...

#include <alsaclient.h>

List of all members.

Public Member Functions

 SystemInfo ()
 Default constructor.
 SystemInfo (const SystemInfo &other)
 Copy constructor.
 SystemInfo (snd_seq_system_info_t *other)
 Copy constructor.
 SystemInfo (MidiClient *seq)
 Constructor.
virtual ~SystemInfo ()
 Destructor.
SystemInfoclone ()
 Clone the system info object.
SystemInfooperator= (const SystemInfo &other)
 Assignment operator.
int getSizeOfInfo () const
 Get the system's info object size.
int getMaxClients ()
 Get the system's maximum number of clients.
int getMaxPorts ()
 Get the system's maximum number of ports.
int getMaxQueues ()
 Get the system's maximum number of queues.
int getMaxChannels ()
 Get the system's maximum number of channels.
int getCurrentQueues ()
 Get the system's current number of queues.
int getCurrentClients ()
 Get the system's current number of clients.

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 2183 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 2193 of file alsaclient.cpp.

SystemInfo ( MidiClient seq)

Constructor.

Parameters:
seqA MidiClient object

Definition at line 2203 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 2222 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 2288 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 2279 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 2270 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 2243 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 2252 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 2261 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 2297 of file alsaclient.cpp.

SystemInfo & operator= ( const SystemInfo other)

Assignment operator.

Parameters:
otherAnother SystemInfo object
Returns:
This object

Definition at line 2233 of file alsaclient.cpp.


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