F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
MmapAllocator.hpp
Go to the documentation of this file.
1
13
#ifndef TYPES_MMAPALLOCATOR_HPP_
14
#define TYPES_MMAPALLOCATOR_HPP_
15
16
#include <
Fw/Types/MemAllocator.hpp
>
17
18
namespace
Fw
{
19
22
class
MmapAllocator
:
public
MemAllocator
{
23
public
:
26
MmapAllocator
();
28
virtual
~MmapAllocator
();
29
34
void
*
allocate
(
const
FwEnumStoreType
identifier,
FwSizeType
& size,
bool
& recoverable);
35
39
void
deallocate
(
const
FwEnumStoreType
identifier,
void
* ptr);
40
41
private
:
42
FwSizeType
m_length;
43
};
44
45
}
/* namespace Fw */
46
47
#endif
/* TYPES_MMAPALLOCATOR_HPP_ */
Fw::MmapAllocator::~MmapAllocator
virtual ~MmapAllocator()
Destructor with no arguments.
Definition:
MmapAllocator.cpp:22
Fw::MmapAllocator::MmapAllocator
MmapAllocator()
Definition:
MmapAllocator.cpp:20
FwSizeType
PlatformSizeType FwSizeType
Definition:
FpConfig.h:35
Fw::MmapAllocator
Definition:
MmapAllocator.hpp:22
FwEnumStoreType
I32 FwEnumStoreType
Definition:
FpConfig.h:64
Fw::MmapAllocator::deallocate
void deallocate(const FwEnumStoreType identifier, void *ptr)
Definition:
MmapAllocator.cpp:38
Fw::MmapAllocator::allocate
void * allocate(const FwEnumStoreType identifier, FwSizeType &size, bool &recoverable)
Definition:
MmapAllocator.cpp:24
Fw::MemAllocator
Definition:
MemAllocator.hpp:46
MemAllocator.hpp
Defines a base class for a memory allocator for classes.
Fw
Definition:
FppConstantsAc.hpp:121
Fw
Types
MmapAllocator.hpp
Generated by
1.8.14