PicoScenes API Docs
 
Loading...
Searching...
No Matches
WebPlotService Class Referenceabstract

#include <WebPlotService.hxx>

Classes

struct  PlotConfig
 

Public Types

enum class  PlotCategory { Performance , Platform , Plugin }
 
enum class  ChartType { Line , Scatter }
 

Public Member Functions

bool plot (const PlotCategory category, const std::string &chartname, const ChartType charttype, const std::vector< std::vector< std::pair< int16_t, double > > > &data)
 
bool plot (const PlotCategory category, const std::string &chartname, const ChartType charttype, const std::vector< std::deque< std::pair< double, double > > > &data)
 
bool plot (const PlotCategory category, const std::string &chartname, const ChartType charttype, const std::deque< std::pair< double, double > > &data)
 
virtual bool plot (PlotCategory category, const std::string &chartname, ChartType charttype, const std::vector< std::vector< std::pair< int16_t, double > > > &data, const PlotConfig &config)=0
 
virtual bool plot (PlotCategory category, const std::string &chartname, ChartType charttype, const std::vector< std::deque< std::pair< double, double > > > &data, const PlotConfig &config)=0
 
virtual bool plot (PlotCategory category, const std::string &chartname, ChartType charttype, const std::deque< std::pair< double, double > > &data, const PlotConfig &config)=0
 
virtual ~WebPlotService ()=default
 

Static Public Member Functions

static std::shared_ptr< WebPlotServicegetInstance ()
 

Detailed Description

Definition at line 15 of file WebPlotService.hxx.

Member Enumeration Documentation

◆ ChartType

enum class WebPlotService::ChartType
strong
Enumerator
Line 
Scatter 

Definition at line 24 of file WebPlotService.hxx.

◆ PlotCategory

enum class WebPlotService::PlotCategory
strong
Enumerator
Performance 
Platform 
Plugin 

Definition at line 18 of file WebPlotService.hxx.

Constructor & Destructor Documentation

◆ ~WebPlotService()

virtual WebPlotService::~WebPlotService ( )
virtualdefault

Member Function Documentation

◆ getInstance()

static std::shared_ptr< WebPlotService > WebPlotService::getInstance ( )
static

◆ plot() [1/6]

bool WebPlotService::plot ( const PlotCategory  category,
const std::string &  chartname,
const ChartType  charttype,
const std::deque< std::pair< double, double > > &  data 
)
inline

Definition at line 49 of file WebPlotService.hxx.

References plot().

◆ plot() [2/6]

bool WebPlotService::plot ( const PlotCategory  category,
const std::string &  chartname,
const ChartType  charttype,
const std::vector< std::deque< std::pair< double, double > > > &  data 
)
inline

Definition at line 45 of file WebPlotService.hxx.

References plot().

◆ plot() [3/6]

bool WebPlotService::plot ( const PlotCategory  category,
const std::string &  chartname,
const ChartType  charttype,
const std::vector< std::vector< std::pair< int16_t, double > > > &  data 
)
inline

Definition at line 41 of file WebPlotService.hxx.

References plot().

Referenced by plot(), plot(), and plot().

◆ plot() [4/6]

virtual bool WebPlotService::plot ( PlotCategory  category,
const std::string &  chartname,
ChartType  charttype,
const std::deque< std::pair< double, double > > &  data,
const PlotConfig config 
)
pure virtual

◆ plot() [5/6]

virtual bool WebPlotService::plot ( PlotCategory  category,
const std::string &  chartname,
ChartType  charttype,
const std::vector< std::deque< std::pair< double, double > > > &  data,
const PlotConfig config 
)
pure virtual

◆ plot() [6/6]

virtual bool WebPlotService::plot ( PlotCategory  category,
const std::string &  chartname,
ChartType  charttype,
const std::vector< std::vector< std::pair< int16_t, double > > > &  data,
const PlotConfig config 
)
pure virtual

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