ns3::SatSignalParameters Class Reference

Actual physical layer transmission container. More...

#include "satellite-signal-parameters.h"

+ Inheritance diagram for ns3::SatSignalParameters:
+ Collaboration diagram for ns3::SatSignalParameters:

Classes

struct  txInfo_s
 Struct for storing the packet specific Tx information. More...
 

Public Types

typedef std::vector< Ptr< Packet > > PacketsInBurst_t
 Buffer for transmissions. More...
 

Public Member Functions

 SatSignalParameters ()
 default constructor More...
 
 SatSignalParameters (const SatSignalParameters &p)
 copy constructor More...
 
 ~SatSignalParameters ()
 
Ptr< SatSignalParametersCopy ()
 
double GetAdditionalInterference ()
 
double GetInterferencePower ()
 Get interference power (I) More...
 
double GetInterferencePowerInSatellite ()
 Get interference power in satellite (I) More...
 
std::vector< std::pair< double, double > > GetInterferencePowerInSatellitePerFragment ()
 Get interference power in satellite per packet fragment. More...
 
std::vector< std::pair< double, double > > GetInterferencePowerPerFragment ()
 Get interference power per packet fragment. More...
 
double GetRxAciIfPowerInSatellite ()
 
double GetRxExtNoisePowerInSatellite ()
 
double GetRxNoisePowerInSatellite ()
 
double GetRxPowerInSatellite ()
 
double GetSinr ()
 
bool HasSinrComputed ()
 
void SetInterferencePower (std::vector< std::pair< double, double >> ifPowerPerFragment)
 Set interference power based on packet fragment. More...
 
void SetInterferencePowerInSatellite (std::vector< std::pair< double, double >> ifPowerPerFragment)
 Set interference power in satellite based on packet fragment. More...
 
void SetRxPowersInSatellite (double rxPowerW, double rxNoisePowerW, double rxAciIfPowerW, double rxExtNoisePowerW)
 Set various power after receiving the packet in the satellite. More...
 
void SetSinr (double sinr, double additionalInterference)
 Set computed SINR. More...
 

Static Public Member Functions

static TypeId GetTypeId (void)
 Get the type ID. More...
 

Public Attributes

uint32_t m_beamId
 The beam for the packet transmission. More...
 
double m_carrierFreq_hz
 The carrier center frequency for the packet transmission. More...
 
uint32_t m_carrierId
 The carrier for the packet transmission. More...
 
SatEnums::ChannelType_t m_channelType
 The SatChannel instance received the packet. More...
 
Time m_duration
 The duration of the packet transmission. More...
 
PacketsInBurst_t m_packetsInBurst
 The packets being transmitted with this signal i.e. More...
 
Ptr< SatPhyTxm_phyTx
 The SatPhyTx instance that is making the transmission. More...
 
double m_rxPower_W
 The RX power in Watts. More...
 
uint32_t m_satId
 The sat for the packet transmission. More...
 
txInfo_s m_txInfo
 Transmission information including packet type, modcod and waveform ID. More...
 
double m_txPower_W
 The TX power in Watts. More...
 

Private Attributes

Ptr< SatInterferenceParametersm_ifParams
 

Detailed Description

Actual physical layer transmission container.

SatSignalParameters is passed through the SatChannel from the transmitter to the receiver. It includes e.g. the packet container (BBFrame in FWD link, FPDU in RTN link) as well as all the transmission related information (MODCODs, frequency, tx power, etc.).

Definition at line 119 of file satellite-signal-parameters.h.

Member Typedef Documentation

◆ PacketsInBurst_t

typedef std::vector<Ptr<Packet> > ns3::SatSignalParameters::PacketsInBurst_t

Buffer for transmissions.

Buffer just holds data as pointer to packets. Real length of buffer is simulated by duration of the PDU transmission.

Definition at line 140 of file satellite-signal-parameters.h.

Constructor & Destructor Documentation

◆ SatSignalParameters() [1/2]

ns3::SatSignalParameters::SatSignalParameters ( )

default constructor

Definition at line 35 of file satellite-signal-parameters.cc.

References m_ifParams.

Referenced by Copy().

+ Here is the caller graph for this function:

◆ ~SatSignalParameters()

ns3::SatSignalParameters::~SatSignalParameters ( )

Definition at line 78 of file satellite-signal-parameters.cc.

References m_ifParams.

◆ SatSignalParameters() [2/2]

Member Function Documentation

◆ Copy()

Ptr< SatSignalParameters > ns3::SatSignalParameters::Copy ( )

Definition at line 85 of file satellite-signal-parameters.cc.

References SatSignalParameters().

+ Here is the call graph for this function:

◆ GetAdditionalInterference()

double ns3::SatSignalParameters::GetAdditionalInterference ( )
inline

Definition at line 312 of file satellite-signal-parameters.h.

References m_ifParams.

◆ GetInterferencePower()

double ns3::SatSignalParameters::GetInterferencePower ( )
inline

Get interference power (I)

Definition at line 234 of file satellite-signal-parameters.h.

References m_ifParams.

◆ GetInterferencePowerInSatellite()

double ns3::SatSignalParameters::GetInterferencePowerInSatellite ( )
inline

Get interference power in satellite (I)

Definition at line 261 of file satellite-signal-parameters.h.

References m_ifParams.

◆ GetInterferencePowerInSatellitePerFragment()

