view accumulator.h @ 578:dabbde72e331

Make the initialization of adbpd objects useful Provide a single argument, naming the database, and actually use that argument. Also provide a destructor method which closes an open database, and a useful create method (now with 100% fewer 2GB files).
author mas01cr
date Mon, 06 Jul 2009 16:44:59 +0000
parents 342822c2d49a
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