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
►
F´ Flight Software - C/C++ Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
TlmBuffer.hpp
Go to the documentation of this file.
1
/*
2
* TlmBuffer.hpp
3
*
4
* Author: tcanham
5
*/
6
7
/*
8
* Description:
9
* This object contains the TlmBuffer type, used for storing telemetry
10
*/
11
#ifndef FW_TLM_BUFFER_HPP
12
#define FW_TLM_BUFFER_HPP
13
14
#include <
FpConfig.hpp
>
15
#include <
Fw/Types/BasicTypes.hpp
>
16
#include <
Fw/Types/Serializable.hpp
>
17
#include <
Fw/Cfg/SerIds.hpp
>
18
19
namespace
Fw
{
20
21
class
TlmBuffer
:
public
SerializeBufferBase
{
22
public
:
23
24
enum
{
25
SERIALIZED_TYPE_ID
=
FW_TYPEID_TLM_BUFF
,
26
SERIALIZED_SIZE
=
FW_TLM_BUFFER_MAX_SIZE
+
sizeof
(
FwBuffSizeType
)
27
};
28
29
TlmBuffer
(
const
U8
*args,
NATIVE_UINT_TYPE
size);
30
TlmBuffer
();
31
TlmBuffer
(
const
TlmBuffer
& other);
32
virtual
~TlmBuffer
();
33
const
TlmBuffer
&
operator=
(
const
TlmBuffer
& other);
34
35
NATIVE_UINT_TYPE
getBuffCapacity
(
void
)
const
;
// !< returns capacity, not current size, of buffer
36
U8
*
getBuffAddr
(
void
);
37
const
U8
*
getBuffAddr
(
void
)
const
;
38
39
PRIVATE
:
40
U8
m_data[
FW_TLM_BUFFER_MAX_SIZE
];
// command argument buffer
41
};
42
43
}
44
45
#endif
PRIVATE
#define PRIVATE
overridable private for unit testing
Definition:
BasicTypes.hpp:118
FW_TLM_BUFFER_MAX_SIZE
#define FW_TLM_BUFFER_MAX_SIZE
Definition:
FpConfig.hpp:256
Fw::SerializeBufferBase
Definition:
Serializable.hpp:43
Fw::TlmBuffer
Definition:
TlmBuffer.hpp:21
Serializable.hpp
U8
uint8_t U8
8-bit unsigned integer
Definition:
BasicTypes.hpp:76
Fw::TlmBuffer::SERIALIZED_TYPE_ID
@ SERIALIZED_TYPE_ID
Definition:
TlmBuffer.hpp:25
Fw::TlmBuffer::operator=
const TlmBuffer & operator=(const TlmBuffer &other)
Definition:
TlmBuffer.cpp:22
Fw::TlmBuffer::getBuffAddr
U8 * getBuffAddr(void)
gets buffer address for data filling
Definition:
TlmBuffer.cpp:36
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition:
BasicTypes.hpp:30
Fw::TlmBuffer::getBuffCapacity
NATIVE_UINT_TYPE getBuffCapacity(void) const
returns capacity, not current size, of buffer
Definition:
TlmBuffer.cpp:28
Fw::TlmBuffer::~TlmBuffer
virtual ~TlmBuffer()
Definition:
TlmBuffer.cpp:14
Fw::TlmBuffer::SERIALIZED_SIZE
@ SERIALIZED_SIZE
Definition:
TlmBuffer.hpp:26
FpConfig.hpp
ISF configuration file.
Fw::FW_TYPEID_TLM_BUFF
@ FW_TYPEID_TLM_BUFF
Telemetry Buffer type id.
Definition:
SerIds.hpp:47
BasicTypes.hpp
Declares ISF basic types.
SerIds.hpp
Definitions for ISF type serial IDs.
FwBuffSizeType
#define FwBuffSizeType
Type representation for storing a buffer or string size.
Definition:
FpConfig.hpp:79
Fw::TlmBuffer::TlmBuffer
TlmBuffer()
Definition:
TlmBuffer.cpp:11
Fw
Definition:
BufferGetPortAc.cpp:6
Fw
Tlm
TlmBuffer.hpp
Generated by
1.8.19