##// END OF EJS Templates
Discard an added event remove it now.
Discard an added event remove it now.

File last commit:

r512:d00d6fd96c10
r1267:fba51a5eef20
Show More
VisualizationController.h
51 lines | 1.5 KiB | text/x-c | CLexer
/ core / include / Visualization / VisualizationController.h
Add the visualization controller
r53 #ifndef SCIQLOP_VISUALIZATIONCONTROLLER_H
#define SCIQLOP_VISUALIZATIONCONTROLLER_H
Alexandre Leroux
Exports core module as a shared library...
r461 #include "CoreGlobal.h"
Change SqpRange for SqpDateTime
r512 #include <Data/SqpRange.h>
Add connection logical for the rescale operation
r437
Add the visualization controller
r53 #include <QLoggingCategory>
#include <QObject>
#include <QUuid>
#include <Common/spimpl.h>
Q_DECLARE_LOGGING_CATEGORY(LOG_VisualizationController)
class DataSourceItem;
Alexandre Leroux
Makes the connection between Variable controller and Visualization controller...
r170 class Variable;
Add the visualization controller
r53
/**
* @brief The VisualizationController class aims to make the link between SciQlop and its plugins.
* This is the intermediate class that SciQlop has to use in the way to connect a data source.
* Please first use register method to initialize a plugin specified by its metadata name (JSON
* plugin source) then others specifics method will be able to access it. You can load a data source
* driver plugin then create a data source.
*/
Alexandre Leroux
Exports core module as a shared library...
r461 class SCIQLOP_CORE_EXPORT VisualizationController : public QObject {
Add the visualization controller
r53 Q_OBJECT
public:
explicit VisualizationController(QObject *parent = 0);
virtual ~VisualizationController();
Alexandre Leroux
Removes VisualizationController::onVariableCreated() slot...
r174 signals:
Alexandre Leroux
Variable deletion (6)...
r335 /// Signal emitted when a variable is about to be deleted from SciQlop
void variableAboutToBeDeleted(std::shared_ptr<Variable> variable);
Alexandre Leroux
Makes the connection between Variable controller and Visualization controller...
r170
Add connection logical for the rescale operation
r437 /// Signal emitted when a data acquisition is requested on a range for a variable
Change SqpRange for SqpDateTime
r512 void rangeChanged(std::shared_ptr<Variable> variable, const SqpRange &range);
Add connection logical for the rescale operation
r437
Alexandre Leroux
Removes VisualizationController::onVariableCreated() slot...
r174 public slots:
Add the visualization controller
r53 /// Manage init/end of the controller
void initialize();
void finalize();
private:
void waitForFinish();
class VisualizationControllerPrivate;
spimpl::unique_impl_ptr<VisualizationControllerPrivate> impl;
};
#endif // SCIQLOP_VISUALIZATIONCONTROLLER_H