CppELib 1.7.0
Loading...
Searching...
No Matches
StdCppOneShotTimerFactory.h
Go to the documentation of this file.
1#ifndef STDCPP_OS_WRAPPER_STDCPP_ONESHOT_TIMER_FACTORY_H_INCLUDED
2#define STDCPP_OS_WRAPPER_STDCPP_ONESHOT_TIMER_FACTORY_H_INCLUDED
3
5#include <mutex>
6
7namespace StdCppOSWrapper {
8
10public:
13
14private:
15 virtual OSWrapper::OneShotTimer* create(OSWrapper::Runnable* r, const char* name);
16 virtual void destroy(OSWrapper::OneShotTimer* t);
17
20
21 std::mutex m_mutex;
22};
23
24}
25
26#endif // STDCPP_OS_WRAPPER_STDCPP_ONESHOT_TIMER_FACTORY_H_INCLUDED
Definition OneShotTimerFactory.h:9
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
Definition StdCppOneShotTimerFactory.h:9
StdCppOneShotTimerFactory()
Definition StdCppOneShotTimerFactory.cpp:152
virtual ~StdCppOneShotTimerFactory()
Definition StdCppOneShotTimerFactory.h:12
Implementation of OSWrapper for standard C++11 using std::thread.
Definition StdCppEventFlagFactory.cpp:6