drumstick 2.9.0
C++ MIDI libraries using Qt objects, idioms, and style.
|
ALSA Timer status container. More...
#include <alsatimer.h>
Public Member Functions | |
TimerStatus () | |
Default constructor. | |
TimerStatus (const TimerStatus &other) | |
Copy constructor. More... | |
TimerStatus (const snd_timer_status_t *other) | |
Constructor. More... | |
virtual | ~TimerStatus () |
Destructor. | |
TimerStatus * | clone () |
Copy the current object. More... | |
TimerStatus & | operator= (const TimerStatus &other) |
Assignment operator. More... | |
int | getSizeOfInfo () const |
Gets the size of the ALSA timer status object. More... | |
snd_htimestamp_t | getTimestamp () |
Gets the high resolution time-stamp. More... | |
long | getResolution () |
Gets the resolution in us. More... | |
long | getLost () |
Gets the master tick lost count. More... | |
long | getOverrun () |
Gets the overrun count. More... | |
long | getQueue () |
Gets the count of used queue elements. More... | |
This class provides some status information about a Timer.
Definition at line 236 of file alsatimer.h.
TimerStatus | ( | const TimerStatus & | other | ) |
Copy constructor.
other | Existing TimerStatus object reference |
Definition at line 933 of file alsatimer.cpp.
|
explicit |
Constructor.
other | Pointer to an existing ALSA timer status object |
Definition at line 923 of file alsatimer.cpp.
TimerStatus * clone | ( | ) |
Copy the current object.
Definition at line 952 of file alsatimer.cpp.
References TimerStatus::TimerStatus().
long getLost | ( | ) |
Gets the master tick lost count.
Definition at line 996 of file alsatimer.cpp.
long getOverrun | ( | ) |
long getQueue | ( | ) |
Gets the count of used queue elements.
Definition at line 1016 of file alsatimer.cpp.
long getResolution | ( | ) |
int getSizeOfInfo | ( | ) | const |
Gets the size of the ALSA timer status object.
Definition at line 1026 of file alsatimer.cpp.
snd_htimestamp_t getTimestamp | ( | ) |
Gets the high resolution time-stamp.
Definition at line 976 of file alsatimer.cpp.
Referenced by Timer::startEvents().
TimerStatus & operator= | ( | const TimerStatus & | other | ) |
Assignment operator.
other | Existing TimerStatus object reference |
Definition at line 963 of file alsatimer.cpp.