comparison data/model/RegionModel.h @ 1657:31b46a5647db single-point

Forward the matching-event functions
author Chris Cannam
date Wed, 20 Mar 2019 15:45:52 +0000
parents e4084bc60fe8
children 8bf3a52a1604
comparison
equal deleted inserted replaced
1656:e4084bc60fe8 1657:31b46a5647db
147 EventVector getEventsStartingWithin(sv_frame_t f, sv_frame_t duration) const { 147 EventVector getEventsStartingWithin(sv_frame_t f, sv_frame_t duration) const {
148 return m_events.getEventsStartingWithin(f, duration); 148 return m_events.getEventsStartingWithin(f, duration);
149 } 149 }
150 EventVector getEventsStartingAt(sv_frame_t f) const { 150 EventVector getEventsStartingAt(sv_frame_t f) const {
151 return m_events.getEventsStartingAt(f); 151 return m_events.getEventsStartingAt(f);
152 }
153 bool getNearestEventMatching(sv_frame_t startSearchAt,
154 std::function<bool(Event)> predicate,
155 EventSeries::Direction direction,
156 Event &found) const {
157 return m_events.getNearestEventMatching
158 (startSearchAt, predicate, direction, found);
152 } 159 }
153 160
154 /** 161 /**
155 * Editing methods. 162 * Editing methods.
156 */ 163 */