##// END OF EJS Templates
Makes the connection between Data source controller and Variable controller...
Makes the connection between Data source controller and Variable controller - Adds a signal to prevent a variable creation request from the data source controller - Connects the signal to the slot that creates a variable in the variable controller

File last commit:

r118:2c63a29c9c11
r157:90c64bed8482
Show More
ScalarSeries.h
28 lines | 823 B | text/x-c | CLexer
#ifndef SCIQLOP_SCALARSERIES_H
#define SCIQLOP_SCALARSERIES_H
#include <Data/DataSeries.h>
/**
* @brief The ScalarSeries class is the implementation for a data series representing a scalar.
*/
class ScalarSeries : public DataSeries<1> {
public:
/**
* Ctor
* @param size the number of data the series will hold
* @param xAxisUnit x-axis unit
* @param valuesUnit values unit
*/
explicit ScalarSeries(int size, const QString &xAxisUnit, const QString &valuesUnit);
/**
* Sets data for a specific index. The index has to be valid to be effective
* @param index the index to which the data will be set
* @param x the x-axis data
* @param value the value data
*/
void setData(int index, double x, double value) noexcept;
};
#endif // SCIQLOP_SCALARSERIES_H