std::vector<std::pair<double, double> > ns3::SatSignalParameters::GetInterferencePowerInSatellitePerFragment ( )
inline

Get interference power in satellite per packet fragment.

Definition at line 269 of file satellite-signal-parameters.h.

References m_ifParams.

◆ GetInterferencePowerPerFragment()

std::vector<std::pair<double, double> > ns3::SatSignalParameters::GetInterferencePowerPerFragment ( )
inline

Get interference power per packet fragment.

Definition at line 242 of file satellite-signal-parameters.h.

References m_ifParams.

◆ GetRxAciIfPowerInSatellite()

double ns3::SatSignalParameters::GetRxAciIfPowerInSatellite ( )
inline

Definition at line 292 of file satellite-signal-parameters.h.

References m_ifParams.

◆ GetRxExtNoisePowerInSatellite()

double ns3::SatSignalParameters::GetRxExtNoisePowerInSatellite ( )
inline

Definition at line 297 of file satellite-signal-parameters.h.

References m_ifParams.

◆ GetRxNoisePowerInSatellite()

double ns3::SatSignalParameters::GetRxNoisePowerInSatellite ( )
inline

Definition at line 287 of file satellite-signal-parameters.h.

References m_ifParams.

◆ GetRxPowerInSatellite()

double ns3::SatSignalParameters::GetRxPowerInSatellite ( )
inline

Definition at line 282 of file satellite-signal-parameters.h.

References m_ifParams.

◆ GetSinr()

double ns3::SatSignalParameters::GetSinr ( )
inline

Definition at line 307 of file satellite-signal-parameters.h.

References m_ifParams.

◆ GetTypeId()

TypeId ns3::SatSignalParameters::GetTypeId ( void  )
static

Get the type ID.

Returns
the object TypeId

Definition at line 94 of file satellite-signal-parameters.cc.

◆ HasSinrComputed()

bool ns3::SatSignalParameters::HasSinrComputed ( )
inline

Definition at line 317 of file satellite-signal-parameters.h.

References m_ifParams.

◆ SetInterferencePower()

void ns3::SatSignalParameters::SetInterferencePower ( std::vector< std::pair< double, double >>  ifPowerPerFragment)
inline

Set interference power based on packet fragment.

Parameters
ifPowerPerFragment

Definition at line 225 of file satellite-signal-parameters.h.

References m_ifParams, and ns3::SatUtils::ScalarProduct().

+ Here is the call graph for this function:

◆ SetInterferencePowerInSatellite()

void ns3::SatSignalParameters::SetInterferencePowerInSatellite ( std::vector< std::pair< double, double >>  ifPowerPerFragment)
inline

Set interference power in satellite based on packet fragment.

Parameters
ifPowerPerFragment

Definition at line 251 of file satellite-signal-parameters.h.

References m_ifParams, and ns3::SatUtils::ScalarProduct().

+ Here is the call graph for this function:

◆ SetRxPowersInSatellite()

void ns3::SatSignalParameters::SetRxPowersInSatellite ( double  rxPowerW,
double  rxNoisePowerW,
double  rxAciIfPowerW,
double  rxExtNoisePowerW 
)

Set various power after receiving the packet in the satellite.

Definition at line 101 of file satellite-signal-parameters.cc.

References m_ifParams.

◆ SetSinr()

void ns3::SatSignalParameters::SetSinr ( double  sinr,
double  additionalInterference 
)

Set computed SINR.

Definition at line 113 of file satellite-signal-parameters.cc.

References m_ifParams.

Member Data Documentation

◆ m_beamId

uint32_t ns3::SatSignalParameters::m_beamId

The beam for the packet transmission.

Definition at line 176 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().

◆ m_carrierFreq_hz

double ns3::SatSignalParameters::m_carrierFreq_hz

The carrier center frequency for the packet transmission.

Definition at line 186 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().

◆ m_carrierId

uint32_t ns3::SatSignalParameters::m_carrierId

The carrier for the packet transmission.

Definition at line 181 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().

◆ m_channelType

SatEnums::ChannelType_t ns3::SatSignalParameters::m_channelType

The SatChannel instance received the packet.

Definition at line 214 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().

◆ m_duration

Time ns3::SatSignalParameters::m_duration

The duration of the packet transmission.

Definition at line 192 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().

◆ m_ifParams

◆ m_packetsInBurst

PacketsInBurst_t ns3::SatSignalParameters::m_packetsInBurst

The packets being transmitted with this signal i.e.

this is transmit buffer including packet pointers.

Definition at line 166 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().

◆ m_phyTx

Ptr<SatPhyTx> ns3::SatSignalParameters::m_phyTx

The SatPhyTx instance that is making the transmission.

Definition at line 209 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().

◆ m_rxPower_W

double ns3::SatSignalParameters::m_rxPower_W

The RX power in Watts.

Definition at line 204 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().

◆ m_satId

uint32_t ns3::SatSignalParameters::m_satId

The sat for the packet transmission.

Definition at line 171 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().

◆ m_txInfo

txInfo_s ns3::SatSignalParameters::m_txInfo

Transmission information including packet type, modcod and waveform ID.

Definition at line 219 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().

◆ m_txPower_W

double ns3::SatSignalParameters::m_txPower_W

The TX power in Watts.

Equivalent Isotropically Radiated Power (EIRP).

Definition at line 198 of file satellite-signal-parameters.h.

Referenced by SatSignalParameters().


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