F´ Flight Software - C/C++ Documentation  NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Fw::TlmPacket Class Reference

#include <Fw/Tlm/TlmPacket.hpp>

Inheritance diagram for Fw::TlmPacket:
Fw::ComPacket Fw::Serializable

Public Member Functions

 TlmPacket ()
 
virtual ~TlmPacket ()
 
SerializeStatus serialize (SerializeBufferBase &buffer) const
 serialize contents More...
 
SerializeStatus deserialize (SerializeBufferBase &buffer)
 deserialize to contents More...
 
void setId (FwChanIdType id)
 
void setTlmBuffer (TlmBuffer &buffer)
 
void setTimeTag (Time &timeTag)
 
FwChanIdType getId (void)
 
TimegetTimeTag (void)
 
TlmBuffergetTlmBuffer (void)
 
- Public Member Functions inherited from Fw::ComPacket
 ComPacket ()
 
virtual ~ComPacket ()
 

Protected Attributes

FwChanIdType m_id
 
Fw::Time m_timeTag
 
TlmBuffer m_tlmBuffer
 
- 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_IDLE, FW_PACKET_UNKNOWN = 0xFF
}
 
- 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 TlmPacket.hpp.

Constructor & Destructor Documentation

◆ TlmPacket()

Fw::TlmPacket::TlmPacket ( )

Definition at line 13 of file TlmPacket.cpp.

◆ ~TlmPacket()

Fw::TlmPacket::~TlmPacket ( )
virtual

Definition at line 17 of file TlmPacket.cpp.

Member Function Documentation

◆ deserialize()

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

deserialize to contents

Implements Fw::Serializable.

Definition at line 44 of file TlmPacket.cpp.

◆ getId()

FwChanIdType Fw::TlmPacket::getId ( void  )

Definition at line 88 of file TlmPacket.cpp.

◆ getTimeTag()

Time & Fw::TlmPacket::getTimeTag ( void  )

Definition at line 92 of file TlmPacket.cpp.

◆ getTlmBuffer()

TlmBuffer & Fw::TlmPacket::getTlmBuffer ( void  )

Definition at line 96 of file TlmPacket.cpp.

◆ serialize()

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

serialize contents

Implements Fw::Serializable.

Definition at line 20 of file TlmPacket.cpp.

◆ setId()

void Fw::TlmPacket::setId ( FwChanIdType  id)

Definition at line 76 of file TlmPacket.cpp.

◆ setTimeTag()

void Fw::TlmPacket::setTimeTag ( Time timeTag)

Definition at line 84 of file TlmPacket.cpp.

◆ setTlmBuffer()

void Fw::TlmPacket::setTlmBuffer ( TlmBuffer buffer)

Definition at line 80 of file TlmPacket.cpp.

Member Data Documentation

◆ m_id

FwChanIdType Fw::TlmPacket::m_id
protected

Definition at line 36 of file TlmPacket.hpp.

◆ m_timeTag

Fw::Time Fw::TlmPacket::m_timeTag
protected

Definition at line 37 of file TlmPacket.hpp.

◆ m_tlmBuffer

TlmBuffer Fw::TlmPacket::m_tlmBuffer
protected

Definition at line 38 of file TlmPacket.hpp.


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