Classes | Public Member Functions | Private Types | Private Attributes
rqt_multiplot::CurveDataCircularBuffer Class Reference

#include <CurveDataCircularBuffer.h>

Inheritance diagram for rqt_multiplot::CurveDataCircularBuffer:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 28 of file CurveDataCircularBuffer.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

Definition at line 27 of file CurveDataCircularBuffer.cpp.

Definition at line 35 of file CurveDataCircularBuffer.cpp.


Member Function Documentation

void rqt_multiplot::CurveDataCircularBuffer::appendPoint ( const QPointF &  point) [virtual]

Implements rqt_multiplot::CurveData.

Definition at line 99 of file CurveDataCircularBuffer.cpp.

Implements rqt_multiplot::CurveData.

Definition at line 123 of file CurveDataCircularBuffer.cpp.

Implements rqt_multiplot::CurveData.

Definition at line 83 of file CurveDataCircularBuffer.cpp.

Definition at line 42 of file CurveDataCircularBuffer.cpp.

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.


Member Data Documentation

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.


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


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Tue May 9 2017 02:16:02