7 #include <QDomDocument> 30 QDomDocument& destination_doc);
36 const std::string &plotName,
38 const QString &
function);
47 const std::string&
name()
const;
49 const std::string& linkedPlotName()
const;
53 const QString&
function()
const;
55 QDomElement xmlSaveState(QDomDocument &doc)
const;
59 static QStringList getChannelsFromFuntion(
const QString&
function);
64 PlotData::Point calculatePoint(QJSValue &calcFct,
66 const std::vector<const PlotData *> &channels_data,
67 QJSValue &chan_values,
std::vector< std::string > _used_channels
std::map< QString, SnippetData > SnippetsMap
const QString _global_vars
std::unique_ptr< QJSEngine > _jsEngine
const std::string _plot_name
std::shared_ptr< CustomFunction > CustomPlotPtr
double _last_updated_timestamp
QString _function_replaced
std::unordered_map< std::string, CustomPlotPtr > CustomPlotMap
const std::string _linked_plot_name
SnippetsMap GetSnippetsFromXML(const QString &xml_text)
QDomElement ExportSnippets(const SnippetsMap &snippets, QDomDocument &destination_doc)