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
4
namespace
OSWrapper
{
5
6
class
Mutex;
7
8
class
MutexFactory
{
9
public
:
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
OSWrapper::MutexFactory
Definition
MutexFactory.h:8
OSWrapper::MutexFactory::create
virtual Mutex * create()=0
OSWrapper::MutexFactory::~MutexFactory
virtual ~MutexFactory()
Definition
MutexFactory.h:10
OSWrapper::MutexFactory::create
virtual Mutex * create(int priorityCeiling)=0
OSWrapper::MutexFactory::destroy
virtual void destroy(Mutex *m)=0
OSWrapper::Mutex
Abstract class that has functions of common RTOS's mutex.
Definition
Mutex.h:22
OSWrapper
OSWrapper provides abstract C++ interface of common RTOS: thread, mutex, event flag,...
Definition
EventFlag.cpp:5
mechanism
OSWrapper
MutexFactory.h
Generated by
1.9.8