|
| template<typename T> |
| TimeType | insert (const Event_< T > &e) |
| | Insert an event, storing e.t at pixel (e.x, e.y).
|
| template<typename T> |
| TimeType | emplace (const T x, const T y, const TimeType t) |
| | Store timestamp t at (x, y) without constructing an Event_.
|
| void | updateStats (const Event &e) |
| | Account for an event in the statistics reported by count() and duration().
|
| CounterType | count () const |
| | Number of events accounted for by updateStats() since the last resetStats().
|
| TimeType | duration () const |
| | Time elapsed between the first and the last event accounted for by updateStats().
|
|
void | resetStats () |
| | Reset statistics (count, first timestamp, last timestamp).
|
|
void | clear () |
| | Reset all pixels.
|
Spatial map storing the timestamp of the most recent event at each pixel.
Each insertion overwrites the stored timestamp unconditionally; only the latest timestamp per pixel is retained. Timestamps are stored as TimeType.