INET Framework for OMNeT++/OMNEST
inet::physicallayer::NarrowbandNoiseBase Class Referenceabstract

#include <NarrowbandNoiseBase.h>

Inheritance diagram for inet::physicallayer::NarrowbandNoiseBase:
inet::physicallayer::NoiseBase inet::physicallayer::INoise inet::physicallayer::IPrintableObject inet::physicallayer::DimensionalNoise inet::physicallayer::ScalarNoise

Public Member Functions

 NarrowbandNoiseBase (simtime_t startTime, simtime_t endTime, Hz carrierFrequency, Hz bandwidth)
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const override
 Prints this object to the provided output stream. More...
 
virtual Hz getCarrierFrequency () const
 
virtual Hz getBandwidth () const
 
virtual W computeMaxPower (simtime_t startTime, simtime_t endTime) const =0
 
- Public Member Functions inherited from inet::physicallayer::NoiseBase
 NoiseBase (simtime_t startTime, simtime_t endTime)
 
virtual const simtime_t getStartTime () const override
 
virtual const simtime_t getEndTime () const override
 
- Public Member Functions inherited from inet::physicallayer::IPrintableObject
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
 

Protected Attributes

const Hz carrierFrequency
 
const Hz bandwidth
 
- Protected Attributes inherited from inet::physicallayer::NoiseBase
const simtime_t startTime
 
const simtime_t endTime
 

Additional Inherited Members

- Public Types inherited from inet::physicallayer::IPrintableObject
enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 

Constructor & Destructor Documentation

inet::physicallayer::NarrowbandNoiseBase::NarrowbandNoiseBase ( simtime_t  startTime,
simtime_t  endTime,
Hz  carrierFrequency,
Hz  bandwidth 
)
24  :
28 {
29 }
const Hz carrierFrequency
Definition: NarrowbandNoiseBase.h:30
const simtime_t endTime
Definition: NoiseBase.h:31
const simtime_t startTime
Definition: NoiseBase.h:30
NoiseBase(simtime_t startTime, simtime_t endTime)
Definition: NoiseBase.cc:24
const Hz bandwidth
Definition: NarrowbandNoiseBase.h:31

Member Function Documentation

virtual Hz inet::physicallayer::NarrowbandNoiseBase::getBandwidth ( ) const
inlinevirtual
virtual Hz inet::physicallayer::NarrowbandNoiseBase::getCarrierFrequency ( ) const
inlinevirtual
std::ostream & inet::physicallayer::NarrowbandNoiseBase::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::NoiseBase.

Reimplemented in inet::physicallayer::DimensionalNoise, and inet::physicallayer::ScalarNoise.

Referenced by inet::physicallayer::ScalarNoise::printToStream(), and inet::physicallayer::DimensionalNoise::printToStream().

32 {
33  if (level <= PRINT_LEVEL_TRACE)
34  stream << ", carrierFrequency = " << carrierFrequency
35  << ", bandwidth = " << bandwidth;
36  return NoiseBase::printToStream(stream, level);
37 }
const Hz carrierFrequency
Definition: NarrowbandNoiseBase.h:30
const Hz bandwidth
Definition: NarrowbandNoiseBase.h:31
virtual std::ostream & printToStream(std::ostream &stream, int level) const override
Prints this object to the provided output stream.
Definition: NoiseBase.cc:30

Member Data Documentation

const Hz inet::physicallayer::NarrowbandNoiseBase::bandwidth
protected
const Hz inet::physicallayer::NarrowbandNoiseBase::carrierFrequency
protected

The documentation for this class was generated from the following files: