![]() |
drumstick 2.10.0
C++ MIDI libraries using Qt objects, idioms, and style.
|
Queue status container. More...
#include <alsaqueue.h>
Public Member Functions | |
| QueueStatus () | |
| Default constructor. | |
| QueueStatus (const QueueStatus &other) | |
| Copy constructor. More... | |
| QueueStatus (snd_seq_queue_status_t *other) | |
| Constructor. More... | |
| virtual | ~QueueStatus () |
| Destructor. | |
| QueueStatus * | clone () |
| Copy the current object and return the copy. More... | |
| QueueStatus & | operator= (const QueueStatus &other) |
| Assignment operator. More... | |
| int | getInfoSize () const |
| Gets the size of the ALSA status object. More... | |
| int | getId () |
| Gets the queue's numeric identifier. More... | |
| int | getEvents () |
| Gets the number of queued events. More... | |
| const snd_seq_real_time_t * | getRealtime () |
| Gets the real time (secods and nanoseconds) of the queue. More... | |
| unsigned int | getStatusBits () |
| Gets the running status bits. More... | |
| bool | isRunning () |
| Gets the queue's running state. More... | |
| double | getClockTime () |
| Gets the clock time in seconds of the queue. More... | |
| snd_seq_tick_time_t | getTickTime () |
| Gets the musical time (ticks) of the queue. More... | |
Queue status container.
This class is used to retrieve some status information from an ALSA queue.
Definition at line 92 of file alsaqueue.h.
| QueueStatus | ( | const QueueStatus & | other | ) |
Copy constructor.
| other | An existing QueueStatus object reference |
Definition at line 235 of file alsaqueue.cpp.
|
explicit |
Constructor.
| other | ALSA queue status object pointer |
Definition at line 225 of file alsaqueue.cpp.
| QueueStatus * clone | ( | ) |
Copy the current object and return the copy.
Definition at line 253 of file alsaqueue.cpp.
References QueueStatus::QueueStatus().
| double getClockTime | ( | ) |
Gets the clock time in seconds of the queue.
Definition at line 338 of file alsaqueue.cpp.
| int getEvents | ( | ) |
Gets the number of queued events.
Definition at line 284 of file alsaqueue.cpp.
| int getId | ( | ) |
Gets the queue's numeric identifier.
Definition at line 275 of file alsaqueue.cpp.
| int getInfoSize | ( | ) | const |
Gets the size of the ALSA status object.
Definition at line 320 of file alsaqueue.cpp.
| const snd_seq_real_time_t * getRealtime | ( | ) |
Gets the real time (secods and nanoseconds) of the queue.
Definition at line 293 of file alsaqueue.cpp.
| unsigned int getStatusBits | ( | ) |
Gets the running status bits.
Definition at line 302 of file alsaqueue.cpp.
| snd_seq_tick_time_t getTickTime | ( | ) |
Gets the musical time (ticks) of the queue.
Definition at line 311 of file alsaqueue.cpp.
| bool isRunning | ( | ) |
Gets the queue's running state.
Definition at line 329 of file alsaqueue.cpp.
| QueueStatus & operator= | ( | const QueueStatus & | other | ) |
Assignment operator.
| other | An existing QueueStatus object reference |
Definition at line 263 of file alsaqueue.cpp.