Mercurial > hg > audiodb
view accumulator.h @ 431:8632cd387e24 api-inversion
Punishment gluttony.
Continue teasing out vague orthogonalities by beginning the task of
using an adb_query_parameters_t. This does have the benefit of making
the distance calculation clearer, and we begin to see the shape of a
putative audiodb_query() emerging from the shrapnel of audioDB::query.
(Only the general shape; the detail is still a long, long way away).
author | mas01cr |
---|---|
date | Wed, 24 Dec 2008 10:55:40 +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