annotate accumulator.h @ 507:e7fd50483311

Free bits of the datum constructed in audioDB::query. We're not quite safe: error calls between allocation of some of these bits and pieces and their use will cause failure... but not freeing things here is definitely wrong.
author mas01cr
date Tue, 13 Jan 2009 21:37:10 +0000
parents 342822c2d49a
children
rev   line source
mas01cr@498 1 #ifndef ACCUMULATOR_H
mas01cr@498 2 #define ACCUMULATOR_H
mas01cr@498 3
mas01cr@498 4 class Accumulator {
mas01cr@498 5 public:
mas01cr@498 6 virtual ~Accumulator() {};
mas01cr@498 7 virtual void add_point(adb_result_t *r) = 0;
mas01cr@498 8 virtual adb_query_results_t *get_points() = 0;
mas01cr@498 9 };
mas01cr@498 10
mas01cr@498 11 #endif