view accumulator.h @ 440:91addb6ce4c4 api-inversion

We plan to make audiodb_insert_datum() an API function That means that we had better not claim success, or more probably fail dramatically, when calling it on a database which happens to have the LARGE_ADB attribute.
author mas01cr
date Wed, 24 Dec 2008 10:56:22 +0000
parents a7d61291fbda
children
line wrap: on
line source
#ifndef ACCUMULATOR_H
#define ACCUMULATOR_H

class Accumulator {
public:
  virtual ~Accumulator() {};
  virtual void add_point(adb_result_t *r) = 0;
  virtual adb_query_results_t *get_points() = 0;
};

#endif