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

#include <Fw/Com/ComPacket.hpp>

Inheritance diagram for Fw::ComPacket:
Fw::Serializable Fw::AmpcsEvrLogPacket Fw::CmdPacket Fw::LogPacket Fw::TlmPacket

Public Types

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
 

Public Member Functions

 ComPacket ()
 
virtual ~ComPacket ()
 
- Public Member Functions inherited from Fw::Serializable
virtual SerializeStatus serialize (SerializeBufferBase &buffer) const =0
 serialize contents More...
 
virtual SerializeStatus deserialize (SerializeBufferBase &buffer)=0
 deserialize to contents More...
 

Protected Member Functions

SerializeStatus serializeBase (SerializeBufferBase &buffer) const
 
SerializeStatus deserializeBase (SerializeBufferBase &buffer)
 
- Protected Member Functions inherited from Fw::Serializable
 Serializable ()
 Default constructor. More...
 
virtual ~Serializable ()
 destructor More...
 

Protected Attributes

ComPacketType m_type
 

Detailed Description

Definition at line 18 of file ComPacket.hpp.

Member Enumeration Documentation

◆ ComPacketType

Enumerator
FW_PACKET_COMMAND 
FW_PACKET_TELEM 
FW_PACKET_LOG 
FW_PACKET_FILE 
FW_PACKET_PACKETIZED_TLM 
FW_PACKET_DP 

Data product packet.

FW_PACKET_IDLE 
FW_PACKET_UNKNOWN 

Definition at line 21 of file ComPacket.hpp.

Constructor & Destructor Documentation

◆ ComPacket()

Fw::ComPacket::ComPacket ( )

Definition at line 12 of file ComPacket.cpp.

◆ ~ComPacket()

Fw::ComPacket::~ComPacket ( )
virtual

Definition at line 15 of file ComPacket.cpp.

Member Function Documentation

◆ deserializeBase()

SerializeStatus Fw::ComPacket::deserializeBase ( SerializeBufferBase buffer)
protected

Definition at line 22 of file ComPacket.cpp.

◆ serializeBase()

SerializeStatus Fw::ComPacket::serializeBase ( SerializeBufferBase buffer) const
protected

Definition at line 18 of file ComPacket.cpp.

Member Data Documentation

◆ m_type

ComPacketType Fw::ComPacket::m_type
protected

Definition at line 36 of file ComPacket.hpp.


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