Public Member Functions | List of all members
mavrosflight::TimerProviderInterface Class Referenceabstract

Provide an interface for creating timers. More...

#include <timer_interface.h>

Inheritance diagram for mavrosflight::TimerProviderInterface:
Inheritance graph
[legend]

Public Member Functions

virtual std::shared_ptr< TimerInterfacecreate_timer (std::chrono::nanoseconds period, std::function< void()> callback, const bool oneshot=false, const bool autostart=true)=0
 

Detailed Description

Provide an interface for creating timers.

Definition at line 64 of file timer_interface.h.

Member Function Documentation

virtual std::shared_ptr<TimerInterface> mavrosflight::TimerProviderInterface::create_timer ( std::chrono::nanoseconds  period,
std::function< void()>  callback,
const bool  oneshot = false,
const bool  autostart = true 
)
pure virtual

Implemented in rosflight::ROSTimerProvider.


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


rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:09:29