A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::Tap Class Reference

Holds PDP Tap information (amplitude and delay) More...

#include "uan-prop-model.h"

+ Collaboration diagram for ns3::Tap:

Public Member Functions

 Tap ()
 Default constructor.
 
 Tap (Time delay, std::complex< double > amp)
 Constructor.
 
std::complex< doubleGetAmp () const
 Get the complex amplitude of arrival.
 
Time GetDelay () const
 Get the delay time, usually from first arrival of signal.
 

Private Attributes

std::complex< doublem_amplitude
 The amplitude.
 
Time m_delay
 The time delay.
 

Detailed Description

Holds PDP Tap information (amplitude and delay)

Definition at line 41 of file uan-prop-model.h.

Constructor & Destructor Documentation

◆ Tap() [1/2]

ns3::Tap::Tap ( )

Default constructor.

Creates Tap with delay=0, amp=0

Definition at line 80 of file uan-prop-model.cc.

◆ Tap() [2/2]

ns3::Tap::Tap ( Time  delay,
std::complex< double amp 
)

Constructor.

Parameters
delayTime delay (usually from first arrival) of signal
ampComplex amplitude of arrival

Definition at line 86 of file uan-prop-model.cc.

Member Function Documentation

◆ GetAmp()

std::complex< double > ns3::Tap::GetAmp ( ) const

Get the complex amplitude of arrival.

Returns
The amplitude.

Definition at line 93 of file uan-prop-model.cc.

References m_amplitude.

◆ GetDelay()

Time ns3::Tap::GetDelay ( ) const

Get the delay time, usually from first arrival of signal.

Returns
The time delay.

Definition at line 99 of file uan-prop-model.cc.

References m_delay.

Referenced by ns3::UanPhyCalcSinrFhFsk::CalcSinrDb().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_amplitude

std::complex<double> ns3::Tap::m_amplitude
private

The amplitude.

Definition at line 68 of file uan-prop-model.h.

Referenced by GetAmp().

◆ m_delay

Time ns3::Tap::m_delay
private

The time delay.

Definition at line 69 of file uan-prop-model.h.

Referenced by GetDelay().


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