CppELib 1.7.0
Loading...
Searching...
No Matches
PeriodicTimerFactory.h
Go to the documentation of this file.
1#ifndef OS_WRAPPER_PERIODIC_TIMER_FACTORY_H_INCLUDED
2#define OS_WRAPPER_PERIODIC_TIMER_FACTORY_H_INCLUDED
3
4namespace OSWrapper {
5
6class Runnable;
7class PeriodicTimer;
8
10public:
12 virtual PeriodicTimer* create(Runnable* r, unsigned long periodInMillis, const char* name) = 0;
13 virtual void destroy(PeriodicTimer* t) = 0;
14};
15
16}
17
18#endif // OS_WRAPPER_PERIODIC_TIMER_FACTORY_H_INCLUDED
Definition PeriodicTimerFactory.h:9
virtual ~PeriodicTimerFactory()
Definition PeriodicTimerFactory.h:11
virtual PeriodicTimer * create(Runnable *r, unsigned long periodInMillis, const char *name)=0
virtual void destroy(PeriodicTimer *t)=0
Abstract class that has functions of common RTOS's periodic timer.
Definition PeriodicTimer.h:20
Interface for implementing an active class.
Definition Runnable.h:9
OSWrapper provides abstract C++ interface of common RTOS: thread, mutex, event flag,...
Definition EventFlag.cpp:5