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

A DpContainer packet header. More...

#include <Fw/Dp/DpContainer.hpp>

Public Types

using UserData = U8[DpCfg::CONTAINER_USER_DATA_SIZE]
 The type of user data. More...
 

Static Public Attributes

static constexpr FwSizeType PACKET_DESCRIPTOR_OFFSET = 0
 The offset for the packet descriptor field. More...
 
static constexpr FwSizeType ID_OFFSET = PACKET_DESCRIPTOR_OFFSET + sizeof(FwPacketDescriptorType)
 The offset for the id field. More...
 
static constexpr FwDpPriorityType PRIORITY_OFFSET = ID_OFFSET + sizeof(FwDpIdType)
 The offset for the priority field. More...
 
static constexpr FwSizeType TIME_TAG_OFFSET = PRIORITY_OFFSET + sizeof(FwDpPriorityType)
 The offset for the time tag field. More...
 
static constexpr FwSizeType PROC_TYPES_OFFSET = TIME_TAG_OFFSET + Time::SERIALIZED_SIZE
 The offset for the processing types field. More...
 
static constexpr FwSizeType USER_DATA_OFFSET = PROC_TYPES_OFFSET + sizeof(DpCfg::ProcType::SerialType)
 The offset for the user data field. More...
 
static constexpr FwSizeType DP_STATE_OFFSET = USER_DATA_OFFSET + DpCfg::CONTAINER_USER_DATA_SIZE
 The offset of the data product state field. More...
 
static constexpr FwSizeType DATA_SIZE_OFFSET = DP_STATE_OFFSET + DpState::SERIALIZED_SIZE
 The offset for the data size field. More...
 
static constexpr FwSizeType SIZE = DATA_SIZE_OFFSET + sizeof(FwSizeType)
 The header size. More...
 

Detailed Description

A DpContainer packet header.

Definition at line 27 of file DpContainer.hpp.

Member Typedef Documentation

◆ UserData

The type of user data.

Definition at line 29 of file DpContainer.hpp.

Member Data Documentation

◆ DATA_SIZE_OFFSET

constexpr FwSizeType Fw::DpContainer::Header::DATA_SIZE_OFFSET = DP_STATE_OFFSET + DpState::SERIALIZED_SIZE
staticconstexpr

The offset for the data size field.

Definition at line 45 of file DpContainer.hpp.

◆ DP_STATE_OFFSET

constexpr FwSizeType Fw::DpContainer::Header::DP_STATE_OFFSET = USER_DATA_OFFSET + DpCfg::CONTAINER_USER_DATA_SIZE
staticconstexpr

The offset of the data product state field.

Definition at line 43 of file DpContainer.hpp.

◆ ID_OFFSET

constexpr FwSizeType Fw::DpContainer::Header::ID_OFFSET = PACKET_DESCRIPTOR_OFFSET + sizeof(FwPacketDescriptorType)
staticconstexpr

The offset for the id field.

Definition at line 33 of file DpContainer.hpp.

◆ PACKET_DESCRIPTOR_OFFSET

constexpr FwSizeType Fw::DpContainer::Header::PACKET_DESCRIPTOR_OFFSET = 0
staticconstexpr

The offset for the packet descriptor field.

Definition at line 31 of file DpContainer.hpp.

◆ PRIORITY_OFFSET

constexpr FwDpPriorityType Fw::DpContainer::Header::PRIORITY_OFFSET = ID_OFFSET + sizeof(FwDpIdType)
staticconstexpr

The offset for the priority field.

Definition at line 35 of file DpContainer.hpp.

◆ PROC_TYPES_OFFSET

constexpr FwSizeType Fw::DpContainer::Header::PROC_TYPES_OFFSET = TIME_TAG_OFFSET + Time::SERIALIZED_SIZE
staticconstexpr

The offset for the processing types field.

Definition at line 39 of file DpContainer.hpp.

◆ SIZE

constexpr FwSizeType Fw::DpContainer::Header::SIZE = DATA_SIZE_OFFSET + sizeof(FwSizeType)
staticconstexpr

The header size.

Definition at line 47 of file DpContainer.hpp.

◆ TIME_TAG_OFFSET

constexpr FwSizeType Fw::DpContainer::Header::TIME_TAG_OFFSET = PRIORITY_OFFSET + sizeof(FwDpPriorityType)
staticconstexpr

The offset for the time tag field.

Definition at line 37 of file DpContainer.hpp.

◆ USER_DATA_OFFSET

constexpr FwSizeType Fw::DpContainer::Header::USER_DATA_OFFSET = PROC_TYPES_OFFSET + sizeof(DpCfg::ProcType::SerialType)
staticconstexpr

The offset for the user data field.

Definition at line 41 of file DpContainer.hpp.


The documentation for this struct was generated from the following file: