QueueInfo Class Reference

Queue information container. More...

#include <alsaqueue.h>

List of all members.

Public Member Functions

 QueueInfo ()
 Default constructor.
 QueueInfo (const QueueInfo &other)
 Copy constructor.
 QueueInfo (snd_seq_queue_info_t *other)
 Constructor.
virtual ~QueueInfo ()
 Destructor.
QueueInfoclone ()
 Copy the current object and return the copy.
QueueInfooperator= (const QueueInfo &other)
 Assignment operator.
int getInfoSize () const
 Gets the size of the ALSA queue info object.
int getId ()
 Gets the queue's numeric identifier.
QString getName ()
 Gets the queue name.
int getOwner ()
 Gets the owner's client id of the queue.
bool isLocked ()
 Returns the locking status of the queue.
unsigned int getFlags ()
 Gets the flags of the queue.
void setName (QString value)
 Sets the queue name.
void setOwner (int value)
 Sets the client ID of the owner.
void setLocked (bool locked)
 Sets the locked status of the queue.
void setFlags (unsigned int value)
 Sets the bit flags of the queue.

Friends

class MidiQueue


Detailed Description

Queue information container.

This class is used to hold some properties about an ALSA queue object.

Examples:

sysinfo.cpp.

Definition at line 47 of file alsaqueue.h.


Constructor & Destructor Documentation

QueueInfo (  ) 

Default constructor.

Definition at line 60 of file alsaqueue.cpp.

Referenced by QueueInfo::clone().

QueueInfo ( const QueueInfo other  ) 

Copy constructor.

Parameters:
other An existing QueueInfo object reference.

Definition at line 79 of file alsaqueue.cpp.

QueueInfo ( snd_seq_queue_info_t *  other  ) 

Constructor.

Parameters:
other ALSA queue info object pointer

Definition at line 69 of file alsaqueue.cpp.

~QueueInfo (  )  [virtual]

Destructor.

Definition at line 88 of file alsaqueue.cpp.


Member Function Documentation

QueueInfo * clone (  ) 

Copy the current object and return the copy.

Returns:
The pointer to the new object.

Definition at line 97 of file alsaqueue.cpp.

References QueueInfo::QueueInfo().

unsigned int getFlags (  ) 

Gets the flags of the queue.

Returns:
The flags of the queue.

Definition at line 153 of file alsaqueue.cpp.

int getId (  ) 

Gets the queue's numeric identifier.

Returns:
The numeric identifier.
Examples:
sysinfo.cpp.

Definition at line 117 of file alsaqueue.cpp.

int getInfoSize (  )  const

Gets the size of the ALSA queue info object.

Returns:
The size of the ALSA object.

Definition at line 198 of file alsaqueue.cpp.

QString getName (  ) 

Gets the queue name.

Returns:
The queue name.
Examples:
sysinfo.cpp.

Definition at line 126 of file alsaqueue.cpp.

int getOwner (  ) 

Gets the owner's client id of the queue.

Returns:
the owner's client id.
Examples:
sysinfo.cpp.

Definition at line 135 of file alsaqueue.cpp.

bool isLocked (  ) 

Returns the locking status of the queue.

Returns:
The locking status.
Examples:
sysinfo.cpp.

Definition at line 144 of file alsaqueue.cpp.

QueueInfo & operator= ( const QueueInfo other  ) 

Assignment operator.

Parameters:
other An existing QueueInfo object reference.
Returns:
This object.

Definition at line 107 of file alsaqueue.cpp.

void setFlags ( unsigned int  value  ) 

Sets the bit flags of the queue.

Parameters:
value The bit flags

Definition at line 180 of file alsaqueue.cpp.

void setLocked ( bool  locked  ) 

Sets the locked status of the queue.

Parameters:
locked The locked status

Definition at line 189 of file alsaqueue.cpp.

void setName ( QString  value  ) 

Sets the queue name.

Parameters:
value The queue name

Definition at line 162 of file alsaqueue.cpp.

void setOwner ( int  value  ) 

Sets the client ID of the owner.

Parameters:
value The client ID of the owner

Definition at line 171 of file alsaqueue.cpp.


Friends And Related Function Documentation

friend class MidiQueue [friend]

Definition at line 49 of file alsaqueue.h.


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

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