##// END OF EJS Templates
Removed bad dependency between VC and VariableModel, moved mime stuff...
Removed bad dependency between VC and VariableModel, moved mime stuff from VC to static Variable methods Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r27:c08d1b8ad297
r27:c08d1b8ad297
Show More
VariableController2.h
52 lines | 1.7 KiB | text/x-c | CLexer
/ include / Variable / VariableController2.h
(•̀ᴗ•́)و ̑̑ Some cleaning, remover previous implementation of VariableController...
r26 #ifndef VARIABLECONTROLLER2_H
#define 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>
#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
Removed bad dependency between VC and VariableModel, moved mime stuff...
r27 const std::vector<std::shared_ptr<Variable>> variables(const std::vector<QUuid>& ids);
Few methods added to ease integration in existing GUI...
r25
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
};
(•̀ᴗ•́)و ̑̑ Some cleaning, remover previous implementation of VariableController...
r26
#endif //VARIABLECONTROLLER2_H