120 |
SynchronizedConfig< ArrayList<VirtualMidiDevice*> >::Reader virtualMidiDevicesReader_AudioThread; |
SynchronizedConfig< ArrayList<VirtualMidiDevice*> >::Reader virtualMidiDevicesReader_AudioThread; |
121 |
SynchronizedConfig< ArrayList<VirtualMidiDevice*> >::Reader virtualMidiDevicesReader_MidiThread; |
SynchronizedConfig< ArrayList<VirtualMidiDevice*> >::Reader virtualMidiDevicesReader_MidiThread; |
122 |
|
|
123 |
std::map<uint,RTList<Event>*> ActiveKeyGroups; ///< Contains event queues for key groups, ordered by key group ID. |
// specialization of RTList that doesn't require the pool |
124 |
|
// to be provided at construction time |
125 |
|
template<typename T> |
126 |
|
class LazyList : public RTList<T> { |
127 |
|
public: |
128 |
|
using RTList<T>::allocAppend; |
129 |
|
using RTList<T>::pPool; |
130 |
|
|
131 |
|
LazyList() : RTList<T>(0) { } |
132 |
|
typename RTList<T>::Iterator allocAppend(Pool<T>* pool) { |
133 |
|
pPool = pool; |
134 |
|
return allocAppend(); |
135 |
|
} |
136 |
|
}; |
137 |
|
|
138 |
|
typedef std::map<uint, LazyList<Event>*> ActiveKeyGroupMap; |
139 |
|
ActiveKeyGroupMap ActiveKeyGroups; ///< Contains event queues for key groups, ordered by key group ID. |
140 |
|
|
141 |
virtual void ResetControllers(); |
virtual void ResetControllers(); |
142 |
virtual void ResetInternal(); |
virtual void ResetInternal(); |