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 (void) const
 Get the packet arrival time. More...
 
Ptr< PacketGetPacket (void) const
 Get the arriving packet. More...
 
UanPdp GetPdp (void) const
 Get the propagation delay profile. More...
 
double GetRxPowerDb (void) const
 Get the received signal strength. More...
 
const UanTxModeGetTxMode (void) 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 47 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 60 of file uan-transducer.h.

◆ ~UanPacketArrival()

ns3::UanPacketArrival::~UanPacketArrival ( )
inline

Destructor.

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

References m_packet.

Member Function Documentation

◆ GetArrivalTime()

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

Get the packet arrival time.

Returns
Arrival time.

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

References m_arrTime.

◆ GetPacket()

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

Get the arriving packet.

Returns
Pointer to packet.

Definition at line 80 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 ( void  ) const
inline

Get the propagation delay profile.

Returns
PDP of arriving signal.

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

References m_pdp.

◆ GetRxPowerDb()

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

Get the received signal strength.

Returns
Received signal strength in dB re 1uPa

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

References m_rxPowerDb.

◆ GetTxMode()

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

Get the transmission mode of the packet.

Returns
UanTxMode.

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

Referenced by GetArrivalTime().

◆ m_packet

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

The arrived packet.

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

Referenced by GetPdp().

◆ m_rxPowerDb

double ns3::UanPacketArrival::m_rxPowerDb
private

The received power, in dB.

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

Referenced by GetRxPowerDb().

◆ m_txMode

UanTxMode ns3::UanPacketArrival::m_txMode
private

The transmission mode.

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

Referenced by GetTxMode().


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