##// END OF EJS Templates
Wait for the end of an acquisition to validate an operation (3)...
Wait for the end of an acquisition to validate an operation (3) If an operation is to validate, waits the end of the acquisition

File last commit:

r537:8c1ac858caa5
r1215:7541b71e5b78
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;
}