39#ifndef UWOPTICAL_PHY_H
40#define UWOPTICAL_PHY_H
61#define OPTICAL_MODULATION_TYPE "OPTIC_BPSK"
62#define NOT_FOUND_VALUE 0
66typedef DepthMap::iterator
DMIt;
94 virtual int command(
int,
const char *
const *);
96 virtual void startRx(Packet *p);
100 virtual void endRx(Packet *p);
108 double x,
double x1,
double y1,
double x2,
double y2);
virtual void initializeLUT()
Inizialize LUT of c_variable values.
virtual double lookUpLightNoiseE(double depth)
DepthMap lut_map
Lookup table map of the solar noise versus the depth.
bool variable_temperature_
Flag to set whether the temperature is costant or varialbe with the depth.
virtual void startRx(Packet *p)
virtual double getNoisePower(Packet *p)
virtual void endRx(Packet *p)
char lut_token_separator_
virtual ~UwOpticalPhy()
Destructor of UwMultiPhy class.
double getVarTemperature(Packet *p)
virtual double getSNRdB(Packet *p)
bool use_woss_
Flag to set whether woss is employed.
UwOpticalPhy()
Constructor of UwMultiPhy class.
virtual int command(int, const char *const *)
TCL command interpreter.
virtual double linearInterpolator(double x, double x1, double y1, double x2, double y2)
::std::map< double, double > DepthMap