EMANE  1.2.1
EMANE::Events::Pathloss Class Reference

A pathloss entry holds the source NEM Id and the forward and reverse pathloss to apply to received transmissions. More...

#include <pathloss.h>

Public Member Functions

 Pathloss (NEMId id, float fForwardPathlossdB, float fReversePathlossdB)
 
NEMId getNEMId () const
 
float getForwardPathlossdB () const
 
float getReversePathlossdB () const
 

Detailed Description

A pathloss entry holds the source NEM Id and the forward and reverse pathloss to apply to received transmissions.

See also
PathlossEvent
Note
Instances are immutable

Definition at line 54 of file pathloss.h.

Constructor & Destructor Documentation

◆ Pathloss()

EMANE::Events::Pathloss::Pathloss ( NEMId  id,
float  fForwardPathlossdB,
float  fReversePathlossdB 
)
inline

Creates a Pathloss instance

Parameters
idNEM id of the transmitter
fForwardPathlossdBThe pathloss from transmitter to receiver in dB
fReversePathlossdBThe pathloss from the receiver to the transmitter in dB

Definition at line 34 of file pathloss.inl.

Member Function Documentation

◆ getForwardPathlossdB()

float EMANE::Events::Pathloss::getForwardPathlossdB ( ) const
inline

Gets the pathloss from the transmitter to receiver in dB

Returns
pathloss

Definition at line 48 of file pathloss.inl.

◆ getNEMId()

EMANE::NEMId EMANE::Events::Pathloss::getNEMId ( ) const
inline

Gets the NEM Id of of the transmitter

Returns
id

Definition at line 42 of file pathloss.inl.

◆ getReversePathlossdB()

float EMANE::Events::Pathloss::getReversePathlossdB ( ) const
inline

Gets the pathloss from the receiver to the transmitter in dB

Returns
pathloss

Definition at line 54 of file pathloss.inl.


The documentation for this class was generated from the following files: