ns-3
ns3::AnimRxInfo Class Reference

AnimRxInfo helper class. More...

#include <animation-interface-helper.h>

Collaboration diagram for ns3::AnimRxInfo:

List of all members.

Public Member Functions

 AnimRxInfo ()
 Default constructor.
 AnimRxInfo (const Time &fbRx, Ptr< const NetDevice > nd, double rxRange)
 Constructor.
bool IsPhyRxComplete ()
 Check if Wifi Phy Rx is Complete.
void SetPhyRxComplete ()
 Set Wifi Phy Rx Complete.

Public Attributes

double m_fbRx
 First bit receive time.
double m_lbRx
 Last bit receive time.
Ptr< const NetDevicem_rxnd
 Ptr to receiving NetDevice.
double rxRange
 Reception range.

Detailed Description

AnimRxInfo helper class.

This helper class keeps of wireless packets received including info about the first bit received time, last bit received time and NetDevice received on It is intended only for use by the AnimationInterface class.


Constructor & Destructor Documentation

ns3::AnimRxInfo::AnimRxInfo ( const Time fbRx,
Ptr< const NetDevice nd,
double  rxRange 
) [inline]

Constructor.

Parameters:
fbRxFirst-bit Receive time
ndNetDevice where packet was received
rxRangeReception range

Member Function Documentation

Check if Wifi Phy Rx is Complete.

Returns:
true if Wifi Phy Rx is complete

Member Data Documentation

First bit receive time.

Parameters:
m_fbRxFirst bit receive time

Referenced by ns3::AnimPacketInfo::ProcessRxEnd().

Last bit receive time.

Parameters:
m_lbRxLast bit receive time

Referenced by ns3::AnimPacketInfo::ProcessRxEnd().

Ptr to receiving NetDevice.

Parameters:
m_rxndPtr to receiving NetDevice

Referenced by ns3::AnimPacketInfo::ProcessRxEnd().

Reception range.

Parameters:
rxRangeReception range

Referenced by ns3::AnimPacketInfo::ProcessRxEnd().


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