World Ocean Simulation System (WOSS) library
|
BPSK modulation class with woss::Transducer power control. More...
#include <uw-woss-bpsk.h>
Protected Member Functions | |
virtual double | getTxPower (Packet *p) |
Protected Member Functions inherited from UwMPhyBpskTransducer | |
virtual double | consumedEnergyTx (double Ptx, double duration) |
virtual const woss::Transducer *const | getTransducer (double frequency) const |
Additional Inherited Members | |
Public Member Functions inherited from UwMPhyBpskTransducer | |
virtual int | command (int argc, const char *const *argv) |
Protected Types inherited from UwMPhyBpskTransducer | |
typedef ::std::map< ::std::pair< double, double >, const woss::Transducer * > | FreqTransducerMap |
typedef FreqTransducerMap::iterator | FTMIter |
typedef FreqTransducerMap::const_iterator | FTMCIter |
typedef FreqTransducerMap::reverse_iterator | FTMRIter |
typedef FreqTransducerMap::const_reverse_iterator | FTMRCIter |
Protected Attributes inherited from UwMPhyBpskTransducer | |
FreqTransducerMap | freq_transd_map |
BPSK modulation class with woss::Transducer power control.
WossMPhyBpsk extends UwMPhyBpskTransducer replacing old tx power control based on distance.
|
protectedvirtual |
It sends a synchronous cross-layer message asking for the current channel estimation. Upon valid answer it provides optimal power calculations.
p | pointer to the current Packet being processed |
References woss::Pressure::abs(), woss::Pressure::create(), woss::Transducer::getMaxSPL(), woss::Singleton< T >::instance(), and woss::Transducer::isValid().