view ReporterBase.h @ 430:2d14d21f826b api-inversion

Make the keys std::set in adb_t a std::map instead. The key's index can usefully be the value, and now suddenly we can remove audioDB::getKeyPos and its oh-so-helpful "this should be an STL map" comment.
author mas01cr
date Wed, 24 Dec 2008 10:55:36 +0000
parents d9a88cfd4ab6
children d3afc91d205d
line wrap: on
line source

#ifndef __REPORTERBASE_H
#define __REPORTERBASE_H

class ReporterBase {
public:
  virtual ~ReporterBase(){};
  virtual void add_point(unsigned int trackID, unsigned int qpos, unsigned int spos, double dist) = 0;
  virtual void report(char*,void*) = 0;
};

#endif