##// END OF EJS Templates
Some WIP refactoring, trying to remove TimeController object...
Some WIP refactoring, trying to remove TimeController object SciQLOP core should be usable OOTB without creating controllers objects. Time range should be given on variable creation not taken from a global object. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r537:8c1ac858caa5
r1345:ce477e992869
Show More
VariableSynchronizationGroup.h
38 lines | 897 B | text/x-c | CLexer
/ core / include / Variable / VariableSynchronizationGroup.h
#ifndef SCIQLOP_VARIABLESYNCHRONIZATIONGROUP_H
#define SCIQLOP_VARIABLESYNCHRONIZATIONGROUP_H
#include "CoreGlobal.h"
#include <QLoggingCategory>
#include <QObject>
#include <QUuid>
#include <Data/SqpRange.h>
#include <set>
#include <QLoggingCategory>
#include <Common/spimpl.h>
Q_DECLARE_LOGGING_CATEGORY(LOG_VariableSynchronizationGroup)
class Variable;
/// This class aims to hande the cache strategy.
class SCIQLOP_CORE_EXPORT VariableSynchronizationGroup : public QObject {
Q_OBJECT
public:
explicit VariableSynchronizationGroup(QObject *parent = 0);
void addVariableId(QUuid vIdentifier);
void removeVariableId(QUuid vIdentifier);
const std::set<QUuid> &getIds() const noexcept;
private:
class VariableSynchronizationGroupPrivate;
spimpl::unique_impl_ptr<VariableSynchronizationGroupPrivate> impl;
};
#endif // SCIQLOP_VARIABLESYNCHRONIZATIONGROUP_H