F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
b
c
f
h
i
l
m
n
o
p
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
c
t
u
w
Enumerations
b
c
d
e
f
g
h
i
m
o
p
q
s
t
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Functions
a
b
c
f
g
h
l
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Functions
f
i
m
s
u
Variables
_
c
f
i
l
p
t
Typedefs
Enumerations
Enumerator
a
c
d
f
i
m
p
r
s
t
w
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
20
class
MmapAllocator
:
public
MemAllocator
{
21
public
:
22
MmapAllocator
();
23
virtual
~MmapAllocator
();
24
void
*
allocate
(
const
NATIVE_UINT_TYPE
identifier,
NATIVE_UINT_TYPE
&size,
bool
& recoverable);
25
void
deallocate
(
const
NATIVE_UINT_TYPE
identifier,
void
* ptr);
26
27
private
:
28
NATIVE_UINT_TYPE
m_length;
29
};
30
31
}
/* namespace Fw */
32
33
#endif
/* TYPES_MMAPALLOCATOR_HPP_ */
MemAllocator.hpp
Defines a base class for a memory allocator for classes.
Fw::MmapAllocator::~MmapAllocator
virtual ~MmapAllocator()
Definition:
MmapAllocator.cpp:23
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition:
BasicTypes.hpp:30
Fw::MemAllocator
Definition:
MemAllocator.hpp:44
Fw::MmapAllocator
Definition:
MmapAllocator.hpp:20
Fw::MmapAllocator::MmapAllocator
MmapAllocator()
Definition:
MmapAllocator.cpp:20
Fw::MmapAllocator::deallocate
void deallocate(const NATIVE_UINT_TYPE identifier, void *ptr)
Deallocate memory.
Definition:
MmapAllocator.cpp:41
Fw::MmapAllocator::allocate
void * allocate(const NATIVE_UINT_TYPE identifier, NATIVE_UINT_TYPE &size, bool &recoverable)
Allocate memory.
Definition:
MmapAllocator.cpp:26
Fw
Definition:
BufferGetPortAc.cpp:6
Fw
Types
MmapAllocator.hpp
Generated by
1.8.19