| 121 | } |
| 122 | |
| 123 | void Play(int index) { |
| 124 | if (index < 0 || static_cast<unsigned int>(index) >= this->count) { |
| 125 | return; |
| 126 | } |
| 127 | |
| 128 | Set(); |
| 129 | ::PlayAutomationEvent(this->events[index]); |
| 130 | } |
| 131 | protected: |
| 132 | void set(const ::AutomationEventList& other) { |
| 133 | capacity = other.capacity; |