37 if ((
TimeUtil::GetTime() - in.getStartTime()->toTime()).toSecondsDouble() > in.getTimeout())
43 ARMARX_DEBUG <<
"sleeping for " << in.getSleepTime() <<
" seconds";
static SubClassRegistry Registry
Wait(const XMLStateConstructorParams &stateData)
static XMLStateFactoryBasePtr CreateInstance(XMLStateConstructorParams stateData)
static IceUtil::Time GetTime(TimeMode timeMode=TimeMode::VirtualTime)
Get the current time.
static void Sleep(IceUtil::Time duration)
lock the calling thread for a given duration (like usleep(...) but using Timeserver time)
#define ARMARX_DEBUG
The logging level for output that is only interesting while debugging.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< XMLStateFactoryBase > XMLStateFactoryBasePtr