A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

ns3::Tap::Tap ( )

Default constructor.

Creates Tap with delay=0, amp=0

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

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

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.

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.

Member Data Documentation

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

The amplitude.

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

Referenced by GetAmp().

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: