INET Framework for OMNeT++/OMNEST
|
This interface represents a physical device (a part of the radio) which converts packets into electric signals. More...
#include <ITransmitter.h>
Public Member Functions | |
virtual W | getMaxPower () const =0 |
Returns the maximum transmission power above which no transmission is ever transmitted. More... | |
virtual m | getMaxCommunicationRange () const =0 |
Returns the maximum transmission range. More... | |
virtual m | getMaxInterferenceRange () const =0 |
Returns the maximum interference range. More... | |
virtual const ITransmission * | createTransmission (const IRadio *transmitter, const cPacket *macFrame, const simtime_t startTime) const =0 |
Returns a transmission which describes the radio signal corresponding to the provided mac frame. 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 a physical device (a part of the radio) which converts packets into electric signals.
|
pure virtual |
Returns a transmission which describes the radio signal corresponding to the provided mac frame.
This function never returns nullptr.
Implemented in inet::physicallayer::Ieee80211LayeredOFDMTransmitter, inet::physicallayer::APSKLayeredTransmitter, inet::physicallayer::Ieee802154UWBIRTransmitter, inet::physicallayer::IdealTransmitter, inet::physicallayer::Ieee80211IdealTransmitter, inet::physicallayer::Ieee80211DimensionalTransmitter, inet::physicallayer::APSKDimensionalTransmitter, inet::physicallayer::Ieee80211ScalarTransmitter, inet::physicallayer::Ieee802154NarrowbandScalarTransmitter, and inet::physicallayer::APSKScalarTransmitter.
Referenced by inet::NetworkConfiguratorBase::computeWirelessLinkWeight(), and inet::physicallayer::RadioMedium::createTransmitterRadioFrame().
|
pure virtual |
Returns the maximum transmission range.
Returns a value in the range [0, +infinity] or NaN if unspecified.
Implemented in inet::physicallayer::Ieee80211LayeredOFDMTransmitter, inet::physicallayer::APSKLayeredTransmitter, inet::physicallayer::IdealTransmitter, and inet::physicallayer::TransmitterBase.
Referenced by inet::physicallayer::MediumLimitCache::getMaxCommunicationRange().
|
pure virtual |
Returns the maximum interference range.
Returns a value in the range [0, +infinity] or NaN if unspecified.
Implemented in inet::physicallayer::Ieee80211LayeredOFDMTransmitter, inet::physicallayer::APSKLayeredTransmitter, inet::physicallayer::IdealTransmitter, and inet::physicallayer::TransmitterBase.
Referenced by inet::physicallayer::MediumLimitCache::getMaxInterferenceRange().
|
pure virtual |
Returns the maximum transmission power above which no transmission is ever transmitted.
Returns a value in the range [0, +infinity] or NaN if unspecified.
Implemented in inet::physicallayer::Ieee80211LayeredOFDMTransmitter, inet::physicallayer::APSKLayeredTransmitter, inet::physicallayer::FlatTransmitterBase, and inet::physicallayer::TransmitterBase.
Referenced by inet::physicallayer::MediumLimitCache::getMaxCommunicationRange(), and inet::physicallayer::MediumLimitCache::getMaxInterferenceRange().