F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
g
h
i
m
o
p
r
s
t
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
l
o
p
r
s
t
u
w
Enumerations
Enumerator
a
b
c
f
h
i
n
o
p
s
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
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
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Typedefs
c
e
s
t
u
w
Enumerations
b
c
d
g
h
m
o
q
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
a
b
c
d
f
g
h
l
p
r
s
t
u
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
l
m
n
p
r
s
t
u
v
Functions
c
i
m
p
s
u
Variables
_
b
c
f
i
l
p
r
s
Typedefs
b
c
f
i
n
p
s
u
Enumerations
Enumerator
a
b
c
d
f
g
h
p
r
s
t
Macros
_
a
c
d
f
g
h
i
l
m
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
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
NATIVE_UINT_TYPE
identifier,
NATIVE_UINT_TYPE
&size,
bool
& recoverable);
35
39
void
deallocate
(
const
NATIVE_UINT_TYPE
identifier,
void
* ptr);
40
41
private
:
42
NATIVE_UINT_TYPE
m_length;
43
};
22
class
MmapAllocator
:
public
MemAllocator
{
…
};
44
45
}
/* namespace Fw */
46
47
#endif
/* TYPES_MMAPALLOCATOR_HPP_ */
NATIVE_UINT_TYPE
PlatformUIntType NATIVE_UINT_TYPE
Definition
BasicTypes.h:52
MemAllocator.hpp
Defines a base class for a memory allocator for classes.
Fw::MemAllocator
Definition
MemAllocator.hpp:46
Fw::MmapAllocator
Definition
MmapAllocator.hpp:22
Fw::MmapAllocator::MmapAllocator
MmapAllocator()
Definition
MmapAllocator.cpp:20
Fw::MmapAllocator::deallocate
void deallocate(const NATIVE_UINT_TYPE identifier, void *ptr)
Definition
MmapAllocator.cpp:41
Fw::MmapAllocator::~MmapAllocator
virtual ~MmapAllocator()
Destructor with no arguments.
Definition
MmapAllocator.cpp:23
Fw::MmapAllocator::allocate
void * allocate(const NATIVE_UINT_TYPE identifier, NATIVE_UINT_TYPE &size, bool &recoverable)
Definition
MmapAllocator.cpp:26
Fw
Definition
FppConstantsAc.hpp:98
Fw
Types
MmapAllocator.hpp
Generated by
1.10.0