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
CmdPacket.hpp
Go to the documentation of this file.
1
/*
2
* CmdPacket.hpp
3
*
4
* Created on: May 24, 2014
5
* Author: Timothy Canham
6
*/
7
8
#ifndef CMDPACKET_HPP_
9
#define CMDPACKET_HPP_
10
11
#include <
Fw/Com/ComPacket.hpp
>
12
#include <
Fw/Cmd/CmdArgBuffer.hpp
>
13
14
namespace
Fw
{
15
16
class
CmdPacket
:
public
ComPacket
{
17
public
:
18
19
CmdPacket
();
20
virtual
~CmdPacket
();
21
22
SerializeStatus
serialize
(
SerializeBufferBase
& buffer)
const
;
23
SerializeStatus
deserialize
(
SerializeBufferBase
& buffer);
24
FwOpcodeType
getOpCode
(
void
)
const
;
25
CmdArgBuffer
&
getArgBuffer
(
void
);
26
27
protected
:
28
FwOpcodeType
m_opcode
;
29
CmdArgBuffer
m_argBuffer
;
30
};
31
32
}
/* namespace Fw */
33
34
#endif
/* CMDPACKET_HPP_ */
Fw::CmdPacket::m_argBuffer
CmdArgBuffer m_argBuffer
Definition:
CmdPacket.hpp:29
Fw::SerializeBufferBase
Definition:
Serializable.hpp:43
Fw::SerializeStatus
SerializeStatus
forward declaration for string
Definition:
Serializable.hpp:14
Fw::CmdPacket::~CmdPacket
virtual ~CmdPacket()
Definition:
CmdPacket.cpp:18
FwOpcodeType
#define FwOpcodeType
Type representation for a command opcode.
Definition:
FpConfig.hpp:62
Fw::CmdPacket::deserialize
SerializeStatus deserialize(SerializeBufferBase &buffer)
deserialize to contents
Definition:
CmdPacket.cpp:29
Fw::ComPacket
Definition:
ComPacket.hpp:18
Fw::CmdPacket::getArgBuffer
CmdArgBuffer & getArgBuffer(void)
Definition:
CmdPacket.cpp:59
Fw::CmdArgBuffer
Definition:
CmdArgBuffer.hpp:22
Fw::CmdPacket
Definition:
CmdPacket.hpp:16
Fw::CmdPacket::getOpCode
FwOpcodeType getOpCode(void) const
Definition:
CmdPacket.cpp:55
Fw::CmdPacket::CmdPacket
CmdPacket()
Definition:
CmdPacket.cpp:14
Fw::CmdPacket::serialize
SerializeStatus serialize(SerializeBufferBase &buffer) const
serialize contents
Definition:
CmdPacket.cpp:21
Fw::CmdPacket::m_opcode
FwOpcodeType m_opcode
Definition:
CmdPacket.hpp:28
ComPacket.hpp
Fw
Definition:
BufferGetPortAc.cpp:6
CmdArgBuffer.hpp
Fw
Cmd
CmdPacket.hpp
Generated by
1.8.19