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
TlmPacket.hpp
Go to the documentation of this file.
1
/*
2
* TlmPacket.hpp
3
*
4
* Created on: May 24, 2014
5
* Author: Timothy Canham
6
*/
7
8
#ifndef TLMPACKET_HPP_
9
#define TLMPACKET_HPP_
10
11
#include <
Fw/Com/ComPacket.hpp
>
12
#include <
Fw/Tlm/TlmBuffer.hpp
>
13
#include <
Fw/Time/Time.hpp
>
14
15
namespace
Fw
{
16
17
class
TlmPacket
:
public
ComPacket
{
18
public
:
19
20
TlmPacket
();
21
virtual
~TlmPacket
();
22
23
SerializeStatus
serialize
(
SerializeBufferBase
& buffer)
const
;
24
// Buffer containing value must be remainder of buffer
25
SerializeStatus
deserialize
(
SerializeBufferBase
& buffer);
26
// setters
27
void
setId
(
FwChanIdType
id
);
28
void
setTlmBuffer
(
TlmBuffer
& buffer);
29
void
setTimeTag
(
Time
& timeTag);
30
// getters
31
FwChanIdType
getId
(
void
);
32
Time
&
getTimeTag
(
void
);
33
TlmBuffer
&
getTlmBuffer
(
void
);
34
35
PROTECTED
:
36
FwChanIdType
m_id;
// !< Channel id
37
Fw::Time
m_timeTag
;
// !< time tag
38
TlmBuffer
m_tlmBuffer
;
// !< serialized data
39
};
40
41
}
/* namespace Fw */
42
43
#endif
/* TLMPACKET_HPP_ */
Fw::TlmPacket::deserialize
SerializeStatus deserialize(SerializeBufferBase &buffer)
deserialize to contents
Definition:
TlmPacket.cpp:44
Fw::TlmPacket::getTimeTag
Time & getTimeTag(void)
Definition:
TlmPacket.cpp:92
Fw::Time
Definition:
Time.hpp:10
Fw::TlmPacket::getTlmBuffer
TlmBuffer & getTlmBuffer(void)
Definition:
TlmPacket.cpp:96
Fw::SerializeBufferBase
Definition:
Serializable.hpp:43
Fw::SerializeStatus
SerializeStatus
forward declaration for string
Definition:
Serializable.hpp:14
Fw::TlmBuffer
Definition:
TlmBuffer.hpp:21
FwChanIdType
#define FwChanIdType
Type representation for a channel id.
Definition:
FpConfig.hpp:66
Fw::TlmPacket::getId
FwChanIdType getId(void)
Definition:
TlmPacket.cpp:88
Fw::TlmPacket::serialize
SerializeStatus serialize(SerializeBufferBase &buffer) const
serialize contents
Definition:
TlmPacket.cpp:20
PROTECTED
#define PROTECTED
overridable protected for unit testing
Definition:
BasicTypes.hpp:114
Fw::TlmPacket::TlmPacket
TlmPacket()
Definition:
TlmPacket.cpp:13
Fw::TlmPacket::~TlmPacket
virtual ~TlmPacket()
Definition:
TlmPacket.cpp:17
TlmBuffer.hpp
Fw::ComPacket
Definition:
ComPacket.hpp:18
Fw::TlmPacket::setId
void setId(FwChanIdType id)
Definition:
TlmPacket.cpp:76
Fw::TlmPacket::m_tlmBuffer
TlmBuffer m_tlmBuffer
Definition:
TlmPacket.hpp:38
Fw::TlmPacket::m_timeTag
Fw::Time m_timeTag
Definition:
TlmPacket.hpp:37
Fw::TlmPacket
Definition:
TlmPacket.hpp:17
Fw::TlmPacket::setTlmBuffer
void setTlmBuffer(TlmBuffer &buffer)
Definition:
TlmPacket.cpp:80
Time.hpp
Fw::TlmPacket::setTimeTag
void setTimeTag(Time &timeTag)
Definition:
TlmPacket.cpp:84
ComPacket.hpp
Fw
Definition:
BufferGetPortAc.cpp:6
Fw
Tlm
TlmPacket.hpp
Generated by
1.8.19