CppELib 1.7.0
Loading...
Searching...
No Matches
StdCppMutexFactory.h
Go to the documentation of this file.
1#ifndef STDCPP_OS_WRAPPER_STDCPP_MUTEX_FACTORY_H_INCLUDED
2#define STDCPP_OS_WRAPPER_STDCPP_MUTEX_FACTORY_H_INCLUDED
3
5#include <mutex>
6
7namespace StdCppOSWrapper {
8
10public:
13
14private:
15 virtual OSWrapper::Mutex* create();
16 virtual OSWrapper::Mutex* create(int priorityCeiling);
17 virtual void destroy(OSWrapper::Mutex* m);
18
20 StdCppMutexFactory& operator=(const StdCppMutexFactory&);
21
22 std::mutex m_mutex;
23};
24
25}
26
27#endif // STDCPP_OS_WRAPPER_STDCPP_MUTEX_FACTORY_H_INCLUDED
Definition MutexFactory.h:8
Abstract class that has functions of common RTOS's mutex.
Definition Mutex.h:22
Definition StdCppMutexFactory.h:9
virtual ~StdCppMutexFactory()
Definition StdCppMutexFactory.h:12
StdCppMutexFactory()
Definition StdCppMutexFactory.cpp:99
Implementation of OSWrapper for standard C++11 using std::thread.
Definition StdCppEventFlagFactory.cpp:6