INET Framework for OMNeT++/OMNEST
|
This interface represents the reception of a transmission at a receiver. More...
#include <IReception.h>
Public Member Functions | |
virtual const IRadio * | getReceiver () const =0 |
Returns the receiver that received the corresponding transmission from the radio medium. More... | |
virtual const ITransmission * | getTransmission () 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 Coord | getStartPosition () const =0 |
Returns the antenna's position when the receiver started to receive the corresponding transmission. More... | |
virtual const Coord | getEndPosition () const =0 |
Returns the antenna's position when the receiver ended to receive the corresponding transmission. More... | |
virtual const EulerAngles | getStartOrientation () const =0 |
Returns the antenna's orientation when the receiver started to receive the corresponding transmission. More... | |
virtual const EulerAngles | getEndOrientation () const =0 |
Returns the antenna's orientation when the receiver ended to receive the corresponding transmission. More... | |
virtual const IReceptionAnalogModel * | getAnalogModel () const =0 |
Returns the analog model of the received signal. More... | |
Public Member Functions inherited from inet::physicallayer::IPrintableObject | |
virtual | ~IPrintableObject () |
virtual std::ostream & | printToStream (std::ostream &stream, int level) const |
Prints this object to the provided output stream. More... | |
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 } |
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.
|
pure virtual |
Returns the analog model of the received signal.
Implemented in inet::physicallayer::ReceptionBase, and inet::physicallayer::LayeredReception.
Referenced by inet::physicallayer::Ieee80211LayeredOFDMReceiver::computeIsReceptionPossible(), inet::physicallayer::ScalarSNIR::computeMin(), and inet::NetworkConfiguratorBase::computeWirelessLinkWeight().
|
pure virtual |
Returns the length of the data part of this reception.
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Returns the total length of this reception.
Implemented in inet::physicallayer::ReceptionBase.
Referenced by inet::physicallayer::StochasticErrorModel::computePacketErrorRate().
|
pure virtual |
Returns the length of the provided part of this reception.
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Returns the antenna's orientation when the receiver ended to receive the corresponding transmission.
Implemented in inet::physicallayer::ReceptionBase.
|
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().
|
pure virtual |
Returns the time when the receiver ended to receive the corresponding transmission.
It is the end of the last bit's reception.
Implemented in inet::physicallayer::ReceptionBase.
Referenced by inet::physicallayer::RadioMedium::computeInterferingReceptions(), inet::physicallayer::FlatReceiverBase::computeIsReceptionPossible(), inet::physicallayer::APSKLayeredReceiver::computeIsReceptionPossible(), inet::physicallayer::Ieee80211LayeredOFDMReceiver::computeIsReceptionPossible(), inet::physicallayer::IdealReceiver::computeIsReceptionSuccessful(), inet::physicallayer::ScalarSNIR::computeMin(), inet::physicallayer::DimensionalSNIR::computeMin(), inet::physicallayer::Ieee802154UWBIRReceiver::decode(), inet::physicallayer::RadioMedium::isInterferingTransmission(), and inet::physicallayer::CommunicationLog::writeReception().
|
pure virtual |
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Returns the length of the header part of this reception.
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Returns the length of the preamble part of this reception.
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Implemented in inet::physicallayer::ReceptionBase.
|
pure virtual |
Returns the receiver that received the corresponding transmission from the radio medium.
This function never returns nullptr.
Implemented in inet::physicallayer::ReceptionBase.
Referenced by inet::physicallayer::RadioMedium::computeInterferingReceptions(), inet::physicallayer::ReceiverBase::computeIsReceptionAttempted(), inet::physicallayer::ReceiverBase::computeReceptionResult(), inet::physicallayer::RadioMedium::isInterferingTransmission(), inet::visualizer::MediumCanvasVisualizer::receptionEnded(), inet::visualizer::MediumCanvasVisualizer::receptionStarted(), and inet::physicallayer::CommunicationLog::writeReception().
|
pure virtual |
Returns the antenna's orientation when the receiver started to receive the corresponding transmission.
Implemented in inet::physicallayer::ReceptionBase.
|
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(), inet::visualizer::MediumCanvasVisualizer::receptionStarted(), and inet::physicallayer::CommunicationLog::writeReception().
|
pure virtual |
Returns the time when the receiver started to receive the corresponding transmission.
It is the start of the first bit's reception.
Implemented in inet::physicallayer::ReceptionBase.
Referenced by inet::physicallayer::RadioMedium::computeInterferingReceptions(), inet::physicallayer::ReceiverBase::computeIsReceptionAttempted(), inet::physicallayer::FlatReceiverBase::computeIsReceptionPossible(), inet::physicallayer::APSKLayeredReceiver::computeIsReceptionPossible(), inet::physicallayer::Ieee80211LayeredOFDMReceiver::computeIsReceptionPossible(), inet::physicallayer::IdealReceiver::computeIsReceptionSuccessful(), inet::physicallayer::ScalarSNIR::computeMin(), inet::physicallayer::DimensionalSNIR::computeMin(), inet::physicallayer::Ieee802154UWBIRReceiver::decode(), inet::physicallayer::RadioMedium::isInterferingTransmission(), and inet::physicallayer::CommunicationLog::writeReception().
|
pure virtual |
Implemented in inet::physicallayer::ReceptionBase.
|
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::RadioMedium::computeInterferingReceptions(), inet::physicallayer::ReceiverBase::computeIsReceptionAttempted(), inet::physicallayer::APSKErrorModel::computePacketErrorRate(), inet::physicallayer::Ieee80211ErrorModelBase::computePacketErrorRate(), inet::physicallayer::Ieee80211BerTableErrorModel::computePacketErrorRate(), inet::physicallayer::StochasticErrorModel::computePacketErrorRate(), inet::physicallayer::Ieee80211IdealReceiver::computeReceptionIndication(), inet::physicallayer::Ieee80211ReceiverBase::computeReceptionIndication(), inet::physicallayer::ReceiverBase::computeReceptionResult(), inet::physicallayer::APSKLayeredReceiver::computeReceptionResult(), inet::physicallayer::Ieee80211LayeredOFDMReceiver::computeReceptionResult(), inet::physicallayer::APSKErrorModel::computeSymbolErrorRate(), inet::visualizer::MediumCanvasVisualizer::receptionEnded(), inet::physicallayer::ReceptionResult::ReceptionResult(), and inet::visualizer::MediumCanvasVisualizer::receptionStarted().