Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
PJ::PlotDataBase< Value > Class Template Reference

#include <plotdata.h>

Inheritance diagram for PJ::PlotDataBase< Value >:
Inheritance graph
[legend]

Classes

class  Point
 

Public Types

enum  { MAX_CAPACITY = 1024 * 1024, ASYNC_BUFFER_CAPACITY = 1024 }
 
typedef std::deque< Point >::const_iterator ConstIterator
 
typedef std::deque< Point >::iterator Iterator
 
typedef double TypeX
 
typedef Value TypeY
 

Public Member Functions

const Pointat (size_t index) const
 
Pointat (size_t index)
 
const Pointback () const
 
ConstIterator begin () const
 
Iterator begin ()
 
void clear ()
 
ConstIterator end () const
 
Iterator end ()
 
const Pointfront () const
 
QColor getColorHint () const
 
const std::string & name () const
 
PlotDataBaseoperator= (const PlotDataBase &other)=delete
 
const Pointoperator[] (size_t index) const
 
Pointoperator[] (size_t index)
 
 PlotDataBase (const std::string &name)
 
 PlotDataBase (const PlotDataBase &other)=delete
 
 PlotDataBase (PlotDataBase &&other)
 
virtual void popFront ()
 
template<>
void popFront ()
 
void pushBack (const Point &p)
 
virtual void pushBack (Point &&p)
 
template<>
void pushBack (Point &&p)
 
virtual RangeOpt rangeX () const
 
RangeOpt rangeY () const
 
template<>
RangeOpt rangeY () const
 
void setColorHint (QColor color)
 
virtual size_t size () const
 
void swapData (PlotDataBase &other)
 
virtual ~PlotDataBase ()=default
 

Protected Attributes

QColor _color_hint
 
std::string _name
 
std::deque< Point_points
 
Range _range_x
 
bool _range_x_dirty
 
Range _range_y
 
bool _range_y_dirty
 

Detailed Description

template<typename Value>
class PJ::PlotDataBase< Value >

Definition at line 31 of file plotdata.h.

Member Typedef Documentation

template<typename Value>
typedef std::deque<Point>::const_iterator PJ::PlotDataBase< Value >::ConstIterator

Definition at line 58 of file plotdata.h.

template<typename Value>
typedef std::deque<Point>::iterator PJ::PlotDataBase< Value >::Iterator

Definition at line 56 of file plotdata.h.

template<typename Value>
typedef double PJ::PlotDataBase< Value >::TypeX

Definition at line 52 of file plotdata.h.

template<typename Value>
typedef Value PJ::PlotDataBase< Value >::TypeY

Definition at line 54 of file plotdata.h.

Member Enumeration Documentation

template<typename Value>
anonymous enum
Enumerator
MAX_CAPACITY 
ASYNC_BUFFER_CAPACITY 

Definition at line 46 of file plotdata.h.

Constructor & Destructor Documentation

template<typename Value>
PJ::PlotDataBase< Value >::PlotDataBase ( const std::string &  name)
inline

Definition at line 60 of file plotdata.h.

template<typename Value>
PJ::PlotDataBase< Value >::PlotDataBase ( const PlotDataBase< Value > &  other)
delete
template<typename Value>
PJ::PlotDataBase< Value >::PlotDataBase ( PlotDataBase< Value > &&  other)
inline

Definition at line 69 of file plotdata.h.

template<typename Value>
virtual PJ::PlotDataBase< Value >::~PlotDataBase ( )
virtualdefault

Member Function Documentation

template<typename Value>
const Point& PJ::PlotDataBase< Value >::at ( size_t  index) const
inline

Definition at line 97 of file plotdata.h.

template<typename Value>
Point& PJ::PlotDataBase< Value >::at ( size_t  index)
inline

Definition at line 102 of file plotdata.h.

template<typename Value>
const Point& PJ::PlotDataBase< Value >::back ( ) const
inline

Definition at line 139 of file plotdata.h.

template<typename Value>
ConstIterator PJ::PlotDataBase< Value >::begin ( ) const
inline

Definition at line 144 of file plotdata.h.

template<typename Value>
Iterator PJ::PlotDataBase< Value >::begin ( )
inline

Definition at line 154 of file plotdata.h.

