F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
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
e
f
g
h
l
n
o
p
r
s
t
w
Enumerations
Enumerator
a
b
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
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
Functions
f
i
m
p
r
s
t
u
Variables
Typedefs
a
b
c
e
f
i
n
p
s
u
Enumerations
Enumerator
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
MallocAllocator.hpp
Go to the documentation of this file.
1
13
#ifndef TYPES_MALLOCALLOCATOR_HPP_
14
#define TYPES_MALLOCALLOCATOR_HPP_
15
16
#include <
Fw/Types/MemAllocator.hpp
>
17
18
namespace
Fw
{
19
29
class
MallocAllocator
:
public
MemAllocator
{
30
public
:
31
MallocAllocator
();
32
virtual
~MallocAllocator
();
34
40
void
*
allocate
(
41
const
NATIVE_UINT_TYPE
identifier,
42
NATIVE_UINT_TYPE
&size,
43
bool
& recoverable);
45
49
void
deallocate
(
50
const
NATIVE_UINT_TYPE
identifier,
51
void
* ptr);
52
};
53
54
}
/* namespace Fw */
55
56
#endif
/* TYPES_MALLOCALLOCATOR_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::MallocAllocator
Definition
MallocAllocator.hpp:29
Fw::MallocAllocator::MallocAllocator
MallocAllocator()
Definition
MallocAllocator.cpp:18
Fw::MallocAllocator::allocate
void * allocate(const NATIVE_UINT_TYPE identifier, NATIVE_UINT_TYPE &size, bool &recoverable)
Allocate memory.
Definition
MallocAllocator.cpp:24
Fw::MallocAllocator::~MallocAllocator
virtual ~MallocAllocator()
Definition
MallocAllocator.cpp:21
Fw::MallocAllocator::deallocate
void deallocate(const NATIVE_UINT_TYPE identifier, void *ptr)
Deallocate memory.
Definition
MallocAllocator.cpp:35
Fw::MemAllocator
Definition
MemAllocator.hpp:46
Fw
Definition
Buffer.cpp:21
Fw
Types
MallocAllocator.hpp
Generated by
1.9.7