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
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:
Buffer.cpp:21
CmdArgBuffer.hpp
Fw
Cmd
CmdPacket.hpp
Generated by
1.8.17