comparison data/model/RegionModel.h @ 1656:e4084bc60fe8 single-point

Test & fixes for getEventsStartingAt
author Chris Cannam
date Wed, 20 Mar 2019 14:58:56 +0000
parents 0cfb882155a6
children 31b46a5647db
comparison
equal deleted inserted replaced
1655:0cfb882155a6 1656:e4084bc60fe8
136 return m_events.getAllEvents(); 136 return m_events.getAllEvents();
137 } 137 }
138 EventVector getEventsSpanning(sv_frame_t f, sv_frame_t duration) const { 138 EventVector getEventsSpanning(sv_frame_t f, sv_frame_t duration) const {
139 return m_events.getEventsSpanning(f, duration); 139 return m_events.getEventsSpanning(f, duration);
140 } 140 }
141 EventVector getEventsCovering(sv_frame_t f) const {
142 return m_events.getEventsCovering(f);
143 }
141 EventVector getEventsWithin(sv_frame_t f, sv_frame_t duration) const { 144 EventVector getEventsWithin(sv_frame_t f, sv_frame_t duration) const {
142 return m_events.getEventsWithin(f, duration); 145 return m_events.getEventsWithin(f, duration);
143 } 146 }
144 EventVector getEventsStartingWithin(sv_frame_t f, sv_frame_t duration) const { 147 EventVector getEventsStartingWithin(sv_frame_t f, sv_frame_t duration) const {
145 return m_events.getEventsStartingWithin(f, duration); 148 return m_events.getEventsStartingWithin(f, duration);
146 } 149 }
147 EventVector getEventsCovering(sv_frame_t f) const { 150 EventVector getEventsStartingAt(sv_frame_t f) const {
148 return m_events.getEventsCovering(f); 151 return m_events.getEventsStartingAt(f);
149 } 152 }
150 153
151 /** 154 /**
152 * Editing methods. 155 * Editing methods.
153 */ 156 */