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
LogPacket.hpp
Go to the documentation of this file.
1
/*
2
* LogPacket.hpp
3
*
4
* Created on: May 24, 2014
5
* Author: Timothy Canham
6
*/
7
8
#ifndef LOGPACKET_HPP_
9
#define LOGPACKET_HPP_
10
11
#include <
Fw/Com/ComPacket.hpp
>
12
#include <
Fw/Log/LogBuffer.hpp
>
13
#include <
Fw/Time/Time.hpp
>
14
15
namespace
Fw
{
16
17
class
LogPacket
:
public
ComPacket
{
18
public
:
19
20
LogPacket
();
21
virtual
~LogPacket
();
22
23
SerializeStatus
serialize
(
SerializeBufferBase
& buffer)
const
;
24
SerializeStatus
deserialize
(
SerializeBufferBase
& buffer);
25
26
void
setId
(
FwEventIdType
id
);
27
void
setLogBuffer
(
LogBuffer
& buffer);
28
void
setTimeTag
(
Fw::Time
& timeTag);
29
30
FwEventIdType
getId
(
void
);
31
Fw::Time
&
getTimeTag
(
void
);
32
LogBuffer
&
getLogBuffer
(
void
);
33
34
protected
:
35
FwEventIdType
m_id
;
// !< Channel id
36
Fw::Time
m_timeTag
;
// !< time tag
37
LogBuffer
m_logBuffer
;
// !< serialized argument data
38
};
39
40
}
/* namespace Fw */
41
42
#endif
/* LOGPACKET_HPP_ */
Fw::LogPacket::LogPacket
LogPacket()
Definition:
LogPacket.cpp:13
LogBuffer.hpp
Fw::Time
Definition:
Time.hpp:10
Fw::LogPacket::serialize
SerializeStatus serialize(SerializeBufferBase &buffer) const
serialize contents
Definition:
LogPacket.cpp:20
Fw::LogPacket::m_timeTag
Fw::Time m_timeTag
Definition:
LogPacket.hpp:36
Fw::SerializeBufferBase
Definition:
Serializable.hpp:43
Fw::SerializeStatus
SerializeStatus
forward declaration for string
Definition:
Serializable.hpp:14
Fw::LogBuffer
Definition:
LogBuffer.hpp:22
Fw::LogPacket::m_logBuffer
LogBuffer m_logBuffer
Definition:
LogPacket.hpp:37
Fw::LogPacket::getId
FwEventIdType getId(void)
Definition:
LogPacket.cpp:81
Fw::LogPacket::setLogBuffer
void setLogBuffer(LogBuffer &buffer)
Definition:
LogPacket.cpp:73
Fw::LogPacket::m_id
FwEventIdType m_id
Definition:
LogPacket.hpp:35
Fw::ComPacket
Definition:
ComPacket.hpp:18
Fw::LogPacket::getTimeTag
Fw::Time & getTimeTag(void)
Definition:
LogPacket.cpp:85
Fw::LogPacket::getLogBuffer
LogBuffer & getLogBuffer(void)
Definition:
LogPacket.cpp:89
Fw::LogPacket::setId
void setId(FwEventIdType id)
Definition:
LogPacket.cpp:69
FwEventIdType
#define FwEventIdType
Type representation for a event id.
Definition:
FpConfig.hpp:70
Time.hpp
Fw::LogPacket::~LogPacket
virtual ~LogPacket()
Definition:
LogPacket.cpp:17
Fw::LogPacket
Definition:
LogPacket.hpp:17
Fw::LogPacket::deserialize
SerializeStatus deserialize(SerializeBufferBase &buffer)
deserialize to contents
Definition:
LogPacket.cpp:42
ComPacket.hpp
Fw
Definition:
BufferGetPortAc.cpp:6
Fw::LogPacket::setTimeTag
void setTimeTag(Fw::Time &timeTag)
Definition:
LogPacket.cpp:77
Fw
Log
LogPacket.hpp
Generated by
1.8.19