F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
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>
13
14namespace Fw {
15
16 class CmdPacket : public ComPacket {
17 public:
18
19 CmdPacket();
20 virtual ~CmdPacket();
21
24 FwOpcodeType getOpCode() const;
26
27 protected:
30 };
31
32} /* namespace Fw */
33
34#endif /* CMDPACKET_HPP_ */
U32 FwOpcodeType
Definition FpConfig.h:56
virtual ~CmdPacket()
Definition CmdPacket.cpp:18
FwOpcodeType getOpCode() const
Definition CmdPacket.cpp:55
SerializeStatus deserialize(SerializeBufferBase &buffer)
deserialize to contents
Definition CmdPacket.cpp:29
SerializeStatus serialize(SerializeBufferBase &buffer) const
serialize contents
Definition CmdPacket.cpp:21
CmdArgBuffer m_argBuffer
Definition CmdPacket.hpp:29
CmdArgBuffer & getArgBuffer()
Definition CmdPacket.cpp:59
FwOpcodeType m_opcode
Definition CmdPacket.hpp:28
Definition Buffer.cpp:21
SerializeStatus
forward declaration for string