comparison data/model/AggregateWaveModel.h @ 1389:770f80d9ccee

Invalidate an aggregate model when one of its components announces it's about to be deleted
author Chris Cannam
date Mon, 27 Feb 2017 15:43:30 +0000
parents 54af1e21705c
children 1a572937ed8c
comparison
equal deleted inserted replaced
1388:246876022b35 1389:770f80d9ccee
82 82
83 protected slots: 83 protected slots:
84 void componentModelChanged(); 84 void componentModelChanged();
85 void componentModelChangedWithin(sv_frame_t, sv_frame_t); 85 void componentModelChangedWithin(sv_frame_t, sv_frame_t);
86 void componentModelCompletionChanged(); 86 void componentModelCompletionChanged();
87 void componentModelAboutToBeDeleted();
87 88
88 protected: 89 protected:
89 ChannelSpecList m_components; 90 ChannelSpecList m_components;
90 static PowerOfSqrtTwoZoomConstraint m_zoomConstraint; 91 static PowerOfSqrtTwoZoomConstraint m_zoomConstraint;
92 bool m_invalidated; // because one of its component models is aboutToBeDeleted
91 }; 93 };
92 94
93 #endif 95 #endif
94 96