distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
Software Timers

Software Timers API of distortos. More...

Classes

class  distortos::SoftwareTimer
 SoftwareTimer class is an abstract interface for software timers. More...
 
class  distortos::SoftwareTimerCommon
 SoftwareTimerCommon class implements common functionality of software timers. More...
 
class  distortos::StaticSoftwareTimer< Function, Args >
 StaticSoftwareTimer class is a templated interface for software timer. More...
 

Functions

template<typename Function , typename... Args>
StaticSoftwareTimer< Function, Args... > distortos::makeStaticSoftwareTimer (Function &&function, Args &&... args)
 Helper factory function to make StaticSoftwareTimer object with deduced template arguments. More...
 

Detailed Description

Software Timers API of distortos.

Function Documentation

◆ makeStaticSoftwareTimer()

template<typename Function , typename... Args>
StaticSoftwareTimer<Function, Args...> distortos::makeStaticSoftwareTimer ( Function &&  function,
Args &&...  args 
)

Helper factory function to make StaticSoftwareTimer object with deduced template arguments.

Template Parameters
Functionis the function that will be executed
Argsare the arguments for function
Parameters
[in]functionis a function that will be executed from interrupt context at a later time
[in]argsare arguments for function
Returns
StaticSoftwareTimer object with deduced template arguments
Here is the caller graph for this function: