view accumulator.h @ 563:c6036e0a511a

Work around the non-universality of fdatasync() POSIX, which specifies fdatasync(), also apparently specifies that POSIX_SYNCHRONIZED_IO is defined to a non-zero value if fdatasync() is available -- or at least that's what the man page suggests on Linux. This is probably good enough for us, anyway.
author mas01cr
date Thu, 18 Jun 2009 11:01:31 +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