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

#include <Fw/Log/AmpcsEvrLogPacket.hpp>

Inheritance diagram for Fw::AmpcsEvrLogPacket:
Fw::ComPacket Fw::Serializable

Public Member Functions

 AmpcsEvrLogPacket ()
 
virtual ~AmpcsEvrLogPacket ()
 
SerializeStatus serialize (SerializeBufferBase &buffer) const
 serialize contents More...
 
SerializeStatus deserialize (SerializeBufferBase &buffer)
 deserialize to contents More...
 
void setTaskName (U8 *taskName, U8 len)
 
void setId (U32 eventID)
 
void setOverSeqNum (U32 overSeqNum)
 
void setCatSeqNum (U32 catSeqNum)
 
void setLogBuffer (LogBuffer &buffer)
 
const U8getTaskName () const
 
U32 getId () const
 
U32 getOverSeqNum () const
 
U32 getCatSeqNum () const
 
LogBuffergetLogBuffer ()
 
- Public Member Functions inherited from Fw::ComPacket
 ComPacket ()
 
virtual ~ComPacket ()
 

Protected Attributes

U8 m_taskName [AMPCS_EVR_TASK_NAME_LEN]
 
U32 m_eventID
 
U32 m_overSeqNum
 
U32 m_catSeqNum
 
LogBuffer m_logBuffer
 
- 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 21 of file AmpcsEvrLogPacket.hpp.

Constructor & Destructor Documentation

◆ AmpcsEvrLogPacket()

Fw::AmpcsEvrLogPacket::AmpcsEvrLogPacket ( )

Definition at line 14 of file AmpcsEvrLogPacket.cpp.

◆ ~AmpcsEvrLogPacket()

Fw::AmpcsEvrLogPacket::~AmpcsEvrLogPacket ( )
virtual

Definition at line 21 of file AmpcsEvrLogPacket.cpp.

Member Function Documentation

◆ deserialize()

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

deserialize to contents

Implements Fw::Serializable.

Definition at line 52 of file AmpcsEvrLogPacket.cpp.

◆ getCatSeqNum()

U32 Fw::AmpcsEvrLogPacket::getCatSeqNum ( ) const

Definition at line 123 of file AmpcsEvrLogPacket.cpp.

◆ getId()

U32 Fw::AmpcsEvrLogPacket::getId ( ) const

Definition at line 115 of file AmpcsEvrLogPacket.cpp.

◆ getLogBuffer()

LogBuffer & Fw::AmpcsEvrLogPacket::getLogBuffer ( )

Definition at line 127 of file AmpcsEvrLogPacket.cpp.

◆ getOverSeqNum()

U32 Fw::AmpcsEvrLogPacket::getOverSeqNum ( ) const

Definition at line 119 of file AmpcsEvrLogPacket.cpp.

◆ getTaskName()

const U8 * Fw::AmpcsEvrLogPacket::getTaskName ( ) const

Definition at line 111 of file AmpcsEvrLogPacket.cpp.

◆ serialize()

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

serialize contents

Implements Fw::Serializable.

Definition at line 24 of file AmpcsEvrLogPacket.cpp.

◆ setCatSeqNum()

void Fw::AmpcsEvrLogPacket::setCatSeqNum ( U32  catSeqNum)

Definition at line 103 of file AmpcsEvrLogPacket.cpp.

◆ setId()

void Fw::AmpcsEvrLogPacket::setId ( U32  eventID)

Definition at line 95 of file AmpcsEvrLogPacket.cpp.

◆ setLogBuffer()

void Fw::AmpcsEvrLogPacket::setLogBuffer ( LogBuffer buffer)

Definition at line 107 of file AmpcsEvrLogPacket.cpp.

◆ setOverSeqNum()

void Fw::AmpcsEvrLogPacket::setOverSeqNum ( U32  overSeqNum)

Definition at line 99 of file AmpcsEvrLogPacket.cpp.

◆ setTaskName()

void Fw::AmpcsEvrLogPacket::setTaskName ( U8 taskName,
U8  len 
)

Definition at line 88 of file AmpcsEvrLogPacket.cpp.

Member Data Documentation

◆ m_catSeqNum

U32 Fw::AmpcsEvrLogPacket::m_catSeqNum
protected

Definition at line 46 of file AmpcsEvrLogPacket.hpp.

◆ m_eventID

U32 Fw::AmpcsEvrLogPacket::m_eventID
protected

Definition at line 44 of file AmpcsEvrLogPacket.hpp.

◆ m_logBuffer

LogBuffer Fw::AmpcsEvrLogPacket::m_logBuffer
protected

Definition at line 47 of file AmpcsEvrLogPacket.hpp.

◆ m_overSeqNum

U32 Fw::AmpcsEvrLogPacket::m_overSeqNum
protected

Definition at line 45 of file AmpcsEvrLogPacket.hpp.

◆ m_taskName

U8 Fw::AmpcsEvrLogPacket::m_taskName[AMPCS_EVR_TASK_NAME_LEN]
protected

Definition at line 43 of file AmpcsEvrLogPacket.hpp.


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