#include <lua_custom_function.h>

Public Member Functions | |
| PlotData::Point | calculatePoint (const PlotData &src_data, const std::vector< const PlotData * > &channels_data, size_t point_index) override |
| void | initEngine () override |
| QString | language () const override |
| LuaCustomFunction (const SnippetData &snippet) | |
Public Member Functions inherited from CustomFunction | |
| void | calculate (const PlotDataMapRef &plotData, PlotData *dst_data) |
| void | calculateAndAdd (PlotDataMapRef &plotData) |
| void | clear () |
| CustomFunction (const SnippetData &snippet) | |
| const std::string & | linkedPlotName () const |
| const std::string & | name () const |
| const SnippetData & | snippet () const |
| QDomElement | xmlSaveState (QDomDocument &doc) const |
Private Attributes | |
| std::vector< double > | _chan_values |
| std::unique_ptr< sol::state > | _lua_engine |
| sol::protected_function | _lua_function |
Additional Inherited Members | |
Static Public Member Functions inherited from CustomFunction | |
| static CustomPlotPtr | createFromXML (QDomElement &element) |
Protected Attributes inherited from CustomFunction | |
| const std::string | _linked_plot_name |
| const std::string | _plot_name |
| const SnippetData | _snippet |
| std::vector< std::string > | _used_channels |
Definition at line 7 of file lua_custom_function.h.
| LuaCustomFunction::LuaCustomFunction | ( | const SnippetData & | snippet | ) |
Definition at line 3 of file lua_custom_function.cpp.
|
overridevirtual |
Implements CustomFunction.
Definition at line 28 of file lua_custom_function.cpp.
|
overridevirtual |
Implements CustomFunction.
Definition at line 9 of file lua_custom_function.cpp.
|
inlineoverridevirtual |
Implements CustomFunction.
Definition at line 18 of file lua_custom_function.h.
|
private |
Definition at line 26 of file lua_custom_function.h.
|
private |
Definition at line 24 of file lua_custom_function.h.
|
private |
Definition at line 25 of file lua_custom_function.h.