INET Framework for OMNeT++/OMNEST
|
#include <FlatTransmitterBase.h>
Public Member Functions | |
FlatTransmitterBase () | |
virtual std::ostream & | printToStream (std::ostream &stream, int level) const override |
Prints this object to the provided output stream. More... | |
virtual int | getHeaderBitLength () const |
virtual void | setHeaderBitLength (int headerBitLength) |
virtual bps | getBitrate () const |
virtual void | setBitrate (bps bitrate) |
virtual W | getMaxPower () const override |
Returns the maximum transmission power above which no transmission is ever transmitted. More... | |
virtual W | getPower () const |
virtual void | setPower (W power) |
Public Member Functions inherited from inet::physicallayer::NarrowbandTransmitterBase | |
NarrowbandTransmitterBase () | |
virtual const IModulation * | getModulation () const |
virtual void | setModulation (const IModulation *modulation) |
virtual Hz | getCarrierFrequency () const |
virtual void | setCarrierFrequency (Hz carrierFrequency) |
virtual Hz | getBandwidth () const |
virtual void | setBandwidth (Hz bandwidth) |
Public Member Functions inherited from inet::physicallayer::TransmitterBase | |
virtual m | getMaxCommunicationRange () const override |
Returns the maximum transmission range. More... | |
virtual m | getMaxInterferenceRange () const override |
Returns the maximum interference range. More... | |
Public Member Functions inherited from inet::physicallayer::ITransmitter | |
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::string | getInfoStringRepresentation () const |
virtual std::string | getDetailStringRepresentation () const |
virtual std::string | getDebugStringRepresentation () const |
virtual std::string | getTraceStringRepresentation () const |
virtual std::string | getCompleteStringRepresentation () const |
Protected Member Functions | |
virtual void | initialize (int stage) override |
Protected Member Functions inherited from inet::physicallayer::TransmitterBase | |
virtual int | numInitStages () const override |
Protected Attributes | |
simtime_t | preambleDuration |
int | headerBitLength |
bps | bitrate |
W | power |
Protected Attributes inherited from inet::physicallayer::NarrowbandTransmitterBase | |
const IModulation * | modulation |
Hz | carrierFrequency |
Hz | bandwidth |
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 } |
inet::physicallayer::FlatTransmitterBase::FlatTransmitterBase | ( | ) |
|
inlinevirtual |
Referenced by inet::NetworkConfiguratorBase::computeWirelessLinkWeight().
|
inlinevirtual |
|
inlineoverridevirtual |
Returns the maximum transmission power above which no transmission is ever transmitted.
Returns a value in the range [0, +infinity] or NaN if unspecified.
Reimplemented from inet::physicallayer::TransmitterBase.
|
inlinevirtual |
|
overrideprotectedvirtual |
Reimplemented from inet::physicallayer::NarrowbandTransmitterBase.
Reimplemented in inet::physicallayer::Ieee80211TransmitterBase, inet::physicallayer::Ieee80211IdealTransmitter, inet::physicallayer::Ieee80211DimensionalTransmitter, and inet::physicallayer::APSKDimensionalTransmitter.
Referenced by inet::physicallayer::APSKDimensionalTransmitter::initialize(), and inet::physicallayer::Ieee80211TransmitterBase::initialize().
|
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::NarrowbandTransmitterBase.
Reimplemented in inet::physicallayer::Ieee80211TransmitterBase, inet::physicallayer::Ieee80211IdealTransmitter, inet::physicallayer::Ieee80211DimensionalTransmitter, inet::physicallayer::APSKDimensionalTransmitter, inet::physicallayer::Ieee802154NarrowbandScalarTransmitter, inet::physicallayer::APSKScalarTransmitter, and inet::physicallayer::Ieee80211ScalarTransmitter.
Referenced by inet::physicallayer::APSKScalarTransmitter::printToStream(), inet::physicallayer::Ieee802154NarrowbandScalarTransmitter::printToStream(), inet::physicallayer::APSKDimensionalTransmitter::printToStream(), and inet::physicallayer::Ieee80211TransmitterBase::printToStream().
|
inlinevirtual |
Referenced by inet::physicallayer::FlatRadioBase::setBitrate().
|
inlinevirtual |
|
inlinevirtual |
Referenced by inet::physicallayer::FlatRadioBase::setPower().
|
protected |
Referenced by inet::physicallayer::APSKScalarTransmitter::createTransmission(), inet::physicallayer::Ieee802154NarrowbandScalarTransmitter::createTransmission(), inet::physicallayer::APSKDimensionalTransmitter::createTransmission(), initialize(), inet::physicallayer::Ieee80211TransmitterBase::initialize(), and printToStream().
|
protected |
Referenced by inet::physicallayer::APSKScalarTransmitter::createTransmission(), inet::physicallayer::Ieee802154NarrowbandScalarTransmitter::createTransmission(), inet::physicallayer::Ieee80211ScalarTransmitter::createTransmission(), inet::physicallayer::APSKDimensionalTransmitter::createTransmission(), inet::physicallayer::Ieee80211DimensionalTransmitter::createTransmission(), initialize(), and printToStream().
|
protected |
Referenced by inet::physicallayer::Ieee80211TransmitterBase::computeTransmissionPower(), inet::physicallayer::APSKScalarTransmitter::createTransmission(), inet::physicallayer::Ieee802154NarrowbandScalarTransmitter::createTransmission(), inet::physicallayer::APSKDimensionalTransmitter::createTransmission(), initialize(), and printToStream().
|
protected |
Referenced by inet::physicallayer::APSKScalarTransmitter::createTransmission(), inet::physicallayer::Ieee802154NarrowbandScalarTransmitter::createTransmission(), inet::physicallayer::Ieee80211ScalarTransmitter::createTransmission(), inet::physicallayer::APSKDimensionalTransmitter::createTransmission(), inet::physicallayer::Ieee80211DimensionalTransmitter::createTransmission(), inet::physicallayer::Ieee80211IdealTransmitter::createTransmission(), initialize(), and printToStream().