grvc_ual  2.2
An abstraction layer for unmanned aerial vehicles
Public Member Functions | Protected Attributes | List of all members
grvc::ual::HistoryBuffer Class Reference

Public Member Functions

void set_size (size_t _size)
 
void reset ()
 
void update (double _value)
 
bool get_stats (double &_min, double &_mean, double &_max)
 
bool get_variance (double &_var)
 

Protected Attributes

size_t buffer_size_ = 0
 
unsigned int current_ = 0
 
std::vector< double > buffer_
 
std::mutex mutex_
 

The documentation for this class was generated from the following file: