Classes | Namespaces
interruptible_sleep_interface.h File Reference

Object implementing an ok() method that can interrupt pending sleeps when it returns false. More...

#include <memory>
#include <ros/duration.h>
Include dependency graph for interruptible_sleep_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cras::InterruptibleSleepInterface
 Interface to an object whose sleep() calls can be interrupted externally. Multiple sleep() calls can be happening at a time. The object waits for the last sleep() call to finish on destruction. No more sleep() calls can be made once destruction of the object started (sleep() will return false in such case). Make sure that ok() returns false when this object is about to be destroyed. More...
 

Namespaces

 cras
 

Detailed Description

Object implementing an ok() method that can interrupt pending sleeps when it returns false.

Author
Martin Pecka SPDX-License-Identifier: BSD-3-Clause SPDX-FileCopyrightText: Czech Technical University in Prague

Definition in file interruptible_sleep_interface.h.



cras_cpp_common
Author(s): Martin Pecka
autogenerated on Mon Jun 17 2024 02:48:57