INET Framework for OMNeT++/OMNEST
|
#include <IsotropicAntenna.h>
Public Member Functions | |
IsotropicAntenna () | |
virtual std::ostream & | printToStream (std::ostream &stream, int level) const override |
Prints this object to the provided output stream. More... | |
virtual double | getMaxGain () const override |
Returns the maximum possible antenna gain independent of any direction. More... | |
virtual double | computeGain (const EulerAngles direction) const override |
Returns the antenna gain in the provided direction. More... | |
Public Member Functions inherited from inet::physicallayer::AntennaBase | |
AntennaBase () | |
virtual IMobility * | getMobility () const override |
Returns the mobility of this antenna that describes its position and orientation over time. More... | |
virtual int | getNumAntennas () const override |
Returns the number of antennas in the array. 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 |
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 } |
Protected Member Functions inherited from inet::physicallayer::AntennaBase | |
virtual void | initialize (int stage) override |
Protected Attributes inherited from inet::physicallayer::AntennaBase | |
IMobility * | mobility |
int | numAntennas |
inet::physicallayer::IsotropicAntenna::IsotropicAntenna | ( | ) |
|
inlineoverridevirtual |
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.
Implements inet::physicallayer::IAntenna.
|
inlineoverridevirtual |
Returns the maximum possible antenna gain independent of any direction.
Implements inet::physicallayer::IAntenna.
|
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::AntennaBase.