#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 () | |
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.
typedef boost::heap::d_ary_heap<double, boost::heap::arity<2>, boost::heap::mutable_<true>, boost::heap::compare<std:: less<double> > > rqt_multiplot::CurveDataCircularBuffer::CoordinateMaxHeap [private] |
Definition at line 85 of file CurveDataCircularBuffer.h.
typedef boost::heap::d_ary_heap<double, boost::heap::arity<2>, boost::heap::mutable_<true>, boost::heap::compare<std:: greater<double> > > rqt_multiplot::CurveDataCircularBuffer::CoordinateMinHeap [private] |
Definition at line 82 of file CurveDataCircularBuffer.h.
typedef boost::circular_buffer<Point> rqt_multiplot::CurveDataCircularBuffer::Points [private] |
Definition at line 75 of file CurveDataCircularBuffer.h.
typedef boost::heap::d_ary_heap<XCoordinateRef, boost:: heap::arity<2>, boost::heap::mutable_<true>, boost:: heap::compare<std::greater<XCoordinateRef> > > rqt_multiplot::CurveDataCircularBuffer::XCoordinateRefMinHeap [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.
Definition at line 35 of file CurveDataCircularBuffer.cpp.
void rqt_multiplot::CurveDataCircularBuffer::appendPoint | ( | const QPointF & | point | ) | [virtual] |
Implements rqt_multiplot::CurveData.
Definition at line 99 of file CurveDataCircularBuffer.cpp.
void rqt_multiplot::CurveDataCircularBuffer::clearPoints | ( | ) | [virtual] |
Implements rqt_multiplot::CurveData.
Definition at line 123 of file CurveDataCircularBuffer.cpp.
BoundingRectangle rqt_multiplot::CurveDataCircularBuffer::getBounds | ( | ) | const [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.
size_t rqt_multiplot::CurveDataCircularBuffer::getNumPoints | ( | ) | const [virtual] |
Implements rqt_multiplot::CurveData.
Definition at line 46 of file CurveDataCircularBuffer.cpp.
QPointF rqt_multiplot::CurveDataCircularBuffer::getPoint | ( | size_t | index | ) | const [virtual] |
Implements rqt_multiplot::CurveData.
Definition at line 50 of file CurveDataCircularBuffer.cpp.
QVector< size_t > rqt_multiplot::CurveDataCircularBuffer::getPointsInDistance | ( | double | x, |
double | maxDistance | ||
) | const [virtual] |
Reimplemented from rqt_multiplot::CurveData.
Definition at line 56 of file CurveDataCircularBuffer.cpp.
Definition at line 103 of file CurveDataCircularBuffer.h.
Definition at line 106 of file CurveDataCircularBuffer.h.
Definition at line 105 of file CurveDataCircularBuffer.h.
Definition at line 108 of file CurveDataCircularBuffer.h.
Definition at line 107 of file CurveDataCircularBuffer.h.