F´ Flight Software - C/C++ Documentation
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
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Functions
c
d
e
f
g
i
m
p
r
s
t
v
w
Variables
b
c
d
f
l
m
o
p
s
t
z
Typedefs
Enumerations
c
f
o
p
s
Enumerator
a
b
c
e
f
h
i
m
n
o
p
r
s
t
u
v
w
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
r
s
t
u
v
w
Typedefs
c
e
p
s
t
u
Enumerations
b
c
d
g
h
l
m
o
p
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Related Functions
a
b
c
d
e
f
g
h
l
o
p
r
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
l
m
p
q
r
s
t
u
v
Functions
c
i
m
s
u
Variables
Typedefs
b
c
d
f
i
m
q
r
s
t
u
Enumerations
Enumerator
a
b
c
d
f
g
h
p
r
s
t
Macros
_
a
c
d
f
h
l
m
p
r
s
u
v
Examples
•
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/FPrimeBasicTypes.hpp
>
5
#include <
Fw/Types/Serializable.hpp
>
6
7
namespace
Drv
{
8
9
class
DataBuffer
:
public
Fw::SerializeBufferBase
{
10
public
:
11
enum
{
12
DATA_BUFFER_SIZE
= 256,
13
SERIALIZED_TYPE_ID
= 1010,
14
SERIALIZED_SIZE
=
DATA_BUFFER_SIZE
+
sizeof
(
FwBuffSizeType
)
15
};
16
17
DataBuffer
(
const
U8
* args,
FwSizeType
size);
18
DataBuffer
();
19
DataBuffer
(
const
DataBuffer
& other);
20
virtual
~DataBuffer
();
21
DataBuffer
&
operator=
(
const
DataBuffer
& other);
22
23
FwSizeType
getBuffCapacity
()
const
;
// !< returns capacity, not current size, of buffer
24
U8
*
getBuffAddr
();
25
const
U8
*
getBuffAddr
()
const
;
26
27
private
:
28
U8
m_data[
DATA_BUFFER_SIZE
];
// packet data buffer
29
};
30
}
// namespace Drv
31
32
#endif
Drv::DataBuffer::SERIALIZED_TYPE_ID
Definition:
DataBuffer.hpp:13
Drv::DataBuffer::DataBuffer
DataBuffer()
Definition:
DataBuffer.cpp:11
FwSizeType
PlatformSizeType FwSizeType
Definition:
FwSizeTypeAliasAc.h:15
FPrimeBasicTypes.hpp
Drv::DataBuffer::DATA_BUFFER_SIZE
Definition:
DataBuffer.hpp:12
Drv::DataBuffer
Definition:
DataBuffer.hpp:9
FwBuffSizeType
FwSizeStoreType FwBuffSizeType
Definition:
FPrimeBasicTypes.h:57
Drv::DataBuffer::operator=
DataBuffer & operator=(const DataBuffer &other)
Definition:
DataBuffer.cpp:20
Drv::DataBuffer::getBuffAddr
U8 * getBuffAddr()
gets buffer address for data filling
Definition:
DataBuffer.cpp:38
Fw::SerializeBufferBase
Definition:
Serializable.hpp:64
Drv::DataBuffer::~DataBuffer
virtual ~DataBuffer()
Definition:
DataBuffer.cpp:13
Drv::DataBuffer::SERIALIZED_SIZE
Definition:
DataBuffer.hpp:14
U8
uint8_t U8
8-bit unsigned integer
Definition:
BasicTypes.h:53
Drv
Definition:
ByteStreamDataPortAc.cpp:11
Drv::DataBuffer::getBuffCapacity
FwSizeType getBuffCapacity() const
returns capacity, not current size, of buffer
Definition:
DataBuffer.cpp:30
Serializable.hpp
Drv
Ports
DataTypes
DataBuffer.hpp
Generated by
1.8.14