Mercurial > hg > match-vamp
diff src/Matcher.h @ 78:9be9182d4321 refactors
Remove more friend-classes
author | Chris Cannam |
---|---|
date | Wed, 19 Nov 2014 14:14:52 +0000 |
parents | b9aa663a607b |
children | 10e76188c846 |
line wrap: on
line diff
--- a/src/Matcher.h Wed Nov 19 11:59:03 2014 +0000 +++ b/src/Matcher.h Wed Nov 19 14:14:52 2014 +0000 @@ -102,6 +102,8 @@ */ Matcher(Parameters parameters, Matcher *p, int featureSize); + /** Destructor for Matcher. + */ ~Matcher(); /** Adds a link to the Matcher object representing the performance @@ -113,6 +115,14 @@ m_otherMatcher = p; } + int getBlockSize() { + return m_blockSize; + } + + bool isOverrunning() { + return m_runCount >= m_params.maxRunCount; + } + int getFrameCount() { return m_frameCount; } @@ -290,10 +300,6 @@ bool m_initialised; DistanceMetric m_metric; - - friend class MatchFeeder; - friend class MatchFeatureFeeder; - -}; // class Matcher +}; #endif