##// END OF EJS Templates
Few methods added to ease integration in existing GUI...
Few methods added to ease integration in existing GUI Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r25:5f4f9560990b
r25:5f4f9560990b
Show More
VariableController2.h
52 lines | 1.9 KiB | text/x-c | CLexer
/ include / Variable / VariableController2.h
First init from SciQLop Core module...
r0 #include <memory>
#include <vector>
Some refactoring on Variable class...
r15 #include <set>
First init from SciQLop Core module...
r0 #include <QHash>
Basic serial variable creation and update...
r2 #include <QObject>
#include <QMutexLocker>
#include <QUuid>
Quick variable model copied from existing one...
r21 #include <QByteArray>
Basic serial variable creation and update...
r2 #include <QItemSelectionModel>
#include <Common/spimpl.h>
First init from SciQLop Core module...
r0 #include <Variable/Variable.h>
Some refactoring on Variable class...
r15 //#include <Variable/VariableSynchronizationGroup.h>
First init from SciQLop Core module...
r0 #include <Variable/VariableModel.h>
#include <Data/IDataProvider.h>
#include "Data/DateTimeRange.h"
Basic serial variable creation and update...
r2 class VariableController2: public QObject
First init from SciQLop Core module...
r0 {
Basic serial variable creation and update...
r2 class VariableController2Private;
Q_OBJECT
First init from SciQLop Core module...
r0 spimpl::unique_impl_ptr<VariableController2Private> impl;
public:
explicit VariableController2();
std::shared_ptr<Variable> createVariable(const QString &name, const QVariantHash &metadata,
Followed Clazy and Clang advises and disabled few old tests...
r14 const std::shared_ptr<IDataProvider>& provider,
const DateTimeRange &range);
Basic serial variable creation and update...
r2
Implemented variable duplication and some code move...
r20 std::shared_ptr<Variable> cloneVariable(const std::shared_ptr<Variable>& variable);
Followed Clazy and Clang advises and disabled few old tests...
r14 void deleteVariable(const std::shared_ptr<Variable>& variable);
void changeRange(const std::shared_ptr<Variable>& variable, const DateTimeRange& r);
void asyncChangeRange(const std::shared_ptr<Variable>& variable, const DateTimeRange& r);
Quick variable model copied from existing one...
r21 const std::vector<std::shared_ptr<Variable>> variables();
Basic serial variable creation and update...
r2
Basic asynchronous variable update, still a lot to do...
r17 bool isReady(const std::shared_ptr<Variable>& variable);
Followed Clazy and Clang advises and disabled few old tests...
r14 void synchronize(const std::shared_ptr<Variable>& var, const std::shared_ptr<Variable>& with);
Added more features in DateTimeRange to prepare variable synchronization...
r8
Few methods added to ease integration in existing GUI...
r25 //This should be somewhere else VC has nothing to do with MIMEData
Quick variable model copied from existing one...
r21 QByteArray mimeData(const std::vector<std::shared_ptr<Variable>> &variables) const;
Few methods added to ease integration in existing GUI...
r25 const std::vector<std::shared_ptr<Variable>> variables(QByteArray mimeData);
const std::shared_ptr<Variable>& operator[] (int index) const;
std::shared_ptr<Variable> operator[] (int index);
Added more features in DateTimeRange to prepare variable synchronization...
r8
Basic serial variable creation and update...
r2 signals:
Followed Clazy and Clang advises and disabled few old tests...
r14 void variableAdded(const std::shared_ptr<Variable>&);
void variableDeleted(const std::shared_ptr<Variable>&);
First init from SciQLop Core module...
r0
};