template<typename Value>
void PJ::PlotDataBase< Value >::clear ( )
inline

Definition at line 117 of file plotdata.h.

template<typename Value>
ConstIterator PJ::PlotDataBase< Value >::end ( ) const
inline

Definition at line 149 of file plotdata.h.

template<typename Value>
Iterator PJ::PlotDataBase< Value >::end ( )
inline

Definition at line 159 of file plotdata.h.

template<typename Value>
const Point& PJ::PlotDataBase< Value >::front ( ) const
inline

Definition at line 134 of file plotdata.h.

template<typename Value>
QColor PJ::PlotDataBase< Value >::getColorHint ( ) const
inline

Definition at line 124 of file plotdata.h.

template<typename Value>
const std::string& PJ::PlotDataBase< Value >::name ( ) const
inline

Definition at line 87 of file plotdata.h.

template<typename Value>
PlotDataBase& PJ::PlotDataBase< Value >::operator= ( const PlotDataBase< Value > &  other)
delete
template<typename Value>
const Point& PJ::PlotDataBase< Value >::operator[] ( size_t  index) const
inline

Definition at line 107 of file plotdata.h.

template<typename Value>
Point& PJ::PlotDataBase< Value >::operator[] ( size_t  index)
inline

Definition at line 112 of file plotdata.h.

template<typename Value>
virtual void PJ::PlotDataBase< Value >::popFront ( )
inlinevirtual

Reimplemented in PJ::TimeseriesBase< Value >, and PJ::TimeseriesBase< Value >.

Definition at line 247 of file plotdata.h.

template<>
void PJ::PlotDataBase< nonstd::any >::popFront ( )
inline

Definition at line 414 of file plotdata.h.

template<typename Value>
void PJ::PlotDataBase< Value >::pushBack ( const Point p)
inline

Definition at line 202 of file plotdata.h.

template<typename Value>
virtual void PJ::PlotDataBase< Value >::pushBack ( Point &&  p)
inlinevirtual

Definition at line 208 of file plotdata.h.

template<>
void PJ::PlotDataBase< nonstd::any >::pushBack ( Point &&  p)
inline

Definition at line 442 of file plotdata.h.

template<typename Value>
virtual RangeOpt PJ::PlotDataBase< Value >::rangeX ( ) const
inlinevirtual

Reimplemented in PJ::TimeseriesBase< Value >.

Definition at line 164 of file plotdata.h.

template<typename Value>
RangeOpt PJ::PlotDataBase< Value >::rangeY ( ) const
inline

Definition at line 183 of file plotdata.h.

template<>
RangeOpt PJ::PlotDataBase< nonstd::any >::rangeY ( ) const
inline

Definition at line 436 of file plotdata.h.

template<typename Value>
void PJ::PlotDataBase< Value >::setColorHint ( QColor  color)
inline

Definition at line 129 of file plotdata.h.

template<typename Value>
virtual size_t PJ::PlotDataBase< Value >::size ( ) const
inlinevirtual

Definition at line 92 of file plotdata.h.

template<typename Value>
void PJ::PlotDataBase< Value >::swapData ( PlotDataBase< Value > &  other)
inline

Definition at line 74 of file plotdata.h.

Member Data Documentation

template<typename Value>
QColor PJ::PlotDataBase< Value >::_color_hint
protected

Definition at line 264 of file plotdata.h.

template<typename Value>
std::string PJ::PlotDataBase< Value >::_name
protected

Definition at line 263 of file plotdata.h.

template<typename Value>
std::deque<Point> PJ::PlotDataBase< Value >::_points
protected

Definition at line 267 of file plotdata.h.

template<typename Value>
Range PJ::PlotDataBase< Value >::_range_x
mutableprotected

Definition at line 268 of file plotdata.h.

template<typename Value>
bool PJ::PlotDataBase< Value >::_range_x_dirty
mutableprotected

Definition at line 270 of file plotdata.h.

template<typename Value>
Range PJ::PlotDataBase< Value >::_range_y
mutableprotected

Definition at line 269 of file plotdata.h.

template<typename Value>
bool PJ::PlotDataBase< Value >::_range_y_dirty
mutableprotected

Definition at line 271 of file plotdata.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:52