#include <custom_function.h>
Public Member Functions | |
void | calculate (const PlotDataMapRef &plotData, PlotData *dst_data) |
void | calculateAndAdd (PlotDataMapRef &plotData) |
virtual PlotData::Point | calculatePoint (const PlotData &src_data, const std::vector< const PlotData * > &channels_data, size_t point_index)=0 |
void | clear () |
CustomFunction (const SnippetData &snippet) | |
virtual void | initEngine ()=0 |
virtual QString | language () const =0 |
const std::string & | linkedPlotName () const |
const std::string & | name () const |
const SnippetData & | snippet () const |
QDomElement | xmlSaveState (QDomDocument &doc) const |
Static Public Member Functions | |
static CustomPlotPtr | createFromXML (QDomElement &element) |
Protected Attributes | |
const std::string | _linked_plot_name |
const std::string | _plot_name |
const SnippetData | _snippet |
std::vector< std::string > | _used_channels |
Definition at line 40 of file custom_function.h.
CustomFunction::CustomFunction | ( | const SnippetData & | snippet | ) |
Definition at line 9 of file custom_function.cpp.
void CustomFunction::calculate | ( | const PlotDataMapRef & | plotData, |
PlotData * | dst_data | ||
) |
Definition at line 57 of file custom_function.cpp.
void CustomFunction::calculateAndAdd | ( | PlotDataMapRef & | plotData | ) |
Definition at line 24 of file custom_function.cpp.
|
pure virtual |
Implemented in LuaCustomFunction.
void CustomFunction::clear | ( | ) |
Definition at line 19 of file custom_function.cpp.
|
static |
Definition at line 120 of file custom_function.cpp.
|
pure virtual |
Implemented in LuaCustomFunction.
|
pure virtual |
Implemented in LuaCustomFunction.
const std::string & CustomFunction::linkedPlotName | ( | ) | const |
Definition at line 109 of file custom_function.cpp.
const std::string & CustomFunction::name | ( | ) | const |
Definition at line 104 of file custom_function.cpp.
const SnippetData & CustomFunction::snippet | ( | ) | const |
Definition at line 52 of file custom_function.cpp.
QDomElement CustomFunction::xmlSaveState | ( | QDomDocument & | doc | ) | const |
Definition at line 115 of file custom_function.cpp.
|
protected |
Definition at line 72 of file custom_function.h.
|
protected |
Definition at line 73 of file custom_function.h.
|
protected |
Definition at line 71 of file custom_function.h.
|
protected |
Definition at line 75 of file custom_function.h.