A Discrete-Event Network Simulator
API
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. More...
 
 UanPacketArrival (Ptr< Packet > packet, double rxPowerDb, UanTxMode txMode, UanPdp pdp, Time arrTime)
 Constructor. More...
 
 ~UanPacketArrival ()
 Destructor. More...
 
Time GetArrivalTime () const
 Get the packet arrival time. More...
 
Ptr< PacketGetPacket () const
 Get the arriving packet. More...
 
UanPdp GetPdp () const
 Get the propagation delay profile. More...
 
double GetRxPowerDb () const
 Get the received signal strength. More...
 
const UanTxModeGetTxMode () const
 Get the transmission mode of the packet. More...
 

Private Attributes

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

Detailed Description

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

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

Constructor & Destructor Documentation

◆ UanPacketArrival() [1/2]

ns3::UanPacketArrival::UanPacketArrival ( )
inline

Default constructor.

Definition at line 46 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 59 of file uan-transducer.h.

◆ ~UanPacketArrival()

ns3::UanPacketArrival::~UanPacketArrival ( )
inline

Destructor.

Definition at line 73 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 113 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 83 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 123 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 93 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 103 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 133 of file uan-transducer.h.

Referenced by GetArrivalTime().

◆ m_packet

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

The arrived packet.

Definition at line 129 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 132 of file uan-transducer.h.

Referenced by GetPdp().

◆ m_rxPowerDb

double ns3::UanPacketArrival::m_rxPowerDb
private

The received power, in dB.

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

Referenced by GetRxPowerDb().

◆ m_txMode

UanTxMode ns3::UanPacketArrival::m_txMode
private

The transmission mode.

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

Referenced by GetTxMode().


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