drumstick 2.9.0
C++ MIDI libraries using Qt objects, idioms, and style.
|
ALSA Timer parameters container. More...
#include <alsatimer.h>
Public Member Functions | |
TimerParams () | |
Default constructor. | |
TimerParams (const TimerParams &other) | |
Copy constructor. More... | |
TimerParams (const snd_timer_params_t *other) | |
Constructor. More... | |
virtual | ~TimerParams () |
Destructor. | |
TimerParams * | clone () |
Copy the current object. More... | |
TimerParams & | operator= (const TimerParams &other) |
Assignment operator. More... | |
int | getSizeOfInfo () const |
Gets the size of the ALSA timer parameters object. More... | |
void | setAutoStart (bool auto_start) |
Sets the automatic start flag. More... | |
bool | getAutoStart () |
Gets the automatic start flag. More... | |
void | setExclusive (bool exclusive) |
Sets the exclusive flag. More... | |
bool | getExclusive () |
Gets the timer's exclusive flag. More... | |
void | setEarlyEvent (bool early_event) |
Sets the timer early event. More... | |
bool | getEarlyEvent () |
Gets the timer early event. More... | |
void | setTicks (long ticks) |
Sets the timer ticks. More... | |
long | getTicks () |
Gets the timer ticks. More... | |
void | setQueueSize (long queue_size) |
Sets the queue size (32-1024) More... | |
long | getQueueSize () |
Gets the queue size. More... | |
void | setFilter (unsigned int filter) |
Sets the event filter. More... | |
unsigned int | getFilter () |
Gets the event filter. More... | |
ALSA Timer parameters container.
This class provides several parameters about a Timer.
Definition at line 201 of file alsatimer.h.
TimerParams | ( | const TimerParams & | other | ) |
Copy constructor.
other | Existing TimerParams object reference |
Definition at line 743 of file alsatimer.cpp.
|
explicit |
Constructor.
other | Pointer to an ALSA timer parameters object |
Definition at line 733 of file alsatimer.cpp.
TimerParams * clone | ( | ) |
Copy the current object.
Definition at line 762 of file alsatimer.cpp.
References TimerParams::TimerParams().
bool getAutoStart | ( | ) |
Gets the automatic start flag.
Definition at line 796 of file alsatimer.cpp.
bool getEarlyEvent | ( | ) |
bool getExclusive | ( | ) |
Gets the timer's exclusive flag.
Definition at line 816 of file alsatimer.cpp.
unsigned int getFilter | ( | ) |
long getQueueSize | ( | ) |
int getSizeOfInfo | ( | ) | const |
Gets the size of the ALSA timer parameters object.
Definition at line 906 of file alsatimer.cpp.
long getTicks | ( | ) |
TimerParams & operator= | ( | const TimerParams & | other | ) |
Assignment operator.
other | Existing TimerParams object reference |
Definition at line 773 of file alsatimer.cpp.
void setAutoStart | ( | bool | auto_start | ) |
Sets the automatic start flag.
auto_start | Value for the automatic start flag |
Definition at line 786 of file alsatimer.cpp.
void setEarlyEvent | ( | bool | early_event | ) |
Sets the timer early event.
early_event | Timer early event |
Definition at line 826 of file alsatimer.cpp.
void setExclusive | ( | bool | exclusive | ) |
Sets the exclusive flag.
exclusive | True if the timer has the exclusive flag |
Definition at line 806 of file alsatimer.cpp.
void setFilter | ( | unsigned int | filter | ) |
void setQueueSize | ( | long | queue_size | ) |
Sets the queue size (32-1024)
queue_size | Queue size |
Definition at line 866 of file alsatimer.cpp.
void setTicks | ( | long | ticks | ) |