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

#include <Fw/Log/LogPacket.hpp>

Inheritance diagram for Fw::LogPacket:
Fw::ComPacket Fw::Serializable

Public Member Functions

 LogPacket ()
 
virtual ~LogPacket ()
 
SerializeStatus serialize (SerializeBufferBase &buffer) const
 serialize contents More...
 
SerializeStatus deserialize (SerializeBufferBase &buffer)
 deserialize to contents More...
 
void setId (FwEventIdType id)
 
void setLogBuffer (const LogBuffer &buffer)
 
void setTimeTag (const Fw::Time &timeTag)
 
FwEventIdType getId ()
 
Fw::TimegetTimeTag ()
 
LogBuffergetLogBuffer ()
 
- Public Member Functions inherited from Fw::ComPacket
 ComPacket ()
 
virtual ~ComPacket ()
 

Protected Attributes

FwEventIdType m_id
 
Fw::Time m_timeTag
 
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 17 of file LogPacket.hpp.

Constructor & Destructor Documentation

◆ LogPacket()

Fw::LogPacket::LogPacket ( )

Definition at line 13 of file LogPacket.cpp.

◆ ~LogPacket()

Fw::LogPacket::~LogPacket ( )
virtual

Definition at line 17 of file LogPacket.cpp.

Member Function Documentation

◆ deserialize()

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

deserialize to contents

Implements Fw::Serializable.

Definition at line 42 of file LogPacket.cpp.

◆ getId()

FwEventIdType Fw::LogPacket::getId ( )

Definition at line 81 of file LogPacket.cpp.

◆ getLogBuffer()

LogBuffer & Fw::LogPacket::getLogBuffer ( )

Definition at line 89 of file LogPacket.cpp.

◆ getTimeTag()

Fw::Time & Fw::LogPacket::getTimeTag ( )

Definition at line 85 of file LogPacket.cpp.

◆ serialize()

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

serialize contents

Implements Fw::Serializable.

Definition at line 20 of file LogPacket.cpp.

◆ setId()

void Fw::LogPacket::setId ( FwEventIdType  id)

Definition at line 69 of file LogPacket.cpp.

◆ setLogBuffer()

void Fw::LogPacket::setLogBuffer ( const LogBuffer buffer)

Definition at line 73 of file LogPacket.cpp.

◆ setTimeTag()

void Fw::LogPacket::setTimeTag ( const Fw::Time timeTag)

Definition at line 77 of file LogPacket.cpp.

Member Data Documentation

◆ m_id

FwEventIdType Fw::LogPacket::m_id
protected

Definition at line 35 of file LogPacket.hpp.

◆ m_logBuffer

LogBuffer Fw::LogPacket::m_logBuffer
protected

Definition at line 37 of file LogPacket.hpp.

◆ m_timeTag

Fw::Time Fw::LogPacket::m_timeTag
protected

Definition at line 36 of file LogPacket.hpp.


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