F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Fw::CmdPacket Class Reference

#include <Fw/Cmd/CmdPacket.hpp>

Inheritance diagram for Fw::CmdPacket:
Fw::ComPacket Fw::Serializable

Public Member Functions

 CmdPacket ()
 
virtual ~CmdPacket ()
 
SerializeStatus serialize (SerializeBufferBase &buffer) const
 serialize contents More...
 
SerializeStatus deserialize (SerializeBufferBase &buffer)
 deserialize to contents More...
 
FwOpcodeType getOpCode () const
 
CmdArgBuffergetArgBuffer ()
 
- Public Member Functions inherited from Fw::ComPacket
 ComPacket ()
 
virtual ~ComPacket ()
 

Protected Attributes

FwOpcodeType m_opcode
 
CmdArgBuffer m_argBuffer
 
- Protected Attributes inherited from Fw::ComPacket
ComPacketType m_type
 

Additional Inherited Members

- Public Types inherited from Fw::ComPacket
enum  ComPacketType {
  FW_PACKET_COMMAND , FW_PACKET_TELEM , FW_PACKET_LOG , FW_PACKET_FILE ,
  FW_PACKET_PACKETIZED_TLM , FW_PACKET_DP , FW_PACKET_IDLE , FW_PACKET_UNKNOWN = 0xFF
}
 
- Public Types inherited from Fw::Serializable
using SizeType = NATIVE_UINT_TYPE
 
- Protected Member Functions inherited from Fw::ComPacket
SerializeStatus serializeBase (SerializeBufferBase &buffer) const
 
SerializeStatus deserializeBase (SerializeBufferBase &buffer)
 
- Protected Member Functions inherited from Fw::Serializable
 Serializable ()
 Default constructor. More...
 
virtual ~Serializable ()
 destructor More...
 

Detailed Description

Definition at line 16 of file CmdPacket.hpp.

Constructor & Destructor Documentation

◆ CmdPacket()

Fw::CmdPacket::CmdPacket ( )

Definition at line 14 of file CmdPacket.cpp.

◆ ~CmdPacket()

Fw::CmdPacket::~CmdPacket ( )
virtual

Definition at line 18 of file CmdPacket.cpp.

Member Function Documentation

◆ deserialize()

SerializeStatus Fw::CmdPacket::deserialize ( SerializeBufferBase buffer)
virtual

deserialize to contents

Implements Fw::Serializable.

Definition at line 29 of file CmdPacket.cpp.

◆ getArgBuffer()

CmdArgBuffer & Fw::CmdPacket::getArgBuffer ( )

Definition at line 59 of file CmdPacket.cpp.

◆ getOpCode()

FwOpcodeType Fw::CmdPacket::getOpCode ( ) const

Definition at line 55 of file CmdPacket.cpp.

◆ serialize()

SerializeStatus Fw::CmdPacket::serialize ( SerializeBufferBase buffer) const
virtual

serialize contents

Implements Fw::Serializable.

Definition at line 21 of file CmdPacket.cpp.

Member Data Documentation

◆ m_argBuffer

CmdArgBuffer Fw::CmdPacket::m_argBuffer
protected

Definition at line 29 of file CmdPacket.hpp.

◆ m_opcode

FwOpcodeType Fw::CmdPacket::m_opcode
protected

Definition at line 28 of file CmdPacket.hpp.


The documentation for this class was generated from the following files: