DESERT 3.5.1
Loading...
Searching...
No Matches
hdr_ranging_tdoa Struct Reference

#include <uwranging_tdoa_hdr.h>

Collaboration diagram for hdr_ranging_tdoa:

Public Member Functions

uint8_t & times_size ()
 
size_t getSize () const
 

Static Public Member Functions

static size_t getSize (int entries)
 
static int & offset ()
 
static struct hdr_ranging_tdoaaccess (const Packet *p)
 

Public Attributes

uwrange_pkt_t source_pkt_id
 
uwrange_node_t source_node_id
 
uwrange_node_t times_size_
 
tdoa_entry times_ [MAX_NUM_NODES]
 

Static Public Attributes

static int offset_ = 0
 

Detailed Description

Header of the token bus protocol.

Definition at line 84 of file uwranging_tdoa_hdr.h.

Member Function Documentation

◆ access()

static struct hdr_ranging_tdoa * hdr_ranging_tdoa::access ( const Packet *  p)
inlinestatic

Returns a pointer to the tokenbus_ranging header of a packet.

Parameters
pPacket
Returns
a pointer to the tokenbus_ranging header of the packet p

Definition at line 136 of file uwranging_tdoa_hdr.h.

◆ getSize() [1/2]

size_t hdr_ranging_tdoa::getSize ( ) const
inline

Returns the size of a ranging header with all the entries.

Returns
Returns the size of a ranging header with all the entries

Definition at line 102 of file uwranging_tdoa_hdr.h.

◆ getSize() [2/2]

static size_t hdr_ranging_tdoa::getSize ( int  entries)
inlinestatic

Returns the size of a ranging header with a given number of entries.

Returns
Returns the size of a ranging header with a given number of entries

Definition at line 114 of file uwranging_tdoa_hdr.h.

◆ offset()

static int & hdr_ranging_tdoa::offset ( )
inlinestatic

Returns a reference to the offset_ variable.

Returns
a reference to the offset_ variable

Definition at line 125 of file uwranging_tdoa_hdr.h.

◆ times_size()

uint8_t & hdr_ranging_tdoa::times_size ( )
inline

Definition at line 92 of file uwranging_tdoa_hdr.h.

Member Data Documentation

◆ offset_

int hdr_ranging_tdoa::offset_ = 0
static

Required by the PacketHeaderManager.

Definition at line 85 of file uwranging_tdoa_hdr.h.

◆ source_node_id

uwrange_node_t hdr_ranging_tdoa::source_node_id

Source node id.

Definition at line 87 of file uwranging_tdoa_hdr.h.

◆ source_pkt_id

uwrange_pkt_t hdr_ranging_tdoa::source_pkt_id

Ranging packet id.

Definition at line 86 of file uwranging_tdoa_hdr.h.

◆ times_

tdoa_entry hdr_ranging_tdoa::times_[MAX_NUM_NODES]

Number of entries in the packet.

Array of entries to be sent

Definition at line 89 of file uwranging_tdoa_hdr.h.

◆ times_size_

uwrange_node_t hdr_ranging_tdoa::times_size_

Definition at line 88 of file uwranging_tdoa_hdr.h.


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