| DESERT 3.6.1
    | 
#include <uwphysicalfromdb.h>


| Public Member Functions | |
| UnderwaterPhysicalfromdb () | |
| virtual | ~UnderwaterPhysicalfromdb () | 
| virtual int | command (int, const char *const *) | 
|  Public Member Functions inherited from UnderwaterGainFromDb | |
| UnderwaterGainFromDb () | |
| virtual | ~UnderwaterGainFromDb () | 
|  Public Member Functions inherited from UnderwaterPhysical | |
| UnderwaterPhysical () | |
| virtual | ~UnderwaterPhysical () | 
| virtual void | recv (Packet *) override | 
| int | recvSyncClMsg (ClMessage *m) override | 
| Private Attributes | |
| char * | path_gainmaps | 
| char * | path_selfinterference | 
| int | tau_index | 
| Additional Inherited Members | |
|  Protected Attributes inherited from UnderwaterGainFromDb | |
| char * | path_ | 
| char | token_separator_ | 
| ostringstream | osstream_ | 
|  Protected Attributes inherited from UnderwaterPhysical | |
| std::string | modulation_name_ | 
| double | time_ready_to_end_rx_ | 
| double | Tx_Time_ | 
| double | Rx_Time_ | 
| double | Energy_Tx_ | 
| double | Energy_Rx_ | 
| double | Transmitted_bytes_ | 
| double | tx_power_ | 
| double | rx_power_ | 
| int | tot_pkts_lost | 
| int | tot_ctrl_pkts_lost | 
| int | errorCtrlPktsInterf | 
| int | collisionDataCTRL | 
| int | collisionCTRL | 
| int | collisionDATA | 
| std::string | Interference_Model | 
| uwinterference * | interference_ | 
Definition at line 44 of file uwphysicalfromdb.h.
| UnderwaterPhysicalfromdb::UnderwaterPhysicalfromdb | ( | ) | 
Constructor of UnderwaterMPhyBpskDb class.
Definition at line 56 of file uwphysicalfromdb.cpp.
| 
 | inlinevirtual | 
Destructor of UnderwaterMPhyBpskDb class.
Definition at line 56 of file uwphysicalfromdb.h.
TCL command interpreter.
It implements the following OTcl methods:
| argc | Number of arguments in argv. | 
| argv | Array of strings which are the command parameters (Note that argv[0] is the name of the object). | 
Reimplemented from UnderwaterGainFromDb.
Definition at line 65 of file uwphysicalfromdb.cpp.
| 
 | protectedvirtual | 
Create the name of the file to read.
| _time | Timestamp (in s) | 
| _source_depth | Source depth (in m) | 
| _destination_depth | Destination depth (in m) | 
| _destination_distance | Destination distance (in m) | 
Definition at line 271 of file uwphysicalfromdb.cpp.
| 
 | protectedvirtual | 
Read from the gain.
| _time | Timestamp (in s) | 
| _source_depth | Source depth (in m) | 
| _destination_depth | Destination depth (in m) | 
| _destination_distance | Destination distance (in m) | 
Reimplemented from UnderwaterGainFromDb.
Definition at line 128 of file uwphysicalfromdb.cpp.
Return the Packet Error Rate of the packet p passed as input.
| _snr | Not used | 
| _nbits | Length of the packet | 
| p | Packet | 
Reimplemented from UnderwaterGainFromDb.
Definition at line 95 of file uwphysicalfromdb.cpp.
| 
 | protectedvirtual | 
Read from the self interference.
| _time | Timestamp (in s) | 
| _source_depth | Source depth (in m) | 
| _destination_depth | Destination depth (in m) | 
| _destination_distance | Destination distance (in m) | 
Definition at line 178 of file uwphysicalfromdb.cpp.
Return the value of the tau_index parameter.
Definition at line 152 of file uwphysicalfromdb.h.
| 
 | protectedvirtual | 
Read from a file the value in a specific row - column.
| _file_name | name of the file | 
| _row_index | index of the row | 
| _column_index | index of the column | 
Definition at line 218 of file uwphysicalfromdb.cpp.
Set the line_index parameter.
| Line | index to load in the file | 
Definition at line 141 of file uwphysicalfromdb.h.
| 
 | private | 
Name of the trace file writter for the current node.
Definition at line 158 of file uwphysicalfromdb.h.
| 
 | private | 
Name of the trace file writter for the current node.
Definition at line 160 of file uwphysicalfromdb.h.
| 
 | private | 
Tau index to load in the file.
Definition at line 162 of file uwphysicalfromdb.h.