|
INET Framework for OMNeT++/OMNEST
|
#include <ReceptionBase.h>
|
| | ReceptionBase (const IRadio *receiver, const ITransmission *transmission, const simtime_t startTime, const simtime_t endTime, const Coord &startPosition, const Coord &endPosition, const Quaternion &startOrientation, const Quaternion &endOrientation) |
| |
| virtual std::ostream & | printToStream (std::ostream &stream, int level, int evFlags=0) const override |
| | Prints this object to the provided output stream. More...
|
| |
| virtual const IRadio * | getReceiver () const override |
| | Returns the receiver that received the corresponding transmission from the radio medium. More...
|
| |
| virtual const ITransmission * | getTransmission () 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 Quaternion & | getStartOrientation () const override |
| | Returns the antenna's orientation when the receiver started to receive the corresponding transmission. More...
|
| |
| virtual const Quaternion & | getEndOrientation () const override |
| | Returns the antenna's orientation when the receiver ended to receive the corresponding transmission. More...
|
| |
| virtual const IReceptionAnalogModel * | getAnalogModel () const override |
| | Returns the analog model of the received signal. More...
|
| |
| virtual | ~IPrintableObject () |
| |
| 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 |
| |
◆ ReceptionBase()
| 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 Quaternion & |
startOrientation, |
|
|
const Quaternion & |
endOrientation |
|
) |
| |
◆ getAnalogModel()
◆ getDataDuration()
| virtual const simtime_t inet::physicallayer::ReceptionBase::getDataDuration |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getDataEndTime()
| virtual const simtime_t inet::physicallayer::ReceptionBase::getDataEndTime |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getDataStartTime()
| virtual const simtime_t inet::physicallayer::ReceptionBase::getDataStartTime |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getDuration() [1/2]
| virtual const simtime_t inet::physicallayer::ReceptionBase::getDuration |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getDuration() [2/2]
◆ getEndOrientation()
| virtual const Quaternion& inet::physicallayer::ReceptionBase::getEndOrientation |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getEndPosition()
| virtual const Coord& inet::physicallayer::ReceptionBase::getEndPosition |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getEndTime() [1/2]
| virtual const simtime_t inet::physicallayer::ReceptionBase::getEndTime |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getEndTime() [2/2]
◆ getHeaderDuration()
| virtual const simtime_t inet::physicallayer::ReceptionBase::getHeaderDuration |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getHeaderEndTime()
| virtual const simtime_t inet::physicallayer::ReceptionBase::getHeaderEndTime |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getHeaderStartTime()
| virtual const simtime_t inet::physicallayer::ReceptionBase::getHeaderStartTime |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getPreambleDuration()
| virtual const simtime_t inet::physicallayer::ReceptionBase::getPreambleDuration |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getPreambleEndTime()
| virtual const simtime_t inet::physicallayer::ReceptionBase::getPreambleEndTime |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getPreambleStartTime()
| virtual const simtime_t inet::physicallayer::ReceptionBase::getPreambleStartTime |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getReceiver()
| virtual const IRadio* inet::physicallayer::ReceptionBase::getReceiver |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the receiver that received the corresponding transmission from the radio medium.
This function never returns nullptr.
Implements inet::physicallayer::IReception.
◆ getStartOrientation()
| virtual const Quaternion& inet::physicallayer::ReceptionBase::getStartOrientation |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getStartPosition()
| virtual const Coord& inet::physicallayer::ReceptionBase::getStartPosition |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getStartTime() [1/2]
| virtual const simtime_t inet::physicallayer::ReceptionBase::getStartTime |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getStartTime() [2/2]
◆ getTransmission()
| virtual const ITransmission* inet::physicallayer::ReceptionBase::getTransmission |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the transmission that corresponds to this reception at the receiver.
This function never returns nullptr.
Implements inet::physicallayer::IReception.
◆ printToStream()
| std::ostream & inet::physicallayer::ReceptionBase::printToStream |
( |
std::ostream & |
stream, |
|
|
int |
level, |
|
|
int |
evFlags = 0 |
|
) |
| const |
|
overridevirtual |
◆ dataDuration
| const simtime_t inet::physicallayer::ReceptionBase::dataDuration |
|
protected |
◆ endOrientation
| const Quaternion inet::physicallayer::ReceptionBase::endOrientation |
|
protected |
◆ endPosition
| const Coord inet::physicallayer::ReceptionBase::endPosition |
|
protected |
◆ endTime
| const simtime_t inet::physicallayer::ReceptionBase::endTime |
|
protected |
◆ headerDuration
| const simtime_t inet::physicallayer::ReceptionBase::headerDuration |
|
protected |
◆ preambleDuration
| const simtime_t inet::physicallayer::ReceptionBase::preambleDuration |
|
protected |
◆ receiver
| const IRadio* inet::physicallayer::ReceptionBase::receiver |
|
protected |
◆ startOrientation
| const Quaternion inet::physicallayer::ReceptionBase::startOrientation |
|
protected |
◆ startPosition
| const Coord inet::physicallayer::ReceptionBase::startPosition |
|
protected |
◆ startTime
| const simtime_t inet::physicallayer::ReceptionBase::startTime |
|
protected |
◆ transmission
| const ITransmission* inet::physicallayer::ReceptionBase::transmission |
|
protected |
The documentation for this class was generated from the following files:
virtual const simtime_t getPreambleEndTime() const override
Definition: ReceptionBase.h:48
virtual const simtime_t getPreambleDuration() const override
Returns the length of the preamble part of this reception.
Definition: ReceptionBase.h:57
const Coord endPosition
Definition: ReceptionBase.h:30
@ SIGNAL_PART_WHOLE
Definition: IRadioSignal.h:26
virtual const simtime_t getDuration() const override
Returns the total length of this reception.
Definition: ReceptionBase.h:54
const ITransmission * transmission
Definition: ReceptionBase.h:23
@ PRINT_LEVEL_DETAIL
Definition: IPrintableObject.h:24
const simtime_t startTime
Definition: ReceptionBase.h:24
virtual const simtime_t getPreambleStartTime() const override
Definition: ReceptionBase.h:47
const Quaternion startOrientation
Definition: ReceptionBase.h:31
const simtime_t headerDuration
Definition: ReceptionBase.h:27
virtual const simtime_t getDataDuration() const =0
Returns the length of the data part of this transmission.
virtual const simtime_t getHeaderDuration() const =0
Returns the length of the header part of this transmission.
const simtime_t preambleDuration
Definition: ReceptionBase.h:26
const simtime_t endTime
Definition: ReceptionBase.h:25
virtual const simtime_t getPreambleDuration() const =0
Returns the length of the preamble part of this transmission.
const Quaternion endOrientation
Definition: ReceptionBase.h:32
virtual const simtime_t getHeaderEndTime() const override
Definition: ReceptionBase.h:50
virtual const simtime_t getDataEndTime() const override
Definition: ReceptionBase.h:52
@ SIGNAL_PART_HEADER
Definition: IRadioSignal.h:28
const simtime_t dataDuration
Definition: ReceptionBase.h:28
@ SIGNAL_PART_PREAMBLE
Definition: IRadioSignal.h:27
#define EV_FIELD(...)
Definition: INETDefs.h:112
virtual const simtime_t getDataDuration() const override
Returns the length of the data part of this reception.
Definition: ReceptionBase.h:59
const IRadio * receiver
Definition: ReceptionBase.h:22
@ PRINT_LEVEL_TRACE
Definition: IPrintableObject.h:22
static const char * getSignalPartName(SignalPart signalPart)
Returns the name of the provided signal part.
Definition: IRadioSignal.cc:23
@ SIGNAL_PART_DATA
Definition: IRadioSignal.h:29
virtual const simtime_t getHeaderDuration() const override
Returns the length of the header part of this reception.
Definition: ReceptionBase.h:58
virtual int getId() const =0
Returns an identifier for this radio which is globally unique for the whole lifetime of the simulatio...
const Coord startPosition
Definition: ReceptionBase.h:29
virtual int getId() const =0
Returns an identifier for this transmission which is globally unique for the whole lifetime of the si...
virtual const simtime_t getHeaderStartTime() const override
Definition: ReceptionBase.h:49
virtual const simtime_t getEndTime() const override
Returns the time when the receiver ended to receive the corresponding transmission.
Definition: ReceptionBase.h:43
virtual const simtime_t getStartTime() const override
Returns the time when the receiver started to receive the corresponding transmission.
Definition: ReceptionBase.h:42
virtual const simtime_t getDataStartTime() const override
Definition: ReceptionBase.h:51