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

#include <NarrowbandReceptionBase.h>

Inheritance diagram for inet::physicallayer::NarrowbandReceptionBase:
inet::physicallayer::ReceptionBase inet::physicallayer::INarrowbandSignal inet::physicallayer::IReception inet::physicallayer::IReceptionAnalogModel inet::physicallayer::IPrintableObject inet::physicallayer::ISignalAnalogModel inet::physicallayer::IPrintableObject inet::physicallayer::FlatReceptionBase inet::physicallayer::DimensionalReception inet::physicallayer::ScalarReception

Public Member Functions

 NarrowbandReceptionBase (const IRadio *receiver, const ITransmission *transmission, const simtime_t startTime, const simtime_t endTime, const Coord startPosition, const Coord endPosition, const EulerAngles startOrientation, const EulerAngles endOrientation, 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 override
 
virtual Hz getBandwidth () const override
 
- Public Member Functions inherited from inet::physicallayer::ReceptionBase
 ReceptionBase (const IRadio *receiver, const ITransmission *transmission, const simtime_t startTime, const simtime_t endTime, const Coord startPosition, const Coord endPosition, const EulerAngles startOrientation, const EulerAngles endOrientation)
 
virtual const IRadiogetReceiver () const override
 Returns the receiver that received the corresponding transmission from the radio medium. More...
 
virtual const ITransmissiongetTransmission () const override
 Returns the transmission that corresponds to this reception at the receiver. More...
 
virtual const simtime_t getStartTime () const override
 Returns the time when the receiver started to receive the corresponding transmission. More...
 
virtual const simtime_t getEndTime () const override
 Returns the time when the receiver ended to receive the corresponding transmission. More...
 
virtual const simtime_t getStartTime (IRadioSignal::SignalPart part) const override
 
virtual const simtime_t getEndTime (IRadioSignal::SignalPart part) const override
 
virtual const simtime_t getPreambleStartTime () const override
 
virtual const simtime_t getPreambleEndTime () const override
 
virtual const simtime_t getHeaderStartTime () const override
 
virtual const simtime_t getHeaderEndTime () const override
 
virtual const simtime_t getDataStartTime () const override
 
virtual const simtime_t getDataEndTime () const override
 
virtual const simtime_t getDuration () const override
 Returns the total length of this reception. More...
 
virtual const simtime_t getDuration (IRadioSignal::SignalPart part) const override
 Returns the length of the provided part of this reception. More...
 
virtual const simtime_t getPreambleDuration () const override
 Returns the length of the preamble part of this reception. More...
 
virtual const simtime_t getHeaderDuration () const override
 Returns the length of the header part of this reception. More...
 
virtual const simtime_t getDataDuration () const override
 Returns the length of the data part of this reception. More...
 
virtual const Coord getStartPosition () const override
 Returns the antenna's position when the receiver started to receive the corresponding transmission. More...
 
virtual const Coord getEndPosition () const override
 Returns the antenna's position when the receiver ended to receive the corresponding transmission. More...
 
virtual const EulerAngles getStartOrientation () const override
 Returns the antenna's orientation when the receiver started to receive the corresponding transmission. More...
 
virtual const EulerAngles getEndOrientation () const override
 Returns the antenna's orientation when the receiver ended to receive the corresponding transmission. More...
 
virtual const IReceptionAnalogModelgetAnalogModel () const override
 Returns the analog model of the received signal. More...
 
- 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
 
- Public Member Functions inherited from inet::physicallayer::INarrowbandSignal
virtual W computeMinPower (simtime_t startTime, simtime_t endTime) const =0
 

Protected Attributes

const Hz carrierFrequency
 
const Hz bandwidth
 
- Protected Attributes inherited from inet::physicallayer::ReceptionBase
const IRadioreceiver
 
const ITransmissiontransmission
 
const simtime_t startTime
 
const simtime_t endTime
 
const simtime_t preambleDuration
 
const simtime_t headerDuration
 
const simtime_t dataDuration
 
const Coord startPosition
 
const Coord endPosition
 
const EulerAngles startOrientation
 
const EulerAngles endOrientation
 

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::NarrowbandReceptionBase::NarrowbandReceptionBase ( const IRadio receiver,
const ITransmission transmission,
const simtime_t  startTime,
const simtime_t  endTime,
const Coord  startPosition,
const Coord  endPosition,
const EulerAngles  startOrientation,
const EulerAngles  endOrientation,
Hz  carrierFrequency,
Hz  bandwidth 
)
24  :
28 {
29 }
const Coord startPosition
Definition: ReceptionBase.h:39
ReceptionBase(const IRadio *receiver, const ITransmission *transmission, const simtime_t startTime, const simtime_t endTime, const Coord startPosition, const Coord endPosition, const EulerAngles startOrientation, const EulerAngles endOrientation)
Definition: ReceptionBase.cc:24
const simtime_t endTime
Definition: ReceptionBase.h:35
const IRadio * receiver
Definition: ReceptionBase.h:32
const Hz carrierFrequency
Definition: NarrowbandReceptionBase.h:31
const Hz bandwidth
Definition: NarrowbandReceptionBase.h:32
const EulerAngles endOrientation
Definition: ReceptionBase.h:42
const ITransmission * transmission
Definition: ReceptionBase.h:33
const Coord endPosition
Definition: ReceptionBase.h:40
const EulerAngles startOrientation
Definition: ReceptionBase.h:41
const simtime_t startTime
Definition: ReceptionBase.h:34

Member Function Documentation

virtual Hz inet::physicallayer::NarrowbandReceptionBase::getBandwidth ( ) const
inlineoverridevirtual
virtual Hz inet::physicallayer::NarrowbandReceptionBase::getCarrierFrequency ( ) const
inlineoverridevirtual
std::ostream & inet::physicallayer::NarrowbandReceptionBase::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::ReceptionBase.

Reimplemented in inet::physicallayer::ScalarReception.

Referenced by inet::physicallayer::ScalarReception::printToStream().

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

Member Data Documentation

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

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