AnimRxInfo helper class. More...
#include <animation-interface-helper.h>
Public Member Functions | |
AnimRxInfo () | |
Default constructor. More... | |
AnimRxInfo (const Time &fbRx, Ptr< const NetDevice > nd, double rxRange) | |
Constructor. More... | |
bool | IsPhyRxComplete () |
Check if Wifi Phy Rx is Complete. More... | |
void | SetPhyRxComplete () |
Set Wifi Phy Rx Complete. More... | |
Public Attributes | |
double | m_fbRx |
First bit receive time. More... | |
double | m_lbRx |
Last bit receive time. More... | |
Ptr< const NetDevice > | m_rxnd |
Ptr to receiving NetDevice. More... | |
double | rxRange |
Reception range. More... | |
Private Attributes | |
bool | m_PhyRxComplete |
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.
Definition at line 47 of file animation-interface-helper.h.
|
inline |
Default constructor.
Definition at line 55 of file animation-interface-helper.h.
Constructor.
fbRx | First-bit Receive time |
nd | NetDevice where packet was received |
rxRange | Reception range |
Definition at line 64 of file animation-interface-helper.h.
bool ns3::AnimRxInfo::IsPhyRxComplete | ( | ) |
Check if Wifi Phy Rx is Complete.
Definition at line 87 of file animation-interface-helper.cc.
References m_PhyRxComplete.
Referenced by ns3::AnimationInterface::CsmaMacRxTrace(), ns3::AnimationInterface::CsmaPhyRxEndTrace(), ns3::AnimationInterface::WifiMacRxTrace(), and ns3::AnimationInterface::WifiPhyRxEndTrace().
void ns3::AnimRxInfo::SetPhyRxComplete | ( | ) |
Set Wifi Phy Rx Complete.
Definition at line 92 of file animation-interface-helper.cc.
References m_PhyRxComplete.
Referenced by ns3::AnimPacketInfo::ProcessRxEnd().
double ns3::AnimRxInfo::m_fbRx |
First bit receive time.
m_fbRx | First bit receive time |
Definition at line 72 of file animation-interface-helper.h.
Referenced by ns3::AnimationInterface::OutputCsmaPacket(), ns3::AnimationInterface::OutputWirelessPacket(), and ns3::AnimPacketInfo::ProcessRxEnd().
double ns3::AnimRxInfo::m_lbRx |
Last bit receive time.
m_lbRx | Last bit receive time |
Definition at line 79 of file animation-interface-helper.h.
Referenced by ns3::AnimationInterface::OutputCsmaPacket(), ns3::AnimationInterface::OutputWirelessPacket(), and ns3::AnimPacketInfo::ProcessRxEnd().
|
private |
Definition at line 109 of file animation-interface-helper.h.
Referenced by IsPhyRxComplete(), and SetPhyRxComplete().
Definition at line 86 of file animation-interface-helper.h.
Referenced by ns3::AnimationInterface::OutputCsmaPacket(), ns3::AnimationInterface::OutputWirelessPacket(), and ns3::AnimPacketInfo::ProcessRxEnd().
double ns3::AnimRxInfo::rxRange |
Reception range.
rxRange | Reception range |
Definition at line 93 of file animation-interface-helper.h.
Referenced by ns3::AnimPacketInfo::ProcessRxEnd().