##// END OF EJS Templates
Correction on package.cmake to include COPYING file instead of LICENCE File. Remove message from cmake
Correction on package.cmake to include COPYING file instead of LICENCE File. Remove message from cmake

File last commit:

r174:992eeb099247
r242:070194309ffd
Show More
VisualizationController.h
44 lines | 1.3 KiB | text/x-c | CLexer
/ core / include / Visualization / VisualizationController.h
Add the visualization controller
r53 #ifndef SCIQLOP_VISUALIZATIONCONTROLLER_H
#define SCIQLOP_VISUALIZATIONCONTROLLER_H
#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.
*/
class VisualizationController : public QObject {
Q_OBJECT
public:
explicit VisualizationController(QObject *parent = 0);
virtual ~VisualizationController();
Alexandre Leroux
Removes VisualizationController::onVariableCreated() slot...
r174 signals:
/// Signal emitted when a variable has been created in SciQlop
void variableCreated(std::shared_ptr<Variable> variable);
Alexandre Leroux
Makes the connection between Variable controller and Visualization controller...
r170
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