view ReporterBase.h @ 416:6e6f4c1cc14d api-inversion

Initial implementation of accumulators for forthcoming audiodb_query(). Minimally tested using a temporary test harness; do not use as food. As well as the necessary C++ magic, doodle in API header files aiming vaguely for a sane API.
author mas01cr
date Wed, 24 Dec 2008 10:54:40 +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