##// END OF EJS Templates
Updates VariableController::createVariable() method...
Updates VariableController::createVariable() method - Adds signal that will be emitted when the variable has been created - Changes method's signature from Variable* to void (the variable is passed in the signal) - Generates default data (on 48 hours) from the provider

File last commit:

r152:dcd9684539fa
r154:ab6272d8de5a
Show More
Variable.h
27 lines | 608 B | text/x-c | CLexer
Alexandre Leroux
Creates the variable model...
r107 #ifndef SCIQLOP_VARIABLE_H
#define SCIQLOP_VARIABLE_H
Alexandre Leroux
Changes Variable from struct to class
r151 #include <Common/spimpl.h>
Alexandre Leroux
Adds data series to a variable
r152 class IDataSeries;
Alexandre Leroux
Changes Variable from struct to class
r151 class QString;
Alexandre Leroux
Creates the variable model...
r107
/**
Alexandre Leroux
Changes Variable from struct to class
r151 * @brief The Variable class represents a variable in SciQlop.
Alexandre Leroux
Creates the variable model...
r107 */
Alexandre Leroux
Changes Variable from struct to class
r151 class Variable {
public:
explicit Variable(const QString &name, const QString &unit, const QString &mission);
QString name() const noexcept;
QString mission() const noexcept;
QString unit() const noexcept;
Alexandre Leroux
Creates the variable model...
r107
Alexandre Leroux
Adds data series to a variable
r152 void addDataSeries(std::unique_ptr<IDataSeries> dataSeries) noexcept;
Alexandre Leroux
Changes Variable from struct to class
r151 private:
class VariablePrivate;
spimpl::unique_impl_ptr<VariablePrivate> impl;
Alexandre Leroux
Creates the variable model...
r107 };
#endif // SCIQLOP_VARIABLE_H