#include <reactive_function.h>
Public Member Functions | |
std::pair< double, double > | at (unsigned i) const |
double | atTime (double t) const |
void | clear () const |
void | set (unsigned index, double x, double y) |
unsigned | size () const |
TimeseriesRef (PlotData *data) | |
Public Attributes | |
PJ::PlotData * | _plot_data = nullptr |
Definition at line 20 of file reactive_function.h.
PJ::TimeseriesRef::TimeseriesRef | ( | PlotData * | data | ) |
Definition at line 171 of file reactive_function.cpp.
std::pair< double, double > PJ::TimeseriesRef::at | ( | unsigned | i | ) | const |
Definition at line 175 of file reactive_function.cpp.
double PJ::TimeseriesRef::atTime | ( | double | t | ) | const |
Definition at line 187 of file reactive_function.cpp.
void PJ::TimeseriesRef::clear | ( | ) | const |
Definition at line 198 of file reactive_function.cpp.
void PJ::TimeseriesRef::set | ( | unsigned | index, |
double | x, | ||
double | y | ||
) |
Definition at line 181 of file reactive_function.cpp.
unsigned PJ::TimeseriesRef::size | ( | ) | const |
Definition at line 193 of file reactive_function.cpp.
PJ::PlotData* PJ::TimeseriesRef::_plot_data = nullptr |
Definition at line 34 of file reactive_function.h.