yarp-devices
|
Registers asynchronous operations.
#include <FutureObserverLib.hpp>
Public Member Functions | |
virtual | ~FutureObserver ()=default |
Virtual destructor. | |
void | shutdown () |
Finalize all pending tasks and clean queue. | |
std::future< void > & | f () |
Register an asynchronous operation that can be assigned thereafter. | |
Static Public Attributes | |
static constexpr int | MILLIS = 50 |
Private Attributes | |
std::vector< std::future< void > * > | futures |