Provide an interface for creating timers. More...
#include <timer_interface.h>
Public Member Functions | |
virtual std::shared_ptr< TimerInterface > | create_timer (std::chrono::nanoseconds period, std::function< void()> callback, const bool oneshot=false, const bool autostart=true)=0 |
Provide an interface for creating timers.
Definition at line 64 of file timer_interface.h.
|
pure virtual |
Implemented in rosflight::ROSTimerProvider.