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.

Friends

class MidiClient


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 (  ) 

Default constructor.

Definition at line 2036 of file alsaclient.cpp.

Referenced by SystemInfo::clone().

SystemInfo ( const SystemInfo other  ) 

Copy constructor.

Parameters:
other Another SystemInfo object reference to be copied

Definition at line 2045 of file alsaclient.cpp.

SystemInfo ( snd_seq_system_info_t *  other  ) 

Copy constructor.

Parameters:
other Another ALSA system info object to be copied

Definition at line 2055 of file alsaclient.cpp.

SystemInfo ( MidiClient seq  ) 

Constructor.

Parameters:
seq A MidiClient object

Definition at line 2065 of file alsaclient.cpp.

References MidiClient::getHandle().

~SystemInfo (  )  [virtual]

Destructor.

Definition at line 2074 of file alsaclient.cpp.


Member Function Documentation

SystemInfo * clone (  ) 

Clone the system info object.

Returns:
A pointer to the new object

Definition at line 2084 of file alsaclient.cpp.

References SystemInfo::SystemInfo().

int getCurrentClients (  ) 

Get the system's current number of clients.

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

Definition at line 2150 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 2141 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 2132 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 2105 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 2114 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 2123 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 2159 of file alsaclient.cpp.

SystemInfo & operator= ( const SystemInfo other  ) 

Assignment operator.

Parameters:
other Another SystemInfo object
Returns:
This object

Definition at line 2095 of file alsaclient.cpp.


Friends And Related Function Documentation

friend class MidiClient [friend]

Definition at line 109 of file alsaclient.h.


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

Generated on Wed Sep 8 10:12:37 2010 for drumstick by  doxygen 1.5.9