38 while (_resetThread.joinable() &&
39 !_resetThread.try_join_for(boost::chrono::milliseconds{100}))
52 std::unique_lock<std::recursive_timed_mutex> guard{
mutex};
68 std::unique_lock<std::recursive_timed_mutex> guard{
mutex};
70 QMetaObject::invokeMethod(
this,
"doReset", Qt::QueuedConnection);
79 QMetaObject::invokeMethod(
this,
"updateContent", Qt::QueuedConnection);
81 QWidget::setVisible(visible);
85 RobotUnitWidgetBase::doReset()
87 std::unique_lock<std::recursive_timed_mutex> guard{
mutex};
93 if (!_resetThread.joinable() ||
94 _resetThread.try_join_for(boost::chrono::milliseconds{10}))
98 _resetThread = boost::thread{
101 ARMARX_INFO <<
"Resetting of widget '" << objectName().toStdString()
109 ARMARX_WARNING <<
"Resetting of widget '" << objectName().toStdString()
115 QMetaObject::invokeMethod(
this,
"updateContent", Qt::QueuedConnection);
117 ARMARX_INFO <<
"Resetting of widget '" << objectName().toStdString()
127 QMetaObject::invokeMethod(
this,
"updateContent", Qt::QueuedConnection);
145 QMetaObject::invokeMethod(
this,
"updateContent", Qt::QueuedConnection);