Bob Polis
53a3c0d105
Change header
2024-02-01 11:15:16 +01:00
c88aa8f04f
Fix nanoseconds for timer setup using seconds
2024-01-31 16:02:58 +01:00
2e0a4dce54
Fix time setup
2024-01-31 15:49:36 +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
d9c0ece745
Remember new timing settings
2024-01-24 10:01:43 +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
dedd67b0fd
Remove useless assignment to union member
2024-01-24 09:19:17 +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
9dffae5f5d
Revert back to version 1.0.0
2024-01-23 23:33:57 +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
25556263d3
Bumped version to 2.0.0
2024-01-23 19:04:47 +01:00
ace5db88b3
Change .d to .dep
2024-01-23 18:56:57 +01:00
6831eaa7c3
Cleanup namespace usage
2024-01-23 16:39:41 +01:00
b2e1b47d31
Add implementation
2024-01-23 16:23:11 +01:00
41244b0a70
Add dependencies
2024-01-23 16:23:02 +01:00
10b3fb47df
First commit
2024-01-23 15:42:16 +01:00