##// END OF EJS Templates
push method of worker return the id of the nextRange which is canceled
push method of worker return the id of the nextRange which is canceled

File last commit:

r508:8c1ac858caa5
r584:d6648352006d
Show More
VariableSynchronizationGroup.cpp
32 lines | 824 B | text/x-c | CppLexer
/ core / src / Variable / VariableSynchronizationGroup.cpp
#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;
}