VideoTools
|
A concrete Database class that aggregates up to one second intervals and then delegates to (eg.) DatabaseRrd. More...
Public Member Functions | |
DatabaseWrapper (const std::string &path) | |
virtual void | add (time_t, unsigned int n, unsigned int dx, unsigned int dy, unsigned int squelch, unsigned int apathy) override |
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) override |
Creates a graph image in the supplied string buffer and returns the image type. More... | |
Public Member Functions inherited from Gv::Database | |
virtual | ~Database () |
Destructor. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gv::Database | |
static Database * | create (const std::string &path) |
Factory function. | |
A concrete Database class that aggregates up to one second intervals and then delegates to (eg.) DatabaseRrd.
Definition at line 41 of file gvdatabase.cpp.
|
overridevirtual |
Adds a data point for an analysis value 'n' at time 't', together with the analysis parameters (image size, 'squelch' and 'apathy').
Implements Gv::Database.
Definition at line 103 of file gvdatabase.cpp.
|
overridevirtual |
Creates a graph image in the supplied string buffer and returns the image type.
Returns the empty string if not valid.
Implements Gv::Database.
Definition at line 130 of file gvdatabase.cpp.