DESERT 4.0.0
probbed_node Struct Reference

#include <uwpolling_AUV.h>

Collaboration diagram for probbed_node:
Collaboration graph

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

Member Function Documentation

◆ backoff_time()

double & probbed_node::backoff_time ( )
inline

Reference to the back-off_time_ variable

References backoff_time_.

◆ get_id_ack()

uint16_t & probbed_node::get_id_ack ( )
inline

Reference to the id_ack variable

References id_ack.

◆ get_id_node()

uint & probbed_node::get_id_node ( )
inline

Reference to the id_node variable

References id_node.

◆ get_mac_address()

int & probbed_node::get_mac_address ( )
inline

Reference to the mac_address variable

References mac_address.

◆ get_n_pkts()

int & probbed_node::get_n_pkts ( )
inline

Reference to the n_pkts variable

References n_pkts.

◆ get_time_stamp()

double & probbed_node::get_time_stamp ( )
inline

Reference to the time_stamp variable

References time_stamp.

◆ get_weight()

double & probbed_node::get_weight ( )
inline

Reference to the policy_weight variable

References policy_weight.

◆ Id_node()

uint & probbed_node::Id_node ( )
inline

Reference to the id_node variable

References id_node_.

◆ is_sink()

bool & probbed_node::is_sink ( )
inline

Reference to the is_sink variable

References is_sink_.

◆ mac_address()

int & probbed_node::mac_address ( )
inline

Reference to the mac_address variable

References mac_address_.

◆ n_pcks_NODE_want_tx()

int & probbed_node::n_pcks_NODE_want_tx ( )
inline

Reference to the n_pcks_NODE_want_tx_ variable

References n_pcks_NODE_want_tx_.

Member Data Documentation

◆ backoff_time_

double probbed_node::backoff_time_

Referenced by backoff_time().

◆ id_ack

uint16_t probbed_node::id_ack

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

Referenced by Uwpolling_AUV::addSink2List(), and get_id_ack().

◆ id_node

uint probbed_node::id_node

◆ id_node_

uint probbed_node::id_node_

Referenced by Id_node().

◆ is_sink_

bool probbed_node::is_sink_

Ture if the probe comes from a sink

Referenced by Uwpolling_AUV::addNode2List(), Uwpolling_AUV::addSink2List(), and is_sink().

◆ mac_address

int probbed_node::mac_address

◆ mac_address_

int probbed_node::mac_address_

Referenced by mac_address().

◆ n_pcks_NODE_want_tx_

int probbed_node::n_pcks_NODE_want_tx_

Referenced by n_pcks_NODE_want_tx().

◆ n_pkts

int probbed_node::n_pkts

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

Referenced by Uwpolling_AUV::addNode2List(), and get_n_pkts().

◆ policy_weight

double probbed_node::policy_weight

Weigth used to choose the order to poll the nodes. The higher weight, the higher priority

Referenced by Uwpolling_AUV::addNode2List(), Uwpolling_AUV::addSink2List(), and get_weight().

◆ time_stamp

double probbed_node::time_stamp

Timestamp of the most recent data packet generated by the node

Referenced by Uwpolling_AUV::addNode2List(), and get_time_stamp().

◆ Tmeasured

double probbed_node::Tmeasured

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

Referenced by Uwpolling_AUV::addNode2List(), and Uwpolling_AUV::addSink2List().


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