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
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
u
v
w
Variables
b
c
f
g
k
l
m
o
p
r
s
t
u
w
z
Typedefs
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
f
h
i
k
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
e
f
i
m
r
s
t
w
Enumerations
b
c
d
f
g
h
m
o
q
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
:
a
b
c
d
f
g
h
l
p
q
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
f
g
i
m
p
r
s
t
u
Variables
_
b
c
f
g
i
l
p
r
s
w
Typedefs
a
b
c
e
f
i
n
p
s
t
u
Enumerations
Enumerator
a
b
c
f
g
h
p
r
s
t
Macros
_
a
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
►
F´ Flight Software - C/C++ Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
ByteArray.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title ByteArray.hpp
3
// \author bocchino
4
// \brief hpp file for ByteArray type
5
//
6
// \copyright
7
// Copyright (C) 2016 California Institute of Technology.
8
// ALL RIGHTS RESERVED. United States Government Sponsorship
9
// acknowledged.
10
//
11
// ======================================================================
12
13
#ifndef Fw_ByteArray_HPP
14
#define Fw_ByteArray_HPP
15
16
#include <
FpConfig.hpp
>
17
18
namespace
Fw
{
19
23
struct
ByteArray
{
24
25
// ----------------------------------------------------------------------
26
// Construction
27
// ----------------------------------------------------------------------
28
31
ByteArray
(
32
U8
*
const
bytes
,
33
const
U32
size
34
) :
35
bytes
(
bytes
),
36
size
(
size
)
37
{
38
39
}
31
ByteArray
( {
…
}
40
41
// ----------------------------------------------------------------------
42
// Data
43
// ----------------------------------------------------------------------
44
46
U8
*
const
bytes
;
47
49
const
U32
size
;
50
51
};
23
struct
ByteArray
{
…
};
52
53
}
54
55
#endif
U8
uint8_t U8
8-bit unsigned integer
Definition
BasicTypes.h:26
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
Fw
Definition
BufferGetPortAc.cpp:11
Fw::ByteArray
A variable-length byte array.
Definition
ByteArray.hpp:23
Fw::ByteArray::size
const U32 size
The size.
Definition
ByteArray.hpp:49
Fw::ByteArray::ByteArray
ByteArray(U8 *const bytes, const U32 size)
Definition
ByteArray.hpp:31
Fw::ByteArray::bytes
U8 *const bytes
The bytes.
Definition
ByteArray.hpp:46
Fw
Types
ByteArray.hpp
Generated by
1.10.0