annotate ReporterBase.h @ 601:82d23418d867

Fix some fd leaks in the command-line binary Strictly speaking, they're not really leaks, because the only codepath that suffers from these leaks exits immediately afterwards. On the other hand, this fix makes valgrind on e.g. tests/0025 happier, going from 5 errors to none.
author mas01cr
date Fri, 14 Aug 2009 16:39:32 +0000
parents 23c47e118bc6
children
rev   line source
mas01mc@292 1
mas01mc@292 2 #ifndef __REPORTERBASE_H
mas01mc@292 3 #define __REPORTERBASE_H
mas01mc@292 4
mas01mc@292 5 class ReporterBase {
mas01mc@292 6 public:
mas01mc@292 7 virtual ~ReporterBase(){};
mas01mc@292 8 virtual void add_point(unsigned int trackID, unsigned int qpos, unsigned int spos, double dist) = 0;
mas01cr@508 9 virtual void report(adb_t *, struct soap *, void *) = 0;
mas01mc@292 10 };
mas01mc@292 11
mas01mc@292 12 #endif