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

#include <NoiseBase.h>

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

Public Member Functions

 NoiseBase (simtime_t startTime, simtime_t endTime)
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const override
 Prints this object to the provided output stream. More...
 
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 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::NoiseBase::NoiseBase ( simtime_t  startTime,
simtime_t  endTime 
)
24  :
27 {
28 }
const simtime_t endTime
Definition: NoiseBase.h:31
const simtime_t startTime
Definition: NoiseBase.h:30

Member Function Documentation

virtual const simtime_t inet::physicallayer::NoiseBase::getEndTime ( ) const
inlineoverridevirtual

Implements inet::physicallayer::INoise.

38 { return endTime; }
const simtime_t endTime
Definition: NoiseBase.h:31
virtual const simtime_t inet::physicallayer::NoiseBase::getStartTime ( ) const
inlineoverridevirtual

Implements inet::physicallayer::INoise.

37 { return startTime; }
const simtime_t startTime
Definition: NoiseBase.h:30
std::ostream & inet::physicallayer::NoiseBase::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::IPrintableObject.

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

Referenced by inet::physicallayer::IdealNoise::printToStream(), and inet::physicallayer::NarrowbandNoiseBase::printToStream().

31 {
32  if (level <= PRINT_LEVEL_TRACE)
33  stream << ", startTime = " << startTime
34  << ", endTime = " << endTime;
35  return stream;
36 }
const simtime_t endTime
Definition: NoiseBase.h:31
const simtime_t startTime
Definition: NoiseBase.h:30

Member Data Documentation

const simtime_t inet::physicallayer::NoiseBase::endTime
protected

Referenced by printToStream().

const simtime_t inet::physicallayer::NoiseBase::startTime
protected

Referenced by printToStream().


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