##// END OF EJS Templates
Basic asynchronous variable update, still a lot to do...
Basic asynchronous variable update, still a lot to do Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r0:86b06c4cec3c
r17:895ab1d87afd
Show More
VariableSynchronizationGroup.h
39 lines | 994 B | text/x-c | CLexer
/ include / Variable / VariableSynchronizationGroup.h
#ifndef SCIQLOP_VARIABLESYNCHRONIZATIONGROUP_H
#define SCIQLOP_VARIABLESYNCHRONIZATIONGROUP_H
#include "CoreGlobal.h"
#include <QLoggingCategory>
#include <QObject>
#include <QUuid>
#include <Data/DateTimeRange.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 = Q_NULLPTR);
explicit VariableSynchronizationGroup(QUuid variable, QObject *parent = Q_NULLPTR);
void addVariable(QUuid vIdentifier);
void removeVariable(QUuid vIdentifier);
const std::set<QUuid> &getIds() const noexcept;
private:
class VariableSynchronizationGroupPrivate;
spimpl::unique_impl_ptr<VariableSynchronizationGroupPrivate> impl;
};
#endif // SCIQLOP_VARIABLESYNCHRONIZATIONGROUP_H