comparison src/Finder.h @ 167:28c73e5db2eb structure

Allow querying the best-estimate reference frame for the current feed point; don't heap-allocate finder
author Chris Cannam
date Thu, 05 Feb 2015 14:06:57 +0000
parents 4159f6b71942
children bb4507f24dc9
comparison
equal deleted inserted replaced
158:d6cdbd814c8c 167:28c73e5db2eb
24 24
25 class Finder 25 class Finder
26 { 26 {
27 public: 27 public:
28 Finder(Matcher *pm); 28 Finder(Matcher *pm);
29
30 // default copy ctor and operator= are fine
29 31
30 ~Finder(); 32 ~Finder();
31 33
32 void setMatcher(Matcher *pm); 34 void setMatcher(Matcher *pm);
33 35
114 Matcher::Advance advanceShouldBe; 116 Matcher::Advance advanceShouldBe;
115 }; 117 };
116 ErrorPosition checkPathCostMatrix(); 118 ErrorPosition checkPathCostMatrix();
117 void checkAndReport(); 119 void checkAndReport();
118 #endif 120 #endif
119 121
120 Matcher *m_m; // I do not own this 122 Matcher *m_m; // I do not own this
121 123
122 int m_duration1; 124 int m_duration1;
123 int m_duration2; 125 int m_duration2;
124 }; 126 };