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

#include <uwpolling_AUV.h>

Public Member Functions

double & get_time_stamp ()
 
uint & get_id_node ()
 
int & get_n_pkts ()
 
int & get_mac_address ()
 
bool & is_sink ()
 
uint16_t & get_id_ack ()
 
double & get_weight ()
 
uint & Id_node ()
 
int & n_pcks_NODE_want_tx ()
 
double & backoff_time ()
 
int & mac_address ()
 

Public Attributes

uint id_node
 
int n_pkts
 
int mac_address
 
double time_stamp
 
double Tmeasured
 
bool is_sink_
 
uint16_t id_ack
 
double policy_weight
 
uint id_node_
 
int n_pcks_NODE_want_tx_
 
int mac_address_
 
double backoff_time_
 

Detailed Description

Internal structure where the AUV store the informations about the node to POLL.

Internal structure where the HN store the informations about the NODE from which it received a PROBE.

Definition at line 93 of file uwpolling_AUV.h.

Member Function Documentation

◆ backoff_time()

double & probbed_node::backoff_time ( )
inline

Reference to the back-off_time_ variable.

Definition at line 118 of file uwUFetch_NODE.h.

◆ get_id_ack()

uint16_t & probbed_node::get_id_ack ( )
inline

Reference to the id_ack variable.

Definition at line 162 of file uwpolling_AUV.h.

◆ get_id_node()

uint & probbed_node::get_id_node ( )
inline

Reference to the id_node variable.

Definition at line 126 of file uwpolling_AUV.h.

◆ get_mac_address()

int & probbed_node::get_mac_address ( )
inline

Reference to the mac_address variable.

Definition at line 144 of file uwpolling_AUV.h.

◆ get_n_pkts()

int & probbed_node::get_n_pkts ( )
inline

Reference to the n_pkts variable.

Definition at line 135 of file uwpolling_AUV.h.

◆ get_time_stamp()

double & probbed_node::get_time_stamp ( )
inline

Reference to the time_stamp variable.

Definition at line 117 of file uwpolling_AUV.h.

◆ get_weight()

double & probbed_node::get_weight ( )
inline

Reference to the policy_weight variable.

Definition at line 171 of file uwpolling_AUV.h.

◆ Id_node()

uint & probbed_node::Id_node ( )
inline

Reference to the id_node variable.

Definition at line 100 of file uwUFetch_NODE.h.

◆ is_sink()

bool & probbed_node::is_sink ( )
inline

Reference to the is_sink variable.

Definition at line 153 of file uwpolling_AUV.h.

◆ mac_address()

int & probbed_node::mac_address ( )
inline

Reference to the mac_address variable.

Definition at line 127 of file uwUFetch_NODE.h.

◆ n_pcks_NODE_want_tx()

int & probbed_node::n_pcks_NODE_want_tx ( )
inline

Reference to the n_pcks_NODE_want_tx_ variable.

Definition at line 109 of file uwUFetch_NODE.h.

Member Data Documentation

◆ backoff_time_

double probbed_node::backoff_time_

Definition at line 93 of file uwUFetch_NODE.h.

◆ id_ack

uint16_t probbed_node::id_ack

Id used for ack purpose is the proebbed node is a sink.

Definition at line 108 of file uwpolling_AUV.h.

◆ id_node

uint probbed_node::id_node

Id of the node.

Definition at line 94 of file uwpolling_AUV.h.

◆ id_node_

uint probbed_node::id_node_

Definition at line 89 of file uwUFetch_NODE.h.

◆ is_sink_

bool probbed_node::is_sink_

Ture if the probe comes from a sink.

Definition at line 106 of file uwpolling_AUV.h.

◆ mac_address

int probbed_node::mac_address

Mac Address of the node.

Definition at line 98 of file uwpolling_AUV.h.

◆ mac_address_

int probbed_node::mac_address_

Definition at line 92 of file uwUFetch_NODE.h.

◆ n_pcks_NODE_want_tx_

int probbed_node::n_pcks_NODE_want_tx_

Definition at line 90 of file uwUFetch_NODE.h.

◆ n_pkts

int probbed_node::n_pkts

Number of packets that the node transmit when he's polled.

Definition at line 96 of file uwpolling_AUV.h.

◆ policy_weight

double probbed_node::policy_weight

Weigth used to choose the order to poll the nodes.

The higher weight, the higher priority

Definition at line 110 of file uwpolling_AUV.h.

◆ time_stamp

double probbed_node::time_stamp

Timestamp of the most recent data packet generated by the node.

Definition at line 99 of file uwpolling_AUV.h.

◆ Tmeasured

double probbed_node::Tmeasured

Time elapsed between the transmisssion of the TRIGGER and the reception of the PROBE.

Definition at line 104 of file uwpolling_AUV.h.


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