zpp
Zephyr C++20 Framework
timer.hpp File Reference
#include <zephyr/kernel.h>
#include <zephyr/sys/__assert.h>
#include <chrono>
#include <functional>
#include <type_traits>
#include <zpp/clock.hpp>
Include dependency graph for timer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  zpp::timer_base
 base class for the timer class More...
 
class  zpp::timer< T_ExpireCallback, T_StopCallback >
 timer class with expire and stop callbacks More...
 
class  zpp::basic_timer< T_ExpireCallback >
 timer class with only an expire callback More...
 
class  zpp::sync_timer
 timer class with no callbacks used for syncing only More...
 

Namespaces

 zpp
 

Functions

auto zpp::make_timer () noexcept
 create sync_timer object More...
 
template<class T_ExpireCallback >
auto zpp::make_timer (T_ExpireCallback &&ecb) noexcept
 create basic_timer object More...
 
template<class T_ExpireCallback , class T_StopCallback >
auto zpp::make_timer (T_ExpireCallback &&ecb, T_StopCallback &&scb) noexcept
 create timer object More...