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
DataBuffer.hpp
Go to the documentation of this file.
1
#ifndef _DrvDataBuffer_hpp_
2
#define _DrvDataBuffer_hpp_
3
4
#include <
Fw/Types/BasicTypes.hpp
>
5
#include <
Fw/Types/Serializable.hpp
>
6
7
namespace
Drv
{
8
9
class
DataBuffer
:
public
Fw::SerializeBufferBase
{
10
public
:
11
12
enum
{
13
DATA_BUFFER_SIZE
= 256,
14
SERIALIZED_TYPE_ID
= 1010,
15
SERIALIZED_SIZE
=
DATA_BUFFER_SIZE
+
sizeof
(
FwBuffSizeType
)
16
};
17
18
DataBuffer
(
const
U8
*args,
NATIVE_UINT_TYPE
size);
19
DataBuffer
();
20
DataBuffer
(
const
DataBuffer
& other);
21
virtual
~DataBuffer
();
22
const
DataBuffer
&
operator=
(
const
DataBuffer
& other);
23
24
NATIVE_UINT_TYPE
getBuffCapacity
(
void
)
const
;
// !< returns capacity, not current size, of buffer
25
U8
*
getBuffAddr
(
void
);
26
const
U8
*
getBuffAddr
(
void
)
const
;
27
28
private
:
29
U8
m_data[
DATA_BUFFER_SIZE
];
// packet data buffer
30
};
31
}
32
33
#endif
Drv::DataBuffer
Definition:
DataBuffer.hpp:9
Fw::SerializeBufferBase
Definition:
Serializable.hpp:43
Serializable.hpp
Drv::DataBuffer::getBuffAddr
U8 * getBuffAddr(void)
gets buffer address for data filling
Definition:
DataBuffer.cpp:36
U8
uint8_t U8
8-bit unsigned integer
Definition:
BasicTypes.hpp:76
Drv::DataBuffer::getBuffCapacity
NATIVE_UINT_TYPE getBuffCapacity(void) const
returns capacity, not current size, of buffer
Definition:
DataBuffer.cpp:28
Drv::DataBuffer::DataBuffer
DataBuffer()
Definition:
DataBuffer.cpp:11
Drv::DataBuffer::DATA_BUFFER_SIZE
@ DATA_BUFFER_SIZE
Definition:
DataBuffer.hpp:13
Drv
Definition:
BlockDriverComponentAc.cpp:22
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition:
BasicTypes.hpp:30
Drv::DataBuffer::~DataBuffer
virtual ~DataBuffer()
Definition:
DataBuffer.cpp:14
Drv::DataBuffer::operator=
const DataBuffer & operator=(const DataBuffer &other)
Definition:
DataBuffer.cpp:22
Drv::DataBuffer::SERIALIZED_SIZE
@ SERIALIZED_SIZE
Definition:
DataBuffer.hpp:15
BasicTypes.hpp
Declares ISF basic types.
Drv::DataBuffer::SERIALIZED_TYPE_ID
@ SERIALIZED_TYPE_ID
Definition:
DataBuffer.hpp:14
FwBuffSizeType
#define FwBuffSizeType
Type representation for storing a buffer or string size.
Definition:
FpConfig.hpp:79
Drv
DataTypes
DataBuffer.hpp
Generated by
1.8.19