drumstick 2.9.0
C++ MIDI libraries using Qt objects, idioms, and style.
|
Global timer information container. More...
#include <alsatimer.h>
Public Member Functions | |
TimerGlobalInfo () | |
Default constructor. | |
TimerGlobalInfo (const TimerGlobalInfo &other) | |
Copy constructor. More... | |
TimerGlobalInfo (const snd_timer_ginfo_t *other) | |
Constructor. More... | |
virtual | ~TimerGlobalInfo () |
Destructor. | |
TimerGlobalInfo * | clone () |
Copy the current object. More... | |
TimerGlobalInfo & | operator= (const TimerGlobalInfo &other) |
Assignment operator. More... | |
int | getSizeOfInfo () const |
Gets the size of the ALSA timer global info object. More... | |
void | setTimerId (const TimerId &tid) |
Sets the timer identifier. More... | |
TimerId & | getTimerId () |
Gets the timer identifier. More... | |
unsigned int | getFlags () |
Gets the flags. More... | |
int | getCard () |
Gets the card number. More... | |
QString | getId () |
Gets the timer ID string. More... | |
QString | getName () |
Gets the timer name. More... | |
unsigned long | getResolution () |
Gets the timer resolution in ns. More... | |
unsigned long | getMinResolution () |
Gets timer minimal resolution in ns. More... | |
unsigned long | getMaxResolution () |
Gets timer maximal resolution in ns. More... | |
unsigned int | getClients () |
Gets current timer clients. More... | |
Global timer information container.
This class provides global timer parameters.
Definition at line 136 of file alsatimer.h.
TimerGlobalInfo | ( | const TimerGlobalInfo & | other | ) |
Copy constructor.
other | Existing TimerGlobalInfo object reference |
Definition at line 571 of file alsatimer.cpp.
|
explicit |
Constructor.
other | ALSA global info object pointer |
Definition at line 561 of file alsatimer.cpp.
TimerGlobalInfo * clone | ( | ) |
Copy the current object.
Definition at line 590 of file alsatimer.cpp.
References TimerGlobalInfo::TimerGlobalInfo().
int getCard | ( | ) |
unsigned int getClients | ( | ) |
unsigned int getFlags | ( | ) |
QString getId | ( | ) |
unsigned long getMaxResolution | ( | ) |
Gets timer maximal resolution in ns.
Definition at line 696 of file alsatimer.cpp.
unsigned long getMinResolution | ( | ) |
Gets timer minimal resolution in ns.
Definition at line 686 of file alsatimer.cpp.
QString getName | ( | ) |
unsigned long getResolution | ( | ) |
Gets the timer resolution in ns.
Definition at line 676 of file alsatimer.cpp.
int getSizeOfInfo | ( | ) | const |
Gets the size of the ALSA timer global info object.
Definition at line 716 of file alsatimer.cpp.
TimerId & getTimerId | ( | ) |
Gets the timer identifier.
Definition at line 625 of file alsatimer.cpp.
TimerGlobalInfo & operator= | ( | const TimerGlobalInfo & | other | ) |
Assignment operator.
other | Existing TimerGlobalInfo object reference |
Definition at line 601 of file alsatimer.cpp.
void setTimerId | ( | const TimerId & | tid | ) |
Sets the timer identifier.
tid | TimerId object reference |
Definition at line 614 of file alsatimer.cpp.