CppELib 1.7.0
Loading...
Searching...
No Matches
MutexFactory.h
Go to the documentation of this file.
1#ifndef OS_WRAPPER_MUTEX_FACTORY_H_INCLUDED
2#define OS_WRAPPER_MUTEX_FACTORY_H_INCLUDED
3
4namespace OSWrapper {
5
6class Mutex;
7
9public:
10 virtual ~MutexFactory() {}
11 virtual Mutex* create() = 0;
12 virtual Mutex* create(int priorityCeiling) = 0;
13 virtual void destroy(Mutex* m) = 0;
14};
15
16}
17
18#endif // OS_WRAPPER_MUTEX_FACTORY_H_INCLUDED
Definition MutexFactory.h:8
virtual Mutex * create()=0
virtual ~MutexFactory()
Definition MutexFactory.h:10
virtual Mutex * create(int priorityCeiling)=0
virtual void destroy(Mutex *m)=0
Abstract class that has functions of common RTOS's mutex.
Definition Mutex.h:22
OSWrapper provides abstract C++ interface of common RTOS: thread, mutex, event flag,...
Definition EventFlag.cpp:5