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...
 
 ComputeSnrParams (Ptr< MobilityModel > pTxMob, Ptr< MobilityModel > pRxMob, Ptr< SpectrumValue > pTxPsd, 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...
 
Ptr< SpectrumValuetxPsd
 the PSD of the tx signal 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 62 of file three-gpp-v2v-channel-example.cc.

Constructor & Destructor Documentation

◆ ComputeSnrParams() [1/2]

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

Constructor.

Parameters
pTxMobthe tx mobility model
pRxMobthe rx mobility model
pTxPsdthe PSD of the tx signal
pNoiseFigurethe noise figure in dB
pTxAntennathe tx antenna array
pRxAntennathe rx antenna array

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

References noiseFigure, rxAntenna, rxMob, txAntenna, txMob, and txPsd.

◆ ComputeSnrParams() [2/2]

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.

References noiseFigure, rxAntenna, rxMob, txAntenna, txMob, and txPow.

Member Data Documentation

◆ noiseFigure

double ComputeSnrParams::noiseFigure

the noise figure in dB

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

Referenced by ComputeSnrParams(), and ComputeSnr().

◆ rxAntenna

Ptr< PhasedArrayModel > ComputeSnrParams::rxAntenna

the rx antenna array

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

Referenced by ComputeSnrParams(), and ComputeSnr().

◆ rxMob

Ptr< MobilityModel > ComputeSnrParams::rxMob

the rx mobility model

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

Referenced by ComputeSnrParams(), and ComputeSnr().

◆ txAntenna

Ptr< PhasedArrayModel > ComputeSnrParams::txAntenna

the tx antenna array

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

Referenced by ComputeSnrParams(), and ComputeSnr().

◆ txMob

Ptr< MobilityModel > ComputeSnrParams::txMob

the tx mobility model

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

Referenced by ComputeSnrParams(), and ComputeSnr().

◆ txPow

double ComputeSnrParams::txPow

the tx power in dBm

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

Referenced by ComputeSnrParams(), and ComputeSnr().

◆ txPsd

Ptr<SpectrumValue> ComputeSnrParams::txPsd

the PSD of the tx signal

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

Referenced by ComputeSnrParams(), and ComputeSnr().


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