#include <plotter.h>
Public Member Functions | |
void | Add (float val) |
void | Clear () |
DataSequence (unsigned int buffer_size=1024, unsigned size=0, float val=0.0f) | |
bool | HasData (int i) const |
float | operator[] (unsigned int i) const |
Public Attributes | |
int | firstn |
float | max_y |
float | min_y |
int | n |
float | sum_y |
float | sum_y_sq |
boost::circular_buffer< float > | y |
pangolin::DataSequence::DataSequence | ( | unsigned int | buffer_size = 1024 , |
unsigned | size = 0 , |
||
float | val = 0.0f |
||
) |
Definition at line 46 of file plotter.cpp.
void pangolin::DataSequence::Add | ( | float | val | ) |
Definition at line 54 of file plotter.cpp.
void pangolin::DataSequence::Clear | ( | ) |
Definition at line 65 of file plotter.cpp.
bool pangolin::DataSequence::HasData | ( | int | i | ) | const [inline] |
float pangolin::DataSequence::operator[] | ( | unsigned int | i | ) | const |
Definition at line 76 of file plotter.cpp.
boost::circular_buffer<float> pangolin::DataSequence::y |