DESERT 3.5.1
|
#include <uwphysical.h>
Public Member Functions | |
UwPhysicalStats () | |
UwPhysicalStats (int mod_id, int stck_id) | |
virtual | ~UwPhysicalStats () |
virtual Stats * | clone () const |
virtual void | updateStats (int mod_id, int stck_id, double rx_pwr, double noise_pwr, double interf_pwr, double sinr, double ber, double per, bool error) |
Public Attributes | |
double | last_rx_power |
double | last_noise_power |
double | instant_noise_power |
double | last_interf_power |
double | last_sinr |
double | last_ber |
double | last_per |
bool | has_error |
Definition at line 61 of file uwphysical.h.
UwPhysicalStats::UwPhysicalStats | ( | ) |
Constructor of UwPhysicalStats class.
Definition at line 43 of file uwphysical.cpp.
UwPhysicalStats::UwPhysicalStats | ( | int | mod_id, |
int | stck_id | ||
) |
Constructor of UwPhysicalStats class.
Definition at line 57 of file uwphysical.cpp.
|
inlinevirtual |
Destructor of UwPhysicalStats class.
Definition at line 77 of file uwphysical.h.
|
virtual |
Virtual method used by the Module class in order to copy its stats an a generic fashion, without the need to know the derived stats implementation.
Reimplemented in UwHMMPhysicalStats.
Definition at line 89 of file uwphysical.cpp.
|
virtual |
Method to update stats with the param of last received packet.
rx_pwr,received | power of the packet |
noise_pwr,noise | power |
interf_pwr,noise | power |
sinr,signal | to noise ratio |
ber,bit | error rate |
per,packet | error rate |
error,true | if packet has error |
Definition at line 73 of file uwphysical.cpp.
bool UwPhysicalStats::has_error |
PER of the last received packet.
Definition at line 108 of file uwphysical.h.
double UwPhysicalStats::instant_noise_power |
Noise power of the last received packet.
Definition at line 103 of file uwphysical.h.
double UwPhysicalStats::last_ber |
SINR of the last received packet.
Definition at line 106 of file uwphysical.h.
double UwPhysicalStats::last_interf_power |
Noise power measured on query.
Definition at line 104 of file uwphysical.h.
double UwPhysicalStats::last_noise_power |
Power of the last received packet.
Definition at line 102 of file uwphysical.h.
double UwPhysicalStats::last_per |
BER of the last received packet.
Definition at line 107 of file uwphysical.h.
double UwPhysicalStats::last_rx_power |
Definition at line 101 of file uwphysical.h.
double UwPhysicalStats::last_sinr |
Interference power of the last rx packet.
Definition at line 105 of file uwphysical.h.