![]() |
drumstick 2.10.0
C++ MIDI libraries using Qt objects, idioms, and style.
|
Queue timer container. More...
#include <alsaqueue.h>
Public Member Functions | |
| QueueTimer () | |
| Default constructor. | |
| QueueTimer (const QueueTimer &other) | |
| Copy constructor. More... | |
| QueueTimer (snd_seq_queue_timer_t *other) | |
| Constructor. More... | |
| virtual | ~QueueTimer () |
| Destructor. | |
| QueueTimer * | clone () |
| Copy the current object and return the copy. More... | |
| QueueTimer & | operator= (const QueueTimer &other) |
| Assignment operator. More... | |
| int | getInfoSize () const |
| Gets the size of the ALSA queue timer object. More... | |
| int | getQueueId () |
| The queue's numeric identifier. More... | |
| snd_seq_queue_timer_type_t | getType () |
| Gets the timer type. More... | |
| const snd_timer_id_t * | getId () |
| Gets the timer identifier record. More... | |
| unsigned int | getResolution () |
| Gets the timer resolution. More... | |
| void | setType (snd_seq_queue_timer_type_t value) |
| Sets the timer type. More... | |
| void | setId (snd_timer_id_t *value) |
| Sets the timer identifier record. More... | |
| void | setId (const TimerId &id) |
| Sets the timer identifier. More... | |
| void | setResolution (unsigned int value) |
| Sets the timer resolution. More... | |
Queue timer container.
This class is used to hold some properties about the Timer used with an ALSA queue object.
Definition at line 169 of file alsaqueue.h.
| QueueTimer | ( | const QueueTimer & | other | ) |
Copy constructor.
| other | An existing QueueTimer object reference |
Definition at line 565 of file alsaqueue.cpp.
|
explicit |
Constructor.
| other | An ALSA queue timer object pointer |
Definition at line 555 of file alsaqueue.cpp.
| QueueTimer * clone | ( | ) |
Copy the current object and return the copy.
Definition at line 583 of file alsaqueue.cpp.
References QueueTimer::QueueTimer().
| const snd_timer_id_t * getId | ( | ) |
Gets the timer identifier record.
Definition at line 631 of file alsaqueue.cpp.
| int getInfoSize | ( | ) | const |
Gets the size of the ALSA queue timer object.
Definition at line 693 of file alsaqueue.cpp.
| int getQueueId | ( | ) |
The queue's numeric identifier.
Definition at line 605 of file alsaqueue.cpp.
| unsigned int getResolution | ( | ) |
Gets the timer resolution.
Definition at line 640 of file alsaqueue.cpp.
| snd_seq_queue_timer_type_t getType | ( | ) |
Gets the timer type.
The timer type can be one of the following constants:
Definition at line 622 of file alsaqueue.cpp.
| QueueTimer & operator= | ( | const QueueTimer & | other | ) |
Assignment operator.
| other | An existing QueueTimer object reference |
Definition at line 593 of file alsaqueue.cpp.
| void setId | ( | const TimerId & | id | ) |
Sets the timer identifier.
| id | Timer identifier object |
Definition at line 675 of file alsaqueue.cpp.
References QueueTimer::setId().
| void setId | ( | snd_timer_id_t * | value | ) |
Sets the timer identifier record.
| value | The timer identifier record pointer |
Definition at line 665 of file alsaqueue.cpp.
Referenced by QueueTimer::setId().
| void setResolution | ( | unsigned int | value | ) |
Sets the timer resolution.
| value | The timer resolution |
Definition at line 684 of file alsaqueue.cpp.
| void setType | ( | snd_seq_queue_timer_type_t | value | ) |
Sets the timer type.
The timer type can be one of the following constants:
| value | The timer type |
Definition at line 656 of file alsaqueue.cpp.