Bob Polis
53a3c0d105
Change header
2024-02-01 11:15:16 +01:00
2aa529ebf1
Forbid copying, moving; Add overrun getter
2024-01-31 14:39:46 +01:00
fe3e0dd068
Move posix headers to timer.hpp
2024-01-24 11:37:22 +01:00
fe4bbe77f9
Add start/stop methods
2024-01-24 09:59:11 +01:00
96e5cc193e
Make context mutable
...
the user callback gets a const timer ref, so in principle the context
would always be read-only. However, in practice it would often be
desirable to mutate the passed context. Therfore, it's now mutable.
2024-01-24 09:19:34 +01:00
4ac8765123
User callback gets const timer& arg instead of ptr
2024-01-24 09:03:30 +01:00
dbbbbd92bb
Callback cleaner: context can be taken from timer
2024-01-24 08:57:45 +01:00
df1e984c5a
User callback changed, better interface
2024-01-23 20:43:39 +01:00
d9233605f9
Change interface, more logical naming
2024-01-23 19:05:20 +01:00
b2e1b47d31
Add implementation
2024-01-23 16:23:11 +01:00