#include <RadioFrame.h>
inet::physicallayer::RadioFrame::RadioFrame |
( |
const ITransmission * |
transmission | ) |
|
const ITransmission * transmission
Definition: RadioFrame.h:30
inet::physicallayer::RadioFrame::RadioFrame |
( |
const RadioFrame & |
other | ) |
|
const ITransmission * transmission
Definition: RadioFrame.h:30
virtual RadioFrame* inet::physicallayer::RadioFrame::dup |
( |
| ) |
const |
|
inlineoverridevirtual |
RadioFrame(const ITransmission *transmission)
Definition: RadioFrame.cc:26
const IArrival * inet::physicallayer::RadioFrame::getArrival |
( |
| ) |
const |
|
overridevirtual |
This function may return nullptr if this is not yet computed.
Implements inet::physicallayer::IRadioFrame.
Referenced by inet::physicallayer::Radio::continueReception(), inet::physicallayer::Radio::endReception(), and inet::physicallayer::Radio::startReception().
50 auto receiver = check_and_cast<
const IRadio *>(getArrivalModule());
const ITransmission * transmission
Definition: RadioFrame.h:30
virtual const IArrival * getArrival(const IRadio *receiver, const ITransmission *transmission) const =0
Returns the space and time coordinates of the transmission arriving at the provided receiver...
virtual const IRadioMedium * getMedium() const =0
Returns the radio medium where this radio is transmitting and receiving radio signals.
virtual const IRadio * getTransmitter() const =0
Returns the transmitter that transmitted this radio signal on the radio channel.
const IArrival * arrival
Definition: RadioFrame.h:31
const IListening * inet::physicallayer::RadioFrame::getListening |
( |
| ) |
const |
|
overridevirtual |
This function may return nullptr if this is not yet computed.
Implements inet::physicallayer::IRadioFrame.
59 auto receiver = check_and_cast<
const IRadio *>(getArrivalModule());
const ITransmission * transmission
Definition: RadioFrame.h:30
virtual const IRadioMedium * getMedium() const =0
Returns the radio medium where this radio is transmitting and receiving radio signals.
virtual const IRadio * getTransmitter() const =0
Returns the transmitter that transmitted this radio signal on the radio channel.
const IListening * listening
Definition: RadioFrame.h:32
virtual const IListening * getListening(const IRadio *receiver, const ITransmission *transmission) const =0
Returns how the radio is listening on the medium when the transmission arrives at the provided receiv...
const IReception * inet::physicallayer::RadioFrame::getReception |
( |
| ) |
const |
|
overridevirtual |
This function may return nullptr if this is not yet computed.
Implements inet::physicallayer::IRadioFrame.
Referenced by inet::physicallayer::Radio::abortReception().
68 auto receiver = check_and_cast<
const IRadio *>(getArrivalModule());
virtual const IReception * getReception(const IRadio *receiver, const ITransmission *transmission) const =0
Returns the reception of the transmission arriving at the provided receiver.
const ITransmission * transmission
Definition: RadioFrame.h:30
const IReception * reception
Definition: RadioFrame.h:33
virtual const IRadioMedium * getMedium() const =0
Returns the radio medium where this radio is transmitting and receiving radio signals.
virtual const IRadio * getTransmitter() const =0
Returns the transmitter that transmitted this radio signal on the radio channel.
const ITransmission * inet::physicallayer::RadioFrame::getTransmission |
( |
| ) |
const |
|
overridevirtual |
std::ostream & inet::physicallayer::RadioFrame::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::IPrintableObject.
39 return stream << (cPacket *)
this;
const IArrival* inet::physicallayer::RadioFrame::arrival = nullptr |
|
mutableprotected |
const IListening* inet::physicallayer::RadioFrame::listening = nullptr |
|
mutableprotected |
const IReception* inet::physicallayer::RadioFrame::reception = nullptr |
|
mutableprotected |
const ITransmission* inet::physicallayer::RadioFrame::transmission = nullptr |
|
protected |
The documentation for this class was generated from the following files: