chore: Add course material

This commit is contained in:
2026-10-05 11:27:21 +02:00
parent 971813c351
commit e8241fd1ff
660 changed files with 26658 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
// ======================================================
//
// This class specializes the Timer to enable it to
// stimulate a Light
//
// ======================================================
#ifndef LightTimer_H
#define LightTimer_H
#include "Light.h"
#include "Timer.h"
class LightTimer : public Timer {
public:
typedef void (Light::*TargetFunc)();
LightTimer(Light &target, TargetFunc targetFunc);
private:
void doExpired();
Light &myTarget;
TargetFunc myTargetFunc;
};
#endif