DESERT 4.0.0
hdr_TRIGGER Struct Reference

#include <uwpolling_cmn_hdr.h>

Collaboration diagram for hdr_TRIGGER:
Collaboration graph

Public Member Functions

uint16_t & t_in ()
 
uint16_t & t_fin ()
 
uint & TRIGGER_uid ()
 

Static Public Member Functions

static int & offset ()
 
static struct hdr_TRIGGERaccess (const Packet *p)
 

Public Attributes

uint16_t t_in_
 
uint16_t t_fin_
 
uint TRIGGER_uid_
 

Static Public Attributes

static int offset_ = 0
 

Detailed Description

Header of the TRIGGER message

Member Function Documentation

◆ access()

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

References access(), and offset_.

Referenced by access().

Here is the call graph for this function:

◆ offset()

static int & hdr_TRIGGER::offset ( )
inlinestatic

Reference to the offset variable

References offset_.

◆ t_fin()

uint16_t & hdr_TRIGGER::t_fin ( )
inline

Reference to the t_fin variable

References t_fin_.

Referenced by Uwpolling_NODE::stateRxTrigger(), Uwpolling_SINK::stateRxTrigger(), and Uwpolling_AUV::stateTxTrigger().

◆ t_in()

uint16_t & hdr_TRIGGER::t_in ( )
inline

Reference to the t_in variable

References t_in_.

Referenced by Uwpolling_NODE::stateRxTrigger(), Uwpolling_SINK::stateRxTrigger(), and Uwpolling_AUV::stateTxTrigger().

◆ TRIGGER_uid()

uint & hdr_TRIGGER::TRIGGER_uid ( )
inline

Reference to the TRIGGER_uid variable

References TRIGGER_uid_.

Member Data Documentation

◆ offset_

int hdr_TRIGGER::offset_ = 0
static

Required by the PacketHeaderManager.

Referenced by access(), and offset().

◆ t_fin_

uint16_t hdr_TRIGGER::t_fin_

Maximum value in which the node can choose his backoff time

Referenced by packerUwpolling::packMyHdr(), packerUwpolling::printMyHdrFields(), t_fin(), and packerUwpolling::unpackMyHdr().

◆ t_in_

uint16_t hdr_TRIGGER::t_in_

Minimum value in which the node can choose his backoff time

Referenced by packerUwpolling::packMyHdr(), packerUwpolling::printMyHdrFields(), t_in(), and packerUwpolling::unpackMyHdr().

◆ TRIGGER_uid_


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