comparison align/Aligner.h @ 769:a316cb6fed81 pitch-align

Fixes to notification and completion in aligners
author Chris Cannam
date Thu, 28 May 2020 17:04:36 +0100
parents 6429a164b7e1
children
comparison
equal deleted inserted replaced
768:1b1960009be6 769:a316cb6fed81
30 virtual void begin() = 0; 30 virtual void begin() = 0;
31 31
32 signals: 32 signals:
33 /** 33 /**
34 * Emitted when alignment is successfully completed. The reference 34 * Emitted when alignment is successfully completed. The reference
35 * and toAlign models can be queried from the alignment model. 35 * and toAlign models can be queried from the alignment
36 * model. This should be emitted as the last thing the aligner
37 * does, as the recipient may delete the aligner during the call.
36 */ 38 */
37 void complete(ModelId alignmentModel); // an AlignmentModel 39 void complete(ModelId alignmentModel); // an AlignmentModel
38 40
39 /** 41 /**
40 * Emitted when alignment fails. 42 * Emitted when alignment fails. This should be emitted as the
43 * last thing the aligner does, as the recipient may delete the
44 * aligner during the call.
41 */ 45 */
42 void failed(ModelId toAlign, QString errorText); // the toAlign model 46 void failed(ModelId toAlign, QString errorText); // the toAlign model
43 }; 47 };
44 48
45 #endif 49 #endif