##// END OF EJS Templates
Corrects the problem of refreshing synchronized graphs from TimeWidget (1)...
Corrects the problem of refreshing synchronized graphs from TimeWidget (1) Introduces graph flags to set options for the widget

File last commit:

r537:8c1ac858caa5
r1271:87a145505c37
Show More
VariableSynchronizationGroup.cpp
32 lines | 824 B | text/x-c | CppLexer
/ core / src / Variable / VariableSynchronizationGroup.cpp
Add VariableSynchronizationGroup
r537 #include "Variable/VariableSynchronizationGroup.h"
#include "Variable/Variable.h"
Q_LOGGING_CATEGORY(LOG_VariableSynchronizationGroup, "VariableSynchronizationGroup")
struct VariableSynchronizationGroup::VariableSynchronizationGroupPrivate {
std::set<QUuid> m_VariableIdSet;
};
VariableSynchronizationGroup::VariableSynchronizationGroup(QObject *parent)
: QObject{parent}, impl{spimpl::make_unique_impl<VariableSynchronizationGroupPrivate>()}
{
}
void VariableSynchronizationGroup::addVariableId(QUuid vIdentifier)
{
impl->m_VariableIdSet.insert(vIdentifier);
}
void VariableSynchronizationGroup::removeVariableId(QUuid vIdentifier)
{
impl->m_VariableIdSet.erase(vIdentifier);
}
const std::set<QUuid> &VariableSynchronizationGroup::getIds() const noexcept
{
return impl->m_VariableIdSet;
}