drumstick
0.5.0
|
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 80 of file alsaqueue.h.
QueueStatus | ( | const QueueStatus & | other | ) |
Copy constructor.
other | An existing QueueStatus object reference |
Definition at line 226 of file alsaqueue.cpp.
QueueStatus | ( | snd_seq_queue_status_t * | other | ) |
Constructor.
other | ALSA queue status object pointer |
Definition at line 216 of file alsaqueue.cpp.
QueueStatus * clone | ( | ) |
Copy the current object and return the copy.
Definition at line 244 of file alsaqueue.cpp.
References QueueStatus::QueueStatus().
double getClockTime | ( | ) |
Gets the clock time in seconds of the queue.
Definition at line 327 of file alsaqueue.cpp.
int getEvents | ( | ) |
Gets the number of queued events.
Definition at line 273 of file alsaqueue.cpp.
Referenced by SequencerOutputThread::syncOutput().
int getId | ( | ) |
Gets the queue's numeric identifier.
Definition at line 264 of file alsaqueue.cpp.
int getInfoSize | ( | ) | const |
Gets the size of the ALSA status object.
Definition at line 309 of file alsaqueue.cpp.
const snd_seq_real_time_t * getRealtime | ( | ) |
Gets the real time (secods and nanoseconds) of the queue.
Definition at line 282 of file alsaqueue.cpp.
unsigned int getStatusBits | ( | ) |
Gets the running status bits.
Definition at line 291 of file alsaqueue.cpp.
snd_seq_tick_time_t getTickTime | ( | ) |
Gets the musical time (ticks) of the queue.
Definition at line 300 of file alsaqueue.cpp.
bool isRunning | ( | ) |
Gets the queue's running state.
Definition at line 318 of file alsaqueue.cpp.
QueueStatus & operator= | ( | const QueueStatus & | other | ) |
Assignment operator.
other | An existing QueueStatus object reference |
Definition at line 254 of file alsaqueue.cpp.