More...
|
Name |
|
SlidingWindow(uint64_t windowDuration, std::function< bool(T const &, T const &)> comparator, T defaultReturnValue) |
| T |
query(uint64_t currentTimestamp) |
| T |
getValueInTimestamp(uint64_t timestamp) const |
| void |
setValue(uint64_t timestamp, T value) |
template <typename T >
class cvedia::rt::SlidingWindow;
inline SlidingWindow(
uint64_t windowDuration,
std::function< bool(T const &, T const &)> comparator,
T defaultReturnValue
)
inline T query(
uint64_t currentTimestamp
)
inline T getValueInTimestamp(
uint64_t timestamp
) const
inline void setValue(
uint64_t timestamp,
T value
)