Mercurial > hg > audiodb
view accumulator.h @ 657:4c4389325ae4
Better RNG initialization
On platforms where it's available, use gettimeofday() and mix in the ~20
bits that that gives to the high (slowly-changing) bits of the seconds
since the Epoch.
author | mas01cr |
---|---|
date | Tue, 05 Jan 2010 14:45:00 +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