VideoTools
|
An abstract interface for a timeseries database that holds video analysis statistics. More...
#include <gvdatabase.h>
Public Member Functions | |
virtual void | add (time_t t, unsigned int n, unsigned int dx, unsigned int dy, unsigned int squelch, unsigned int apathy)=0 |
Adds a data point for an analysis value 'n' at time 't', together with the analysis parameters (image size, 'squelch' and 'apathy'). More... | |
virtual std::string | graph (std::string &, time_t start_time, time_t end_time)=0 |
Creates a graph image in the supplied string buffer and returns the image type. More... | |
virtual | ~Database () |
Destructor. | |
Static Public Member Functions | |
static Database * | create (const std::string &path) |
Factory function. | |
An abstract interface for a timeseries database that holds video analysis statistics.
Definition at line 37 of file gvdatabase.h.
|
pure virtual |
Adds a data point for an analysis value 'n' at time 't', together with the analysis parameters (image size, 'squelch' and 'apathy').
Implemented in Gv::DatabaseWrapper.
|
pure virtual |
Creates a graph image in the supplied string buffer and returns the image type.
Returns the empty string if not valid.
Implemented in Gv::DatabaseWrapper.