A Discrete-Event Network Simulator
API
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. More...
 
 Tap (Time delay, std::complex< double > amp)
 Constructor. More...
 
std::complex< double > GetAmp (void) const
 Get the complex amplitude of arrival. More...
 
Time GetDelay (void) const
 Get the delay time, usually from first arrival of signal. More...
 

Private Attributes

std::complex< double > m_amplitude
 The amplitude. More...
 
Time m_delay
 The time delay. More...
 

Detailed Description

Holds PDP Tap information (amplitude and delay)

Definition at line 42 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 81 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 88 of file uan-prop-model.cc.

Member Function Documentation

◆ GetAmp()

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

Get the complex amplitude of arrival.

Returns
The amplitude.

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

References m_amplitude.

◆ GetDelay()

Time ns3::Tap::GetDelay ( void  ) const

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

Returns
The time delay.

Definition at line 102 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 69 of file uan-prop-model.h.

Referenced by GetAmp().

◆ m_delay

Time ns3::Tap::m_delay
private

The time delay.

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

Referenced by GetDelay().


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