#include <CurveDataCircularBuffer.h>
Classes | |
class | Point |
class | XCoordinateRef |
Public Member Functions | |
void | appendPoint (const QPointF &point) |
void | clearPoints () |
CurveDataCircularBuffer (size_t capacity=0) | |
BoundingRectangle | getBounds () const |
size_t | getCapacity () const |
size_t | getNumPoints () const |
QPointF | getPoint (size_t index) const |
QVector< size_t > | getPointsInDistance (double x, double maxDistance) const |
~CurveDataCircularBuffer () | |
Public Member Functions inherited from rqt_multiplot::CurveData | |
void | appendPoint (double x, double y) |
QRectF | boundingRect () const |
CurveData () | |
QPair< double, double > | getAxisBounds (CurveConfig::Axis axis) const |
double | getValue (size_t index, CurveConfig::Axis axis) const |
bool | isEmpty () const |
QPointF | sample (size_t i) const |
size_t | size () const |
void | writeFormatted (QStringList &formattedX, QStringList &formattedY) const |
~CurveData () | |
Private Types | |
typedef boost::heap::d_ary_heap< double, boost::heap::arity< 2 >, boost::heap::mutable_< true >, boost::heap::compare< std::less< double > > > | CoordinateMaxHeap |
typedef boost::heap::d_ary_heap< double, boost::heap::arity< 2 >, boost::heap::mutable_< true >, boost::heap::compare< std::greater< double > > > | CoordinateMinHeap |
typedef boost::circular_buffer< Point > | Points |
typedef boost::heap::d_ary_heap< XCoordinateRef, boost::heap::arity< 2 >, boost::heap::mutable_< true >, boost::heap::compare< std::greater< XCoordinateRef > > > | XCoordinateRefMinHeap |
Private Attributes | |
Points | points_ |
CoordinateMaxHeap | xMax_ |
XCoordinateRefMinHeap | xMin_ |
CoordinateMaxHeap | yMax_ |
CoordinateMinHeap | yMin_ |
Definition at line 28 of file CurveDataCircularBuffer.h.
|
private |
Definition at line 85 of file CurveDataCircularBuffer.h.
|
private |
Definition at line 82 of file CurveDataCircularBuffer.h.
|
private |
Definition at line 75 of file CurveDataCircularBuffer.h.
|
private |
Definition at line 79 of file CurveDataCircularBuffer.h.
rqt_multiplot::CurveDataCircularBuffer::CurveDataCircularBuffer | ( | size_t | capacity = 0 | ) |
Definition at line 27 of file CurveDataCircularBuffer.cpp.
rqt_multiplot::CurveDataCircularBuffer::~CurveDataCircularBuffer | ( | ) |
Definition at line 35 of file CurveDataCircularBuffer.cpp.
|
virtual |
Implements rqt_multiplot::CurveData.
Definition at line 99 of file CurveDataCircularBuffer.cpp.
|
virtual |
Implements rqt_multiplot::CurveData.
Definition at line 123 of file CurveDataCircularBuffer.cpp.
|
virtual |
Implements rqt_multiplot::CurveData.
Definition at line 83 of file CurveDataCircularBuffer.cpp.
size_t rqt_multiplot::CurveDataCircularBuffer::getCapacity | ( | ) | const |
Definition at line 42 of file CurveDataCircularBuffer.cpp.
|
virtual |
Implements rqt_multiplot::CurveData.
Definition at line 46 of file CurveDataCircularBuffer.cpp.
|
virtual |
Implements rqt_multiplot::CurveData.
Definition at line 50 of file CurveDataCircularBuffer.cpp.
|
virtual |
Reimplemented from rqt_multiplot::CurveData.
Definition at line 56 of file CurveDataCircularBuffer.cpp.
|
private |
Definition at line 103 of file CurveDataCircularBuffer.h.
|
private |
Definition at line 106 of file CurveDataCircularBuffer.h.
|
private |
Definition at line 105 of file CurveDataCircularBuffer.h.
|
private |
Definition at line 108 of file CurveDataCircularBuffer.h.
|
private |
Definition at line 107 of file CurveDataCircularBuffer.h.