From f4f5c15a014761cf80d226debdf951aca3d52cd7 Mon Sep 17 00:00:00 2001 From: Martin Hierholzer <martin.hierholzer@desy.de> Date: Tue, 8 Nov 2016 16:59:41 +0100 Subject: [PATCH] fixed the VariableGroup not working properly --- src/VariableGroup.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/VariableGroup.cc b/src/VariableGroup.cc index 3758cdca..22b2707d 100644 --- a/src/VariableGroup.cc +++ b/src/VariableGroup.cc @@ -9,6 +9,11 @@ #include "Accessor.h" namespace ChimeraTK { + + VariableGroup::~VariableGroup() { + } + +/*********************************************************************************************************************/ void VariableGroup::readAny() { bool gotUpdate = false; @@ -16,7 +21,7 @@ namespace ChimeraTK { boost::this_thread::yield(); boost::this_thread::interruption_point(); for(auto accessor : accessorList) { - if(accessor->getUpdateMode() == UpdateMode::poll) { + if(accessor->getUpdateMode() == UpdateMode::push) { if(accessor->readNonBlocking()) gotUpdate = true; } } -- GitLab