A Discrete-Event Network Simulator
API
ComputeSnrParams Struct Reference

A structure that holds the parameters for the ComputeSnr function. More...

+ Collaboration diagram for ComputeSnrParams:

Public Member Functions

 ComputeSnrParams (Ptr< MobilityModel > pTxMob, Ptr< MobilityModel > pRxMob, double pTxPow, double pNoiseFigure, Ptr< PhasedArrayModel > pTxAntenna, Ptr< PhasedArrayModel > pRxAntenna)
 Constructor. More...
 

Public Attributes

double noiseFigure
 the noise figure in dB More...
 
Ptr< PhasedArrayModelrxAntenna
 the rx antenna array More...
 
Ptr< MobilityModelrxMob
 the rx mobility model More...
 
Ptr< PhasedArrayModeltxAntenna
 the tx antenna array More...
 
Ptr< MobilityModeltxMob
 the tx mobility model More...
 
double txPow
 the tx power in dBm More...
 

Detailed Description

A structure that holds the parameters for the ComputeSnr function.

In this way the problem with the limited number of parameters of method Schedule is avoided.

Definition at line 58 of file three-gpp-channel-example.cc.

Constructor & Destructor Documentation

◆ ComputeSnrParams()

ComputeSnrParams::ComputeSnrParams ( Ptr< MobilityModel pTxMob,
Ptr< MobilityModel pRxMob,
double  pTxPow,
double  pNoiseFigure,
Ptr< PhasedArrayModel pTxAntenna,
Ptr< PhasedArrayModel pRxAntenna 
)
inline

Constructor.

Parameters
pTxMobthe tx mobility model
pRxMobthe rx mobility model
pTxPowthe tx power in dBm
pNoiseFigurethe noise figure in dB
pTxAntennathe tx antenna array
pRxAntennathe rx antenna array

Definition at line 76 of file three-gpp-channel-example.cc.

Member Data Documentation

◆ noiseFigure

double ComputeSnrParams::noiseFigure

the noise figure in dB

Definition at line 63 of file three-gpp-channel-example.cc.

Referenced by ComputeSnr().

◆ rxAntenna

Ptr<PhasedArrayModel> ComputeSnrParams::rxAntenna

the rx antenna array

Definition at line 65 of file three-gpp-channel-example.cc.

Referenced by ComputeSnr().

◆ rxMob

Ptr<MobilityModel> ComputeSnrParams::rxMob

the rx mobility model

Definition at line 61 of file three-gpp-channel-example.cc.

Referenced by ComputeSnr().

◆ txAntenna

Ptr<PhasedArrayModel> ComputeSnrParams::txAntenna

the tx antenna array

Definition at line 64 of file three-gpp-channel-example.cc.

Referenced by ComputeSnr().

◆ txMob

Ptr<MobilityModel> ComputeSnrParams::txMob

the tx mobility model

Definition at line 60 of file three-gpp-channel-example.cc.

Referenced by ComputeSnr().

◆ txPow

double ComputeSnrParams::txPow

the tx power in dBm

Definition at line 62 of file three-gpp-channel-example.cc.

Referenced by ComputeSnr().


The documentation for this struct was generated from the following file: