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

#include <IdealSNIR.h>

Inheritance diagram for inet::physicallayer::IdealSNIR:
inet::physicallayer::SNIRBase inet::physicallayer::ISNIR inet::physicallayer::IPrintableObject

Public Member Functions

 IdealSNIR (const IReception *reception, const INoise *noise)
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const override
 Prints this object to the provided output stream. More...
 
virtual double getMin () const override
 
- Public Member Functions inherited from inet::physicallayer::SNIRBase
 SNIRBase (const IReception *reception, const INoise *noise)
 
virtual const IReceptiongetReception () const override
 
virtual const INoisegetNoise () 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
 

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
}
 
- Protected Attributes inherited from inet::physicallayer::SNIRBase
const IReceptionreception
 
const INoisenoise
 

Constructor & Destructor Documentation

inet::physicallayer::IdealSNIR::IdealSNIR ( const IReception reception,
const INoise noise 
)
24  :
26 {
27 }
const IReception * reception
Definition: SNIRBase.h:32
const INoise * noise
Definition: SNIRBase.h:33
SNIRBase(const IReception *reception, const INoise *noise)
Definition: SNIRBase.cc:24

Member Function Documentation

double inet::physicallayer::IdealSNIR::getMin ( ) const
overridevirtual

Implements inet::physicallayer::ISNIR.

36 {
37  return NaN;
38 }
#define NaN
Definition: INETMath.h:103
std::ostream & inet::physicallayer::IdealSNIR::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::SNIRBase.

30 {
31  stream << "IdealSNIR";
32  return stream;
33 }

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