Skip to content
Snippets Groups Projects
Commit f4f5c15a authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

fixed the VariableGroup not working properly

parent 5690b2ab
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment