#include <first_derivative.h>
Public Member Functions | |
FirstDerivative () | |
const char * | name () const override |
Name of the plugin type, NOT the particular instance. More... | |
void | on_buttonCompute_clicked () |
QWidget * | optionsWidget () override |
optionsWidget pointer to a persistent widget used to set the plugin options . More... | |
bool | xmlLoadState (const QDomElement &parent_element) override |
Override this method to load the status of the plugin from XML. More... | |
bool | xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const override |
Override this method to save the status of the plugin to XML. More... | |
~FirstDerivative () override | |
Public Member Functions inherited from PJ::TransformFunction_SISO | |
void | calculate () override |
const PlotData * | dataSource () const |
int | numInputs () const override |
int | numOutputs () const override |
void | reset () override |
TransformFunction_SISO ()=default | |
Public Member Functions inherited from PJ::TransformFunction | |
std::vector< const PlotData * > & | dataSources () |
unsigned | order () const |
PlotDataMapRef * | plotData () |
virtual void | setData (PlotDataMapRef *data, const std::vector< const PlotData * > &src_vect, std::vector< PlotData * > &dst_vect) |
TransformFunction () | |
virtual | ~TransformFunction ()=default |
Public Member Functions inherited from PJ::PlotJugglerPlugin | |
virtual const std::vector< QAction * > & | availableActions () |
virtual bool | isDebugPlugin () |
PlotJugglerPlugin ()=default | |
QDomElement | xmlSaveState (QDomDocument &doc) const |
Static Public Member Functions | |
static const char * | transformName () |
Private Member Functions | |
std::optional< PlotData::Point > | calculateNextPoint (size_t index) override |
Private Attributes | |
double | _dT |
QWidget * | _widget |
Ui::FirstDerivariveForm * | ui |
Additional Inherited Members | |
Public Types inherited from PJ::TransformFunction | |
using | Ptr = std::shared_ptr< TransformFunction > |
Signals inherited from PJ::TransformFunction | |
void | parametersChanged () |
Protected Attributes inherited from PJ::TransformFunction_SISO | |
double | _last_timestamp = std::numeric_limits<double>::lowest() |
Protected Attributes inherited from PJ::TransformFunction | |
PlotDataMapRef * | _data |
std::vector< PlotData * > | _dst_vector |
unsigned | _order |
std::vector< const PlotData * > | _src_vector |
Definition at line 10 of file first_derivative.h.
FirstDerivative::FirstDerivative | ( | ) |
Definition at line 5 of file first_derivative.cpp.
|
override |
Definition at line 37 of file first_derivative.cpp.
|
overrideprivatevirtual |
Method to be implemented by the user to apply a statefull function to each point. Index will increase monotonically, unless reset() is used.
Implements PJ::TransformFunction_SISO.
Definition at line 43 of file first_derivative.cpp.
|
inlineoverridevirtual |
Name of the plugin type, NOT the particular instance.
Implements PJ::TransformFunction.
Definition at line 22 of file first_derivative.h.
void FirstDerivative::on_buttonCompute_clicked | ( | ) |
Definition at line 115 of file first_derivative.cpp.
|
overridevirtual |
optionsWidget pointer to a persistent widget used to set the plugin options .
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 65 of file first_derivative.cpp.
|
inlinestatic |
Definition at line 17 of file first_derivative.h.
|
overridevirtual |
Override this method to load the status of the plugin from XML.
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 94 of file first_derivative.cpp.
|
overridevirtual |
Override this method to save the status of the plugin to XML.
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 76 of file first_derivative.cpp.
|
private |
Definition at line 40 of file first_derivative.h.
|
private |
Definition at line 38 of file first_derivative.h.
|
private |
Definition at line 39 of file first_derivative.h.