Public Member Functions | Private Attributes | List of all members
PJ::StringSeries Class Reference

#include <stringseries.h>

Inheritance diagram for PJ::StringSeries:
Inheritance graph
[legend]

Public Member Functions

virtual void clear () override
 
StringSeriesoperator= (const StringSeries &other)=delete
 
StringSeriesoperator= (StringSeries &&other)=default
 
void pushBack (const Point &p) override
 
virtual void pushBack (Point &&p) override
 
 StringSeries (const std::string &name, PlotGroup::Ptr group)
 
 StringSeries (const StringSeries &other)=delete
 
 StringSeries (StringSeries &&other)=default
 
- Public Member Functions inherited from PJ::TimeseriesBase< StringRef >
int getIndexFromX (double x) const
 
std::optional< StringRefgetYfromX (double x) const
 
virtual bool isTimeseries () const override
 
double maximumRangeX () const
 
TimeseriesBaseoperator= (const TimeseriesBase &other)=delete
 
TimeseriesBaseoperator= (TimeseriesBase &&other)=default
 
void pushBack (const Point &p) override
 
void pushBack (Point &&p) override
 
void setMaximumRangeX (double max_range)
 
 TimeseriesBase (const std::string &name, PlotGroup::Ptr group)
 
 TimeseriesBase (const TimeseriesBase &other)=delete
 
 TimeseriesBase (TimeseriesBase &&other)=default
 
- Public Member Functions inherited from PJ::PlotDataBase< double, StringRef >
Point & at (size_t index)
 
const Point & at (size_t index) const
 
QVariant attribute (PlotAttribute id) const
 
Attributesattributes ()
 
const Attributesattributes () const
 
const Point & back () const
 
Iterator begin ()
 
ConstIterator begin () const
 
void changeGroup (PlotGroup::Ptr group)
 
void clonePoints (const PlotDataBase &other)
 
Iterator end ()
 
ConstIterator end () const
 
const Point & front () const
 
const PlotGroup::Ptrgroup () const
 
virtual void insert (Iterator it, Point &&p)
 
PlotDataBaseoperator= (const PlotDataBase &other)=delete
 
PlotDataBaseoperator= (PlotDataBase &&other)=default
 
Point & operator[] (size_t index)
 
const Point & operator[] (size_t index) const
 
 PlotDataBase (const PlotDataBase &other)=delete
 
 PlotDataBase (const std::string &name, PlotGroup::Ptr group)
 
 PlotDataBase (PlotDataBase &&other)=default
 
const std::string & plotName () const
 
virtual void popFront ()
 
virtual void pushBack (const Point &p)
 
virtual void pushBack (Point &&p)
 
virtual RangeOpt rangeX () const
 
virtual RangeOpt rangeY () const
 
void setAttribute (PlotAttribute id, const QVariant &value)
 
virtual size_t size () const
 
virtual ~PlotDataBase ()=default
 

Private Attributes

std::unordered_set< std::string > _storage
 
std::string _tmp_str
 

Additional Inherited Members

- Public Types inherited from PJ::TimeseriesBase< StringRef >
using Point = typename PlotDataBase< double, StringRef >::Point
 
- Public Types inherited from PJ::PlotDataBase< double, StringRef >
enum  
 
typedef std::deque< Point >::const_iterator ConstIterator
 
typedef std::deque< Point >::iterator Iterator
 
typedef StringRef ValueT
 
- Protected Member Functions inherited from PJ::PlotDataBase< double, StringRef >
virtual void pushUpdateRangeX (const Point &p)
 
virtual void pushUpdateRangeY (const Point &p)
 
- Protected Attributes inherited from PJ::TimeseriesBase< StringRef >
double _max_range_x
 
- Protected Attributes inherited from PJ::PlotDataBase< double, StringRef >
Attributes _attributes
 
std::shared_ptr< PlotGroup_group
 
std::string _name
 
std::deque< Point > _points
 
Range _range_x
 
bool _range_x_dirty
 
Range _range_y
 
bool _range_y_dirty
 

Detailed Description

Definition at line 17 of file stringseries.h.

Constructor & Destructor Documentation

◆ StringSeries() [1/3]

PJ::StringSeries::StringSeries ( const std::string &  name,
PlotGroup::Ptr  group 
)
inline

Definition at line 22 of file stringseries.h.

◆ StringSeries() [2/3]

PJ::StringSeries::StringSeries ( const StringSeries other)
delete

◆ StringSeries() [3/3]

PJ::StringSeries::StringSeries ( StringSeries &&  other)
default

Member Function Documentation

◆ clear()

virtual void PJ::StringSeries::clear ( )
inlineoverridevirtual

Reimplemented from PJ::PlotDataBase< double, StringRef >.

Definition at line 33 of file stringseries.h.

◆ operator=() [1/2]

StringSeries& PJ::StringSeries::operator= ( const StringSeries other)
delete

◆ operator=() [2/2]

StringSeries& PJ::StringSeries::operator= ( StringSeries &&  other)
default

◆ pushBack() [1/2]

void PJ::StringSeries::pushBack ( const Point p)
inlineoverride

Definition at line 39 of file stringseries.h.

◆ pushBack() [2/2]

virtual void PJ::StringSeries::pushBack ( Point &&  p)
inlineoverridevirtual

Definition at line 45 of file stringseries.h.

Member Data Documentation

◆ _storage

std::unordered_set<std::string> PJ::StringSeries::_storage
private

Definition at line 75 of file stringseries.h.

◆ _tmp_str

std::string PJ::StringSeries::_tmp_str
private

Definition at line 74 of file stringseries.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:31