This class extends std::queue to implement event queues. For more information, please refer here. More...
#include <queue.hpp>
 Public Member Functions | |
| double | duration () const | 
| Time difference between the last and the first event.   | |
| double | rate () const | 
| Compute event rate as the ratio between the number of events and the time difference between the last and the first event.   | |
| Eventd | mean () | 
| Compute the mean of the events.   | |
| cv::Point2d | meanPoint () | 
| Compute the mean x,y point of the events.   | |
| double | meanTime () | 
| Compute the mean time of the events.   | |
| double | midTime () const | 
| Calculate the midpoint time between the oldest and the newest event.   | |
This class extends std::queue to implement event queues. For more information, please refer here.
Event queues inherit all the properties from standard C++ queues. Events queues are FIFO data structures not intended to be directly iterated.
      
  | 
  inlinenodiscard | 
Time difference between the last and the first event.
      
  | 
  nodiscard | 
Compute the mean of the events.
      
  | 
  inlinenodiscard | 
Compute the mean x,y point of the events.
      
  | 
  inlinenodiscard | 
Compute the mean time of the events.
      
  | 
  inlinenodiscard | 
Calculate the midpoint time between the oldest and the newest event.
      
  | 
  inlinenodiscard | 
Compute event rate as the ratio between the number of events and the time difference between the last and the first event.