INET Framework for OMNeT++/OMNEST
|
This interface represents a physical device (a part of the radio) which converts electric signals into radio waves, and vice versa. More...
#include <IAntenna.h>
Public Member Functions | |
virtual IMobility * | getMobility () const =0 |
Returns the mobility of this antenna that describes its position and orientation over time. More... | |
virtual int | getNumAntennas () const =0 |
Returns the number of antennas in the array. More... | |
virtual double | getMaxGain () const =0 |
Returns the maximum possible antenna gain independent of any direction. More... | |
virtual double | computeGain (const EulerAngles direction) const =0 |
Returns the antenna gain in the provided direction. 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 electric signals into radio waves, and vice versa.
|
pure virtual |
Returns the antenna gain in the provided direction.
The direction is relative to the antenna geometry, so the result depends only on the antenna characteristics. For transmissions, it determines how well the antenna converts input power into radio waves headed in the specified direction. For receptions, it determines how well the antenna converts radio waves arriving from the the specified direction.
Implemented in inet::physicallayer::InterpolatingAntenna, inet::physicallayer::ParabolicAntenna, inet::physicallayer::CosineAntenna, inet::physicallayer::DipoleAntenna, inet::physicallayer::ConstantGainAntenna, and inet::physicallayer::IsotropicAntenna.
Referenced by inet::physicallayer::ScalarAnalogModelBase::computeReceptionPower(), and inet::physicallayer::DimensionalAnalogModelBase::computeReceptionPower().
|
pure virtual |
Returns the maximum possible antenna gain independent of any direction.
Implemented in inet::physicallayer::InterpolatingAntenna, inet::physicallayer::ParabolicAntenna, inet::physicallayer::CosineAntenna, inet::physicallayer::DipoleAntenna, inet::physicallayer::ConstantGainAntenna, and inet::physicallayer::IsotropicAntenna.
|
pure virtual |
Returns the mobility of this antenna that describes its position and orientation over time.
Implemented in inet::physicallayer::AntennaBase.
Referenced by inet::physicallayer::GridNeighborCache::addRadio(), inet::physicallayer::QuadTreeNeighborCache::addRadio(), inet::physicallayer::RadioMedium::addRadio(), inet::physicallayer::APSKScalarTransmitter::createTransmission(), inet::physicallayer::Ieee80211ScalarTransmitter::createTransmission(), inet::physicallayer::Ieee802154NarrowbandScalarTransmitter::createTransmission(), inet::physicallayer::APSKDimensionalTransmitter::createTransmission(), inet::physicallayer::Ieee80211DimensionalTransmitter::createTransmission(), inet::physicallayer::Ieee80211IdealTransmitter::createTransmission(), inet::physicallayer::IdealTransmitter::createTransmission(), inet::physicallayer::Ieee802154UWBIRTransmitter::createTransmission(), inet::physicallayer::APSKLayeredTransmitter::createTransmission(), inet::physicallayer::Ieee80211LayeredOFDMTransmitter::createTransmission(), inet::physicallayer::GridNeighborCache::fillCubeVector(), inet::physicallayer::Radio::isListeningPossible(), inet::physicallayer::GridNeighborCache::sendToNeighbors(), inet::physicallayer::QuadTreeNeighborCache::sendToNeighbors(), and inet::physicallayer::NeighborListNeighborCache::updateNeighborList().
|
pure virtual |
Returns the number of antennas in the array.
Implemented in inet::physicallayer::AntennaBase.
Referenced by inet::physicallayer::Ieee80211ScalarTransmitter::createTransmission(), inet::physicallayer::Ieee80211DimensionalTransmitter::createTransmission(), and inet::physicallayer::Ieee80211IdealTransmitter::createTransmission().