![]() |
drumstick 2.10.0
C++ MIDI libraries using Qt objects, idioms, and style.
|
Auxiliary class to remove events from an ALSA queue. More...
#include <alsaevent.h>
Public Member Functions | |
| RemoveEvents () | |
| Default constructor. | |
| RemoveEvents (const RemoveEvents &other) | |
| Copy constructor. More... | |
| RemoveEvents (snd_seq_remove_events_t *other) | |
| Constructor from an ALSA remove events object pointer. More... | |
| virtual | ~RemoveEvents () |
| Destructor. | |
| RemoveEvents * | clone () |
| Create a new object copied from this object and return a pointer to the copy. More... | |
| RemoveEvents & | operator= (const RemoveEvents &other) |
| Assignment operator. More... | |
| int | getSizeOfInfo () const |
| Gets the allocated size of the ALSA remove events object. More... | |
| int | getChannel () |
| Gets the MIDI channel. More... | |
| unsigned int | getCondition () |
| Gets the condition. More... | |
| const snd_seq_addr_t * | getDest () |
| Gets the destination. More... | |
| int | getEventType () |
| Gets the event type. More... | |
| int | getQueue () |
| Gets the queue number. More... | |
| int | getTag () |
| Gets the numeric tag. More... | |
| const snd_seq_timestamp_t * | getTime () |
| Gets the timestamp. More... | |
| void | setChannel (int chan) |
| Gets the MIDI channel. More... | |
| void | setCondition (unsigned int cond) |
| Sets the flags of the conditional event's removal. More... | |
| void | setDest (const snd_seq_addr_t *dest) |
| Set the destination address. More... | |
| void | setEventType (int type) |
| Sets the event type. More... | |
| void | setQueue (int queue) |
| Sets the queue number. More... | |
| void | setTag (int tag) |
| Sets the numeric tag. More... | |
| void | setTime (const snd_seq_timestamp_t *time) |
| Sets the timestamp. More... | |
Auxiliary class to remove events from an ALSA queue.
Definition at line 751 of file alsaevent.h.
| RemoveEvents | ( | const RemoveEvents & | other | ) |
Copy constructor.
| other | An existing RemoveEvents object reference. |
Definition at line 935 of file alsaevent.cpp.
|
explicit |
Constructor from an ALSA remove events object pointer.
| other | An ALSA remove events object pointer. |
Definition at line 945 of file alsaevent.cpp.
| RemoveEvents * clone | ( | ) |
Create a new object copied from this object and return a pointer to the copy.
Definition at line 964 of file alsaevent.cpp.
References RemoveEvents::RemoveEvents().
| int getChannel | ( | ) |
Gets the MIDI channel.
Definition at line 999 of file alsaevent.cpp.
| unsigned int getCondition | ( | ) |
Gets the condition.
Definition at line 1010 of file alsaevent.cpp.
| const snd_seq_addr_t * getDest | ( | ) |
Gets the destination.
Definition at line 1021 of file alsaevent.cpp.
| int getEventType | ( | ) |
Gets the event type.
Definition at line 1032 of file alsaevent.cpp.
| int getQueue | ( | ) |
Gets the queue number.
Definition at line 1043 of file alsaevent.cpp.
| int getSizeOfInfo | ( | ) | const |
Gets the allocated size of the ALSA remove events object.
Definition at line 988 of file alsaevent.cpp.
| int getTag | ( | ) |
Gets the numeric tag.
Definition at line 1054 of file alsaevent.cpp.
| const snd_seq_timestamp_t * getTime | ( | ) |
Gets the timestamp.
Definition at line 1065 of file alsaevent.cpp.
| RemoveEvents & operator= | ( | const RemoveEvents & | other | ) |
Assignment operator.
| other | An existing RemoveEvents object reference. |
Definition at line 975 of file alsaevent.cpp.
| void setChannel | ( | int | chan | ) |
Gets the MIDI channel.
| chan | The MIDI channel. |
Definition at line 1076 of file alsaevent.cpp.
| void setCondition | ( | unsigned int | cond | ) |
Sets the flags of the conditional event's removal.
This condition is a bitmap of the combination (OR) the following auto-described flags:
| cond | The condition bitmap. |
Definition at line 1100 of file alsaevent.cpp.
| void setDest | ( | const snd_seq_addr_t * | dest | ) |
Set the destination address.
| dest | A pointer to the destination address record. |
Definition at line 1111 of file alsaevent.cpp.
| void setEventType | ( | int | type | ) |
Sets the event type.
| type | The event type. |
Definition at line 1122 of file alsaevent.cpp.
| void setQueue | ( | int | queue | ) |
Sets the queue number.
| queue | The queue number. |
Definition at line 1133 of file alsaevent.cpp.
| void setTag | ( | int | tag | ) |
Sets the numeric tag.
| tag | The numeric tag. |
Definition at line 1144 of file alsaevent.cpp.
| void setTime | ( | const snd_seq_timestamp_t * | time | ) |
Sets the timestamp.
| time | A pointer to the timestamp record. |
Definition at line 1155 of file alsaevent.cpp.