drumstick
0.5.0
|
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... | |
ALSA Timer status container.
This class provides some status information about a Timer.
Definition at line 220 of file alsatimer.h.
TimerStatus | ( | const TimerStatus & | other | ) |
Copy constructor.
other | Existing TimerStatus object reference |
Definition at line 925 of file alsatimer.cpp.
TimerStatus | ( | const snd_timer_status_t * | other | ) |
Constructor.
other | Pointer to an existing ALSA timer status object |
Definition at line 915 of file alsatimer.cpp.
TimerStatus * clone | ( | ) |
Copy the current object.
Definition at line 944 of file alsatimer.cpp.
References TimerStatus::TimerStatus().
long getLost | ( | ) |
Gets the master tick lost count.
Definition at line 986 of file alsatimer.cpp.
long getOverrun | ( | ) |
long getQueue | ( | ) |
Gets the count of used queue elements.
Definition at line 1006 of file alsatimer.cpp.
long getResolution | ( | ) |
int getSizeOfInfo | ( | ) | const |
Gets the size of the ALSA timer status object.
Definition at line 1016 of file alsatimer.cpp.
snd_htimestamp_t getTimestamp | ( | ) |
Gets the high resolution time-stamp.
Definition at line 966 of file alsatimer.cpp.
Referenced by Timer::startEvents().
TimerStatus & operator= | ( | const TimerStatus & | other | ) |
Assignment operator.
other | Existing TimerStatus object reference |
Definition at line 955 of file alsatimer.cpp.