INET Framework for OMNeT++/OMNEST
inet::physicallayer::UnitDiskNoise Class Reference

#include <UnitDiskNoise.h>

Inheritance diagram for inet::physicallayer::UnitDiskNoise:
inet::physicallayer::NoiseBase inet::physicallayer::INoise inet::IPrintableObject

Public Member Functions

 UnitDiskNoise (simtime_t startTime, simtime_t endTime, bool isInterfering)
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) const override
 Prints this object to the provided output stream. More...
 
virtual bool isInterfering () const
 
- 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::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::string printToString () const
 
virtual std::string printToString (int level, int evFlags=0) const
 
virtual std::string getInfoStringRepresentation (int evFlags=0) const
 
virtual std::string getDetailStringRepresentation (int evFlags=0) const
 
virtual std::string getDebugStringRepresentation (int evFlags=0) const
 
virtual std::string getTraceStringRepresentation (int evFlags=0) const
 
virtual std::string getCompleteStringRepresentation (int evFlags=0) const
 

Protected Attributes

bool isInterfering_
 
- Protected Attributes inherited from inet::physicallayer::NoiseBase
const simtime_t startTime
 
const simtime_t endTime
 

Additional Inherited Members

- Public Types inherited from inet::IPrintableObject
enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 
enum  PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) }
 

Constructor & Destructor Documentation

◆ UnitDiskNoise()

inet::physicallayer::UnitDiskNoise::UnitDiskNoise ( simtime_t  startTime,
simtime_t  endTime,
bool  isInterfering 
)
14  :
17 {
18 }

Member Function Documentation

◆ isInterfering()

virtual bool inet::physicallayer::UnitDiskNoise::isInterfering ( ) const
inlinevirtual
27 { return isInterfering_; }

◆ printToStream()

std::ostream & inet::physicallayer::UnitDiskNoise::printToStream ( std::ostream &  stream,
int  level,
int  evFlags = 0 
) const
overridevirtual

Prints this object to the provided output stream.

Reimplemented from inet::physicallayer::NoiseBase.

21 {
22  stream << "UnitDiskNoise";
23  return NoiseBase::printToStream(stream, level);
24 }

Member Data Documentation

◆ isInterfering_

bool inet::physicallayer::UnitDiskNoise::isInterfering_
protected

The documentation for this class was generated from the following files:
inet::physicallayer::NoiseBase::startTime
const simtime_t startTime
Definition: NoiseBase.h:20
inet::physicallayer::UnitDiskNoise::isInterfering_
bool isInterfering_
Definition: UnitDiskNoise.h:20
inet::physicallayer::NoiseBase::printToStream
virtual std::ostream & printToStream(std::ostream &stream, int level, int evFlags=0) const override
Prints this object to the provided output stream.
Definition: NoiseBase.cc:20
inet::physicallayer::NoiseBase::endTime
const simtime_t endTime
Definition: NoiseBase.h:21
inet::physicallayer::NoiseBase::NoiseBase
NoiseBase(simtime_t startTime, simtime_t endTime)
Definition: NoiseBase.cc:14
inet::physicallayer::UnitDiskNoise::isInterfering
virtual bool isInterfering() const
Definition: UnitDiskNoise.h:27