yarp-devices
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
roboticslab::test::FutureObserver Class Reference

Registers asynchronous operations.

#include <FutureObserverLib.hpp>

Inheritance diagram for roboticslab::test::FutureObserver:
roboticslab::test::CanOpenNodeTest roboticslab::test::StateObserverTest

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
 

The documentation for this class was generated from the following file: