INET Framework for OMNeT++/OMNEST
|
This class computes obstacle loss based on the actual straight path that the radio signal travels from the transmitter to the receiver. More...
#include <DielectricObstacleLoss.h>
Classes | |
class | TotalObstacleLossComputation |
Public Member Functions | |
DielectricObstacleLoss () | |
virtual std::ostream & | printToStream (std::ostream &stream, int level) const override |
Prints this object to the provided output stream. More... | |
virtual double | computeObstacleLoss (Hz frequency, const Coord &transmissionPosition, const Coord &receptionPosition) const override |
Returns the obstacle loss factor caused by physical objects present in the environment as a function of frequency, transmission position, and reception position. 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 int | numInitStages () const override |
virtual void | initialize (int stage) override |
virtual void | finish () override |
virtual double | computeDielectricLoss (const IMaterial *material, Hz frequency, m distance) const |
virtual double | computeReflectionLoss (const IMaterial *incidentMaterial, const IMaterial *refractiveMaterial, double angle) const |
virtual double | computeObjectLoss (const IPhysicalObject *object, Hz frequency, const Coord &transmissionPosition, const Coord &receptionPosition) const |
Protected Attributes | |
Parameters | |
IRadioMedium * | medium |
The radio medium where the radio signal propagation takes place. More... | |
IPhysicalEnvironment * | physicalEnvironment |
The physical environment that provides to obstacles. More... | |
Statistics | |
unsigned int | intersectionComputationCount |
Total number of obstacle intersection computations. More... | |
unsigned int | intersectionCount |
Total number of actual obstacle intersections. More... | |
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 } |
Static Public Attributes inherited from inet::physicallayer::ITracingObstacleLoss | |
static simsignal_t | obstaclePenetratedSignal = cComponent::registerSignal("obstaclePenetrated") |
This class computes obstacle loss based on the actual straight path that the radio signal travels from the transmitter to the receiver.
The total loss is the combination of the dielectric losses in the intersected obstacles and the reflection losses of the penetrated faces along this path.
inet::physicallayer::DielectricObstacleLoss::DielectricObstacleLoss | ( | ) |
|
protectedvirtual |
Referenced by computeObjectLoss().
|
protectedvirtual |
Referenced by inet::physicallayer::DielectricObstacleLoss::TotalObstacleLossComputation::visit().
|
overridevirtual |
Returns the obstacle loss factor caused by physical objects present in the environment as a function of frequency, transmission position, and reception position.
The value is in the range [0, 1] where 1 means no loss at all and 0 means all power is lost.
Implements inet::physicallayer::IObstacleLoss.
|
protectedvirtual |
Referenced by computeObjectLoss().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
|
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.
|
mutableprotected |
Total number of obstacle intersection computations.
Referenced by computeObjectLoss(), and finish().
|
mutableprotected |
Total number of actual obstacle intersections.
Referenced by computeObjectLoss(), and finish().
|
protected |
The radio medium where the radio signal propagation takes place.
Referenced by computeObjectLoss(), and initialize().
|
protected |
The physical environment that provides to obstacles.
Referenced by computeObstacleLoss(), and initialize().