CppELib 1.7.0
Loading...
Searching...
No Matches
OneShotTimerFactory.h
Go to the documentation of this file.
1#ifndef OS_WRAPPER_ONESHOT_TIMER_FACTORY_H_INCLUDED
2#define OS_WRAPPER_ONESHOT_TIMER_FACTORY_H_INCLUDED
3
4namespace OSWrapper {
5
6class Runnable;
7class OneShotTimer;
8
10public:
12 virtual OneShotTimer* create(Runnable* r, const char* name) = 0;
13 virtual void destroy(OneShotTimer* t) = 0;
14};
15
16}
17
18#endif // OS_WRAPPER_ONESHOT_TIMER_FACTORY_H_INCLUDED
Definition OneShotTimerFactory.h:9
virtual void destroy(OneShotTimer *t)=0
virtual ~OneShotTimerFactory()
Definition OneShotTimerFactory.h:11
virtual OneShotTimer * create(Runnable *r, const char *name)=0
Abstract class that has functions of common RTOS's one-shot timer.
Definition OneShotTimer.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