1 #ifndef LUA_CUSTOM_FUNCTION_H 2 #define LUA_CUSTOM_FUNCTION_H 15 const std::vector<const PlotData*>& channels_data,
16 size_t point_index)
override;
29 #endif // LUA_CUSTOM_FUNCTION_H LuaCustomFunction(const SnippetData &snippet)
std::vector< double > _chan_values
sol::protected_function _lua_function
void initEngine() override
PlotData::Point calculatePoint(const PlotData &src_data, const std::vector< const PlotData * > &channels_data, size_t point_index) override
std::unique_ptr< sol::state > _lua_engine
QString language() const override
const SnippetData & snippet() const
typename PlotDataBase< Value >::Point Point