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);
#define ARMARX_INFO
The normal logging level.
#define ARMARX_WARNING
The logging level for unexpected behaviour, but not a serious problem.
This file offers overloads of toIce() and fromIce() functions for STL container types.
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotUnitInterface > RobotUnitInterfacePrx
std::string GetHandledExceptionString()