Go to the documentation of this file.
18 struct InterruptibleSleepInterfacePrivate;
41 virtual bool sleep(const ::ros::Duration& duration)
const;
49 virtual bool ok()
const;
57 ::std::unique_ptr<InterruptibleSleepInterfacePrivate>
data;
::std::unique_ptr< InterruptibleSleepInterfacePrivate > data
PIMPL data container.
virtual bool sleep(const ::ros::Duration &duration) const
Sleep for the given duration or until ok() returns false.
::ros::WallDuration pollDuration
How long to wait between querying the ok() status and other conditions.
Interface to an object whose sleep() calls can be interrupted externally. Multiple sleep() calls can ...
virtual bool ok() const
Whether it is OK to continue sleeping. If false, a pending sleep() should stop as soon as possible.
virtual ~InterruptibleSleepInterface()
Destroy the object waiting for a pending sleep() call to finish.
InterruptibleSleepInterface()
cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04