##// END OF EJS Templates
Generates vectors (1)...
Alexandre Leroux -
r784:aa1270e6337a
parent child
Show More
@@ -12,6 +12,22
12 12
13 13 Q_LOGGING_CATEGORY(LOG_CosinusProvider, "CosinusProvider")
14 14
15 namespace {
16
17 /// Abstract cosinus type
18 struct ICosinusType {
19 virtual ~ICosinusType() = default;
20 /// @return the number of components generated for the type
21 virtual int componentCount() const = 0;
22 /// @return the data series created for the type
23 virtual std::shared_ptr<IDataSeries> createDataSeries(std::vector<double> xAxisData,
24 std::vector<double> valuesData,
25 Unit xAxisUnit,
26 Unit valuesUnit) const = 0;
27 };
28
29 } // namespace
30
15 31 std::shared_ptr<IDataProvider> CosinusProvider::clone() const
16 32 {
17 33 // No copy is made in clone
General Comments 0
You need to be logged in to leave comments. Login now