Classes | Public Member Functions | Private Types | Private Attributes | List of all members
rqt_multiplot::CurveDataCircularBuffer Class Reference

#include <CurveDataCircularBuffer.h>

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

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< PointPoints
 
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

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.

Member Function Documentation

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.

Member Data Documentation

Points rqt_multiplot::CurveDataCircularBuffer::points_
private

Definition at line 103 of file CurveDataCircularBuffer.h.

CoordinateMaxHeap rqt_multiplot::CurveDataCircularBuffer::xMax_
private

Definition at line 106 of file CurveDataCircularBuffer.h.

XCoordinateRefMinHeap rqt_multiplot::CurveDataCircularBuffer::xMin_
private

Definition at line 105 of file CurveDataCircularBuffer.h.

CoordinateMaxHeap rqt_multiplot::CurveDataCircularBuffer::yMax_
private

Definition at line 108 of file CurveDataCircularBuffer.h.

CoordinateMinHeap rqt_multiplot::CurveDataCircularBuffer::yMin_
private

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 Wed Jul 10 2019 03:49:44