cleanup, timermanager in App is a dependency that takes timers again.

App now adds already constructed Timers
Timer is now an Invoker that takes a weak_ptr to a steppable with a
request()rather than a bool callback.
should eventually be changed to composition
This commit is contained in:
2026-08-23 23:25:04 +02:00
parent 54faab2a28
commit 273ff07a00
10 changed files with 74 additions and 68 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ public:
virtual ~Steppable() = default;
bool is_finished = 0;
size_t stepcount = 0;
virtual bool step() = 0;
virtual void step() = 0;
};
#endif