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

Class consisting of packet arrival information (Time, RxPower, mode, PDP). More...

#include "uan-transducer.h"

+ Collaboration diagram for ns3::UanPacketArrival:

Public Member Functions

 UanPacketArrival ()
 Default constructor.
 
 UanPacketArrival (Ptr< Packet > packet, double rxPowerDb, UanTxMode txMode, UanPdp pdp, Time arrTime)
 Constructor.
 
 ~UanPacketArrival ()
 Destructor.
 
Time GetArrivalTime () const
 Get the packet arrival time.
 
Ptr< PacketGetPacket () const
 Get the arriving packet.
 
UanPdp GetPdp () const
 Get the propagation delay profile.
 
double GetRxPowerDb () const
 Get the received signal strength.
 
const UanTxModeGetTxMode () const
 Get the transmission mode of the packet.
 

Private Attributes

Time m_arrTime
 The arrival time.
 
Ptr< Packetm_packet
 The arrived packet.
 
UanPdp m_pdp
 The propagation delay profile.
 
double m_rxPowerDb
 The received power, in dB.
 
UanTxMode m_txMode
 The transmission mode.
 

Detailed Description

Class consisting of packet arrival information (Time, RxPower, mode, PDP).

Definition at line 31 of file uan-transducer.h.

Constructor & Destructor Documentation

◆ UanPacketArrival() [1/2]

ns3::UanPacketArrival::UanPacketArrival ( )
inline

Default constructor.

Definition at line 35 of file uan-transducer.h.

◆ UanPacketArrival() [2/2]

ns3::UanPacketArrival::UanPacketArrival ( Ptr< Packet > packet,
double rxPowerDb,
UanTxMode txMode,
UanPdp pdp,
Time arrTime )
inline

Constructor.

Parameters
packetPacket arriving.
rxPowerDbRX signal power in dB of arriving packet.
txModeTX mode of arriving packet.
pdpPower delay profile of arriving packet.
arrTimeArrival time of packet.

Definition at line 48 of file uan-transducer.h.

◆ ~UanPacketArrival()

ns3::UanPacketArrival::~UanPacketArrival ( )
inline

Destructor.

Definition at line 62 of file uan-transducer.h.

References m_packet.

Member Function Documentation

◆ GetArrivalTime()

Time ns3::UanPacketArrival::GetArrivalTime ( ) const
inline

Get the packet arrival time.

Returns
Arrival time.

Definition at line 102 of file uan-transducer.h.

References m_arrTime.

◆ GetPacket()

Ptr< Packet > ns3::UanPacketArrival::GetPacket ( ) const
inline

Get the arriving packet.

Returns
Pointer to packet.

Definition at line 72 of file uan-transducer.h.

References m_packet.

Referenced by ns3::UanTransducerHd::RemoveArrival().

+ Here is the caller graph for this function:

◆ GetPdp()

UanPdp ns3::UanPacketArrival::GetPdp ( ) const
inline

Get the propagation delay profile.

Returns
PDP of arriving signal.

Definition at line 112 of file uan-transducer.h.

References m_pdp.

◆ GetRxPowerDb()

double ns3::UanPacketArrival::GetRxPowerDb ( ) const
inline

Get the received signal strength.

Returns
Received signal strength in dB re 1uPa

Definition at line 82 of file uan-transducer.h.

References m_rxPowerDb.

◆ GetTxMode()

const UanTxMode & ns3::UanPacketArrival::GetTxMode ( ) const
inline

Get the transmission mode of the packet.

Returns
UanTxMode.

Definition at line 92 of file uan-transducer.h.

References m_txMode.

Member Data Documentation

◆ m_arrTime

Time ns3::UanPacketArrival::m_arrTime
private

The arrival time.

Definition at line 122 of file uan-transducer.h.

Referenced by GetArrivalTime().

◆ m_packet

Ptr<Packet> ns3::UanPacketArrival::m_packet
private

The arrived packet.

Definition at line 118 of file uan-transducer.h.

Referenced by ~UanPacketArrival(), and GetPacket().

◆ m_pdp

UanPdp ns3::UanPacketArrival::m_pdp
private

The propagation delay profile.

Definition at line 121 of file uan-transducer.h.

Referenced by GetPdp().

◆ m_rxPowerDb

double ns3::UanPacketArrival::m_rxPowerDb
private

The received power, in dB.

Definition at line 119 of file uan-transducer.h.

Referenced by GetRxPowerDb().

◆ m_txMode

UanTxMode ns3::UanPacketArrival::m_txMode
private

The transmission mode.

Definition at line 120 of file uan-transducer.h.

Referenced by GetTxMode().


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