#include <ScalarNoise.h>
|
| ScalarNoise (simtime_t startTime, simtime_t endTime, Hz carrierFrequency, Hz bandwidth, const std::map< simtime_t, W > *powerChanges) |
|
virtual | ~ScalarNoise () |
|
virtual std::ostream & | printToStream (std::ostream &stream, int level) const override |
| Prints this object to the provided output stream. More...
|
|
virtual const std::map< simtime_t, W > * | getPowerChanges () const |
|
virtual W | computeMaxPower (simtime_t startTime, simtime_t endTime) const override |
|
Public Member Functions inherited from inet::physicallayer::NarrowbandNoiseBase |
| NarrowbandNoiseBase (simtime_t startTime, simtime_t endTime, Hz carrierFrequency, Hz bandwidth) |
|
virtual Hz | getCarrierFrequency () const |
|
virtual Hz | getBandwidth () const |
|
| NoiseBase (simtime_t startTime, simtime_t endTime) |
|
virtual const simtime_t | getStartTime () const override |
|
virtual const simtime_t | getEndTime () const override |
|
virtual | ~IPrintableObject () |
|
virtual std::string | getInfoStringRepresentation () const |
|
virtual std::string | getDetailStringRepresentation () const |
|
virtual std::string | getDebugStringRepresentation () const |
|
virtual std::string | getTraceStringRepresentation () const |
|
virtual std::string | getCompleteStringRepresentation () const |
|
inet::physicallayer::ScalarNoise::ScalarNoise |
( |
simtime_t |
startTime, |
|
|
simtime_t |
endTime, |
|
|
Hz |
carrierFrequency, |
|
|
Hz |
bandwidth, |
|
|
const std::map< simtime_t, W > * |
powerChanges |
|
) |
| |
const Hz carrierFrequency
Definition: NarrowbandNoiseBase.h:30
const simtime_t endTime
Definition: NoiseBase.h:31
const simtime_t startTime
Definition: NoiseBase.h:30
const Hz bandwidth
Definition: NarrowbandNoiseBase.h:31
NarrowbandNoiseBase(simtime_t startTime, simtime_t endTime, Hz carrierFrequency, Hz bandwidth)
Definition: NarrowbandNoiseBase.cc:24
const std::map< simtime_t, W > * powerChanges
Definition: ScalarNoise.h:30
virtual inet::physicallayer::ScalarNoise::~ScalarNoise |
( |
| ) |
|
|
inlinevirtual |
const std::map< simtime_t, W > * powerChanges
Definition: ScalarNoise.h:30
W inet::physicallayer::ScalarNoise::computeMaxPower |
( |
simtime_t |
startTime, |
|
|
simtime_t |
endTime |
|
) |
| const |
|
overridevirtual |
Implements inet::physicallayer::NarrowbandNoiseBase.
41 W maxNoisePower =
W(0);
43 noisePower += elem.second;
44 if (noisePower > maxNoisePower &&
startTime <= elem.first && elem.first <=
endTime)
45 maxNoisePower = noisePower;
const simtime_t endTime
Definition: NoiseBase.h:31
const simtime_t startTime
Definition: NoiseBase.h:30
compose< J, pow< s,-1 > > W
Definition: Units.h:770
const std::map< simtime_t, W > * powerChanges
Definition: ScalarNoise.h:30
virtual const std::map<simtime_t, W>* inet::physicallayer::ScalarNoise::getPowerChanges |
( |
| ) |
const |
|
inlinevirtual |
std::ostream & inet::physicallayer::ScalarNoise::printToStream |
( |
std::ostream & |
stream, |
|
|
int |
level |
|
) |
| const |
|
overridevirtual |
Prints this object to the provided output stream.
Function calls to operator<< with pointers or references either const or not are all forwarded to this function.
Reimplemented from inet::physicallayer::NarrowbandNoiseBase.
32 stream <<
"ScalarNoise";
virtual std::ostream & printToStream(std::ostream &stream, int level) const override
Prints this object to the provided output stream.
Definition: NarrowbandNoiseBase.cc:31
Definition: IPrintableObject.h:36
const std::map< simtime_t, W > * powerChanges
Definition: ScalarNoise.h:30
const std::map<simtime_t, W>* inet::physicallayer::ScalarNoise::powerChanges |
|
protected |
The documentation for this class was generated from the following files: