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
MemAllocator.hpp
Go to the documentation of this file.
1
16
#ifndef TYPES_MEMALLOCATOR_HPP_
17
#define TYPES_MEMALLOCATOR_HPP_
18
19
#include <
Fw/Types/BasicTypes.hpp
>
20
42
namespace
Fw
{
43
44
class
MemAllocator
{
45
public
:
47
53
virtual
void
*
allocate
(
54
const
NATIVE_UINT_TYPE
identifier,
55
NATIVE_UINT_TYPE
&size,
56
bool
& recoverable)=0;
58
62
virtual
void
deallocate
(
63
const
NATIVE_UINT_TYPE
identifier,
64
void
* ptr)=0;
65
protected
:
66
MemAllocator
();
67
virtual
~MemAllocator
();
68
private
:
69
MemAllocator
(
MemAllocator
&);
70
MemAllocator
(
MemAllocator
*);
71
};
72
73
}
/* namespace Fw */
74
75
#endif
/* TYPES_MEMALLOCATOR_HPP_ */
Fw::MemAllocator::MemAllocator
MemAllocator()
Definition:
MemAllocator.cpp:17
Fw::MemAllocator::deallocate
virtual void deallocate(const NATIVE_UINT_TYPE identifier, void *ptr)=0
Deallocate memory.
Fw::MemAllocator::allocate
virtual void * allocate(const NATIVE_UINT_TYPE identifier, NATIVE_UINT_TYPE &size, bool &recoverable)=0
Allocate memory.
Fw::MemAllocator::~MemAllocator
virtual ~MemAllocator()
Definition:
MemAllocator.cpp:20
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition:
BasicTypes.hpp:30
Fw::MemAllocator
Definition:
MemAllocator.hpp:44
BasicTypes.hpp
Declares ISF basic types.
Fw
Definition:
BufferGetPortAc.cpp:6
Fw
Types
MemAllocator.hpp
Generated by
1.8.19