drumstick  1.0.2
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.

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 ( const QueueInfo other)

Copy constructor.

Parameters:
otherAn existing QueueInfo object reference.

Definition at line 79 of file alsaqueue.cpp.

QueueInfo ( snd_seq_queue_info_t *  other)

Constructor.

Parameters:
otherALSA queue info object pointer

Definition at line 69 of file alsaqueue.cpp.


Member Function Documentation

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

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:
otherAn 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:
valueThe bit flags

Definition at line 180 of file alsaqueue.cpp.

void setLocked ( bool  locked)

Sets the locked status of the queue.

Parameters:
lockedThe locked status

Definition at line 189 of file alsaqueue.cpp.

void setName ( QString  value)

Sets the queue name.

Parameters:
valueThe queue name

Definition at line 162 of file alsaqueue.cpp.

void setOwner ( int  value)

Sets the client ID of the owner.

Parameters:
valueThe client ID of the owner

Definition at line 171 of file alsaqueue.cpp.


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