CppELib 1.7.0
Loading...
Searching...
No Matches
VariableMemoryPoolFactory.h
Go to the documentation of this file.
1#ifndef OS_WRAPPER_VARIABLE_MEMORY_POOL_FACTORY_H_INCLUDED
2#define OS_WRAPPER_VARIABLE_MEMORY_POOL_FACTORY_H_INCLUDED
3
4#include <cstddef>
5
6namespace OSWrapper {
7
8class VariableMemoryPool;
9
11public:
13 virtual VariableMemoryPool* create(std::size_t memoryPoolSize, void* memoryPoolAddress) = 0;
14 virtual void destroy(VariableMemoryPool* p) = 0;
15};
16
17}
18
19#endif // OS_WRAPPER_VARIABLE_MEMORY_POOL_FACTORY_H_INCLUDED
Definition VariableMemoryPoolFactory.h:10
virtual ~VariableMemoryPoolFactory()
Definition VariableMemoryPoolFactory.h:12
virtual VariableMemoryPool * create(std::size_t memoryPoolSize, void *memoryPoolAddress)=0
virtual void destroy(VariableMemoryPool *p)=0
Abstract class that has functions of common RTOS's variable-size memory pool.
Definition VariableMemoryPool.h:21
OSWrapper provides abstract C++ interface of common RTOS: thread, mutex, event flag,...
Definition EventFlag.cpp:5