Files
Upsilon/escher/include/escher/invocation_timer.h
Romain Goyet 3e83fe91f8 [escher] Add an InvocationTimer subclass
So that we can build invocation-less timers

Change-Id: I412fc8ad040156340caab295719fb83ed25b8b51
2017-03-07 11:06:59 +01:00

16 lines
304 B
C++

#ifndef ESCHER_INVOCATION_TIMER_H
#define ESCHER_INVOCATION_TIMER_H
#include <escher/timer.h>
#include <escher/invocation.h>
class InvocationTimer : public Timer {
public:
InvocationTimer(Invocation invocation, uint32_t period);
private:
void fire() override;
Invocation m_invocation;
};
#endif