INET Framework for OMNeT++/OMNEST
inet::physicallayer::IReception Class Referenceabstract

This interface represents the reception of a transmission at a receiver. More...

#include <IReception.h>

Inheritance diagram for inet::physicallayer::IReception:
inet::IPrintableObject inet::physicallayer::ReceptionBase inet::physicallayer::LayeredReception inet::physicallayer::NarrowbandReceptionBase inet::physicallayer::UnitDiskReception inet::physicallayer::FlatReceptionBase inet::physicallayer::DimensionalReception inet::physicallayer::ScalarReception

Public Member Functions

virtual const IRadiogetReceiver () const =0
 Returns the receiver that received the corresponding transmission from the radio medium. More...
 
virtual const ITransmissiongetTransmission () const =0
 Returns the transmission that corresponds to this reception at the receiver. More...
 
virtual const simtime_t getStartTime () const =0
 Returns the time when the receiver started to receive the corresponding transmission. More...
 
virtual const simtime_t getEndTime () const =0
 Returns the time when the receiver ended to receive the corresponding transmission. More...
 
virtual const simtime_t getStartTime (IRadioSignal::SignalPart part) const =0
 
virtual const simtime_t getEndTime (IRadioSignal::SignalPart part) const =0
 
virtual const simtime_t getPreambleStartTime () const =0
 
virtual const simtime_t getPreambleEndTime () const =0
 
virtual const simtime_t getHeaderStartTime () const =0
 
virtual const simtime_t getHeaderEndTime () const =0
 
virtual const simtime_t getDataStartTime () const =0
 
virtual const simtime_t getDataEndTime () const =0
 
virtual const simtime_t getDuration () const =0
 Returns the total length of this reception. More...
 
virtual const simtime_t getDuration (IRadioSignal::SignalPart part) const =0
 Returns the length of the provided part of this reception. More...
 
virtual const simtime_t getPreambleDuration () const =0
 Returns the length of the preamble part of this reception. More...
 
virtual const simtime_t getHeaderDuration () const =0
 Returns the length of the header part of this reception. More...
 
virtual const simtime_t getDataDuration () const =0
 Returns the length of the data part of this reception. More...
 
virtual const CoordgetStartPosition () const =0
 Returns the antenna's position when the receiver started to receive the corresponding transmission. More...
 
virtual const CoordgetEndPosition () const =0
 Returns the antenna's position when the receiver ended to receive the corresponding transmission. More...
 
virtual const QuaterniongetStartOrientation () const =0
 Returns the antenna's orientation when the receiver started to receive the corresponding transmission. More...
 
virtual const QuaterniongetEndOrientation () const =0
 Returns the antenna's orientation when the receiver ended to receive the corresponding transmission. More...
 
virtual const IReceptionAnalogModelgetAnalogModel () const =0
 Returns the analog model of the received signal. More...
 
- Public Member Functions inherited from inet::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) const
 Prints this object to the provided output stream. More...
 
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
 

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) }
 

Detailed Description

This interface represents the reception of a transmission at a receiver.

There's one instance per transmission of this interface for each receiver.

This interface is strictly immutable to safely support parallel computation.

Member Function Documentation

◆ getAnalogModel()

◆ getDataDuration()

virtual const simtime_t inet::physicallayer::IReception::getDataDuration ( ) const
pure virtual

Returns the length of the data part of this reception.

Implemented in inet::physicallayer::ReceptionBase.

◆ getDataEndTime()

virtual const simtime_t inet::physicallayer::IReception::getDataEndTime ( ) const
pure virtual

◆ getDataStartTime()

virtual const simtime_t inet::physicallayer::IReception::getDataStartTime ( ) const
pure virtual

◆ getDuration() [1/2]

virtual const simtime_t inet::physicallayer::IReception::getDuration ( ) const
pure virtual

Returns the total length of this reception.

Implemented in inet::physicallayer::ReceptionBase.

Referenced by inet::physicallayer::StochasticErrorModel::computePacketErrorRate().

◆ getDuration() [2/2]

virtual const simtime_t inet::physicallayer::IReception::getDuration ( IRadioSignal::SignalPart  part) const
pure virtual

Returns the length of the provided part of this reception.

Implemented in inet::physicallayer::ReceptionBase.

◆ getEndOrientation()

virtual const Quaternion& inet::physicallayer::IReception::getEndOrientation ( ) const
pure virtual

Returns the antenna's orientation when the receiver ended to receive the corresponding transmission.

Implemented in inet::physicallayer::ReceptionBase.

◆ getEndPosition()

