view ReporterBase.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 23c47e118bc6
children
line wrap: on
line source

#ifndef __REPORTERBASE_H
#define __REPORTERBASE_H

class ReporterBase {
public:
  virtual ~ReporterBase(){};
  virtual void add_point(unsigned int trackID, unsigned int qpos, unsigned int spos, double dist) = 0;
  virtual void report(adb_t *, struct soap *, void *) = 0;
};

#endif