F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
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
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
b
d
e
f
g
h
i
l
m
n
p
q
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
l
m
n
o
p
q
r
s
t
w
Related Functions
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
Functions
f
i
m
s
u
Variables
Typedefs
Enumerations
Enumerator
c
d
f
m
p
r
s
t
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
ConstByteArray.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title ConstByteArray.hpp
3
// \author bocchino
4
// \brief hpp file for ConstByteArray 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_ConstByteArray_HPP
14
#define Fw_ConstByteArray_HPP
15
16
#include "
Fw/Types/BasicTypes.hpp
"
17
18
namespace
Fw
{
19
23
struct
ConstByteArray
{
24
25
// ----------------------------------------------------------------------
26
// Construction
27
// ----------------------------------------------------------------------
28
31
ConstByteArray
(
32
const
U8
*
const
bytes
,
33
const
U32
size
34
) :
35
bytes
(
bytes
),
36
size
(
size
)
37
{
38
39
}
40
41
// ----------------------------------------------------------------------
42
// Data
43
// ----------------------------------------------------------------------
44
46
const
U8
*
const
bytes
;
47
49
const
U32
size
;
50
51
};
52
53
}
54
55
#endif
Fw::ConstByteArray
A variable-length byte array with constant access.
Definition:
ConstByteArray.hpp:23
U8
uint8_t U8
8-bit unsigned integer
Definition:
BasicTypes.hpp:76
Fw::ConstByteArray::ConstByteArray
ConstByteArray(const U8 *const bytes, const U32 size)
Definition:
ConstByteArray.hpp:31
Fw::ConstByteArray::size
const U32 size
The size.
Definition:
ConstByteArray.hpp:49
Fw::ConstByteArray::bytes
const U8 *const bytes
The bytes.
Definition:
ConstByteArray.hpp:46
BasicTypes.hpp
Declares ISF basic types.
Fw
Definition:
Buffer.cpp:21
Fw
Types
ConstByteArray.hpp
Generated by
1.8.17