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

#include <IdealNoise.h>

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

Public Member Functions

 IdealNoise (simtime_t startTime, simtime_t endTime, bool isInterfering)
 
virtual std::ostream & printToStream (std::ostream &stream, int level) 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::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

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::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::IdealNoise::IdealNoise ( simtime_t  startTime,
simtime_t  endTime,
bool  isInterfering 
)
24  :
27 {
28 }
const simtime_t endTime
Definition: NoiseBase.h:31
const simtime_t startTime
Definition: NoiseBase.h:30
virtual bool isInterfering() const
Definition: IdealNoise.h:37
NoiseBase(simtime_t startTime, simtime_t endTime)
Definition: NoiseBase.cc:24
bool isInterfering_
Definition: IdealNoise.h:30

Member Function Documentation

virtual bool inet::physicallayer::IdealNoise::isInterfering ( ) const
inlinevirtual
37 { return isInterfering_; }
bool isInterfering_
Definition: IdealNoise.h:30
std::ostream & inet::physicallayer::IdealNoise::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.

31 {
32  stream << "IdealNoise";
33  return NoiseBase::printToStream(stream, level);
34 }
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

bool inet::physicallayer::IdealNoise::isInterfering_
protected

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