![]() |
drumstick 2.10.0
C++ MIDI libraries using Qt objects, idioms, and style.
|
Queue information container. More...
#include <alsaqueue.h>
Public Member Functions | |
| QueueInfo () | |
| Default constructor. | |
| QueueInfo (const QueueInfo &other) | |
| Copy constructor. More... | |
| QueueInfo (snd_seq_queue_info_t *other) | |
| Constructor. More... | |
| virtual | ~QueueInfo () |
| Destructor. | |
| QueueInfo * | clone () |
| Copy the current object and return the copy. More... | |
| QueueInfo & | operator= (const QueueInfo &other) |
| Assignment operator. More... | |
| int | getInfoSize () const |
| Gets the size of the ALSA queue info object. More... | |
| int | getId () |
| Gets the queue's numeric identifier. More... | |
| QString | getName () |
| Gets the queue name. More... | |
| int | getOwner () |
| Gets the owner's client id of the queue. More... | |
| bool | isLocked () |
| Returns the locking status of the queue. More... | |
| unsigned int | getFlags () |
| Gets the flags of the queue. More... | |
| void | setName (QString value) |
| Sets the queue name. More... | |
| void | setOwner (int value) |
| Sets the client ID of the owner. More... | |
| void | setLocked (bool locked) |
| Sets the locked status of the queue. More... | |
| void | setFlags (unsigned int value) |
| Sets the bit flags of the queue. More... | |
Queue information container.
This class is used to hold some properties about an ALSA queue object.
Definition at line 59 of file alsaqueue.h.
Copy constructor.
| other | An existing QueueInfo object reference. |
Definition at line 86 of file alsaqueue.cpp.
|
explicit |
Constructor.
| other | ALSA queue info object pointer |
Definition at line 76 of file alsaqueue.cpp.
| QueueInfo * clone | ( | ) |
Copy the current object and return the copy.
Definition at line 104 of file alsaqueue.cpp.
References QueueInfo::QueueInfo().
| unsigned int getFlags | ( | ) |
Gets the flags of the queue.
Definition at line 162 of file alsaqueue.cpp.
| int getId | ( | ) |
Gets the queue's numeric identifier.
Definition at line 126 of file alsaqueue.cpp.
| int getInfoSize | ( | ) | const |
Gets the size of the ALSA queue info object.
Definition at line 207 of file alsaqueue.cpp.
| QString getName | ( | ) |
Gets the queue name.
Definition at line 135 of file alsaqueue.cpp.
| int getOwner | ( | ) |
Gets the owner's client id of the queue.
Definition at line 144 of file alsaqueue.cpp.
| bool isLocked | ( | ) |
Returns the locking status of the queue.
Definition at line 153 of file alsaqueue.cpp.
Assignment operator.
| other | An existing QueueInfo object reference. |
Definition at line 114 of file alsaqueue.cpp.
| void setFlags | ( | unsigned int | value | ) |
Sets the bit flags of the queue.
| value | The bit flags |
Definition at line 189 of file alsaqueue.cpp.
| void setLocked | ( | bool | locked | ) |
Sets the locked status of the queue.
| locked | The locked status |
Definition at line 198 of file alsaqueue.cpp.
| void setName | ( | QString | value | ) |
| void setOwner | ( | int | value | ) |
Sets the client ID of the owner.
| value | The client ID of the owner |
Definition at line 180 of file alsaqueue.cpp.