virtual const Coord& inet::physicallayer::IReception::getEndPosition ( ) const
pure virtual

Returns the antenna's position when the receiver ended to receive the corresponding transmission.

Implemented in inet::physicallayer::ReceptionBase.

Referenced by inet::physicallayer::RadioMedium::isInterferingTransmission(), and inet::physicallayer::CommunicationLog::writeReception().

◆ getEndTime() [1/2]

◆ getEndTime() [2/2]

virtual const simtime_t inet::physicallayer::IReception::getEndTime ( IRadioSignal::SignalPart  part) const
pure virtual

◆ getHeaderDuration()

virtual const simtime_t inet::physicallayer::IReception::getHeaderDuration ( ) const
pure virtual

Returns the length of the header part of this reception.

Implemented in inet::physicallayer::ReceptionBase.

◆ getHeaderEndTime()

virtual const simtime_t inet::physicallayer::IReception::getHeaderEndTime ( ) const
pure virtual

◆ getHeaderStartTime()

virtual const simtime_t inet::physicallayer::IReception::getHeaderStartTime ( ) const
pure virtual

◆ getPreambleDuration()

virtual const simtime_t inet::physicallayer::IReception::getPreambleDuration ( ) const
pure virtual

Returns the length of the preamble part of this reception.

Implemented in inet::physicallayer::ReceptionBase.

◆ getPreambleEndTime()

virtual const simtime_t inet::physicallayer::IReception::getPreambleEndTime ( ) const
pure virtual

◆ getPreambleStartTime()

virtual const simtime_t inet::physicallayer::IReception::getPreambleStartTime ( ) const
pure virtual

◆ getReceiver()

virtual const IRadio* inet::physicallayer::IReception::getReceiver ( ) const
pure virtual

◆ getStartOrientation()

virtual const Quaternion& inet::physicallayer::IReception::getStartOrientation ( ) const
pure virtual

Returns the antenna's orientation when the receiver started to receive the corresponding transmission.

Implemented in inet::physicallayer::ReceptionBase.

◆ getStartPosition()

virtual const Coord& inet::physicallayer::IReception::getStartPosition ( ) const
pure virtual

Returns the antenna's position when the receiver started to receive the corresponding transmission.

Implemented in inet::physicallayer::ReceptionBase.

Referenced by inet::physicallayer::RadioMedium::isInterferingTransmission(), and inet::physicallayer::CommunicationLog::writeReception().

◆ getStartTime() [1/2]

◆ getStartTime() [2/2]

virtual const simtime_t inet::physicallayer::IReception::getStartTime ( IRadioSignal::SignalPart  part) const
pure virtual

◆ getTransmission()

virtual const ITransmission* inet::physicallayer::IReception::getTransmission ( ) const
pure virtual

Returns the transmission that corresponds to this reception at the receiver.

This function never returns nullptr.

Implemented in inet::physicallayer::ReceptionBase.

Referenced by inet::physicallayer::ApskErrorModel::computeBitErrorRate(), inet::physicallayer::ErrorModelBase::computeCorruptedPacket(), inet::physicallayer::RadioMedium::computeInterferingReceptions(), inet::physicallayer::ReceiverBase::computeIsReceptionAttempted(), inet::physicallayer::Ieee80211DimensionalReceiver::computeIsReceptionPossible(), inet::physicallayer::ApskScalarReceiver::computeIsReceptionPossible(), inet::physicallayer::Ieee80211ScalarReceiver::computeIsReceptionPossible(), inet::physicallayer::ApskDimensionalReceiver::computeIsReceptionPossible(), inet::physicallayer::Ieee80211UnitDiskReceiver::computeIsReceptionPossible(), inet::physicallayer::ApskErrorModel::computePacketErrorRate(), inet::physicallayer::Ieee80211BerTableErrorModel::computePacketErrorRate(), inet::physicallayer::StochasticErrorModel::computePacketErrorRate(), inet::physicallayer::Ieee80211ErrorModelBase::computePacketErrorRate(), inet::physicallayer::ReceiverBase::computeReceivedPacket(), inet::physicallayer::Ieee80211UnitDiskReceiver::computeReceptionResult(), inet::physicallayer::Ieee80211ReceiverBase::computeReceptionResult(), inet::physicallayer::ApskLayeredReceiver::computeReceptionResult(), inet::physicallayer::Ieee80211LayeredOfdmReceiver::computeReceptionResult(), inet::physicallayer::ReceiverBase::computeSignalPower(), and inet::physicallayer::ApskErrorModel::computeSymbolErrorRate().


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