##// END OF EJS Templates
Wait for the end of an acquisition to validate an operation (2)...
Wait for the end of an acquisition to validate an operation (2) Creates signal in VariableController emitted when there is no pending acquisition

File last commit:

r927:c91efb7c50ed
r1247:feac825a443e
Show More
PlottablesRenderingUtils.h
33 lines | 890 B | text/x-c | CLexer
/ gui / include / Visualization / PlottablesRenderingUtils.h
#ifndef SCIQLOP_PLOTTABLESRENDERINGUTILS_H
#define SCIQLOP_PLOTTABLESRENDERINGUTILS_H
#include <Visualization/VisualizationDefs.h>
#include <memory>
#include <QtCore/QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(LOG_PlottablesRenderingUtils)
class IDataSeries;
class QCPColorScale;
class QCustomPlot;
/**
* Helper used to handle plottables rendering
*/
struct IPlottablesHelper {
virtual ~IPlottablesHelper() noexcept = default;
/// Set properties of the plottables passed as parameter
/// @param plottables the plottables for which to set properties
virtual void setProperties(PlottablesMap &plottables) = 0;
};
struct IPlottablesHelperFactory {
/// Creates IPlottablesHelper according to a data series
static std::unique_ptr<IPlottablesHelper>
create(std::shared_ptr<IDataSeries> dataSeries) noexcept;
};
#endif // SCIQLOP_PLOTTABLESRENDERINGUTILS_H