handles interference calculations More...
#include "interference-helper.h"
Inheritance diagram for ns3::Event:
Collaboration diagram for ns3::Event:Public Member Functions | |
| Event (Ptr< const WifiPpdu > ppdu, WifiTxVector txVector, Time duration, RxPowerWattPerChannelBand rxPower) | |
| Create an Event with the given parameters. More... | |
| ~Event () | |
| Time | GetDuration (void) const |
| Return the duration of the signal. More... | |
| Time | GetEndTime (void) const |
| Return the end time of the signal. More... | |
| Ptr< const WifiPpdu > | GetPpdu (void) const |
| Return the PPDU. More... | |
| double | GetRxPowerW (void) const |
| Return the total received power (W). More... | |
| double | GetRxPowerW (WifiSpectrumBand band) const |
| Return the received power (W) for a given band. More... | |
| RxPowerWattPerChannelBand | GetRxPowerWPerBand (void) const |
| Return the received power (W) for all bands. More... | |
| Time | GetStartTime (void) const |
| Return the start time of the signal. More... | |
| WifiTxVector | GetTxVector (void) const |
| Return the TXVECTOR of the PPDU. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< Event > | |
| SimpleRefCount () | |
| Default constructor. More... | |
| SimpleRefCount (const SimpleRefCount &o) | |
| Copy constructor. More... | |
| uint32_t | GetReferenceCount (void) const |
| Get the reference count of the object. More... | |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| Assignment operator. More... | |
| void | Ref (void) const |
| Increment the reference count. More... | |
| void | Unref (void) const |
| Decrement the reference count. More... | |
Private Attributes | |
| Time | m_endTime |
| end time More... | |
| Ptr< const WifiPpdu > | m_ppdu |
| PPDU. More... | |
| RxPowerWattPerChannelBand | m_rxPowerW |
| received power in watts per band More... | |
| Time | m_startTime |
| start time More... | |
| WifiTxVector | m_txVector |
| TXVECTOR. More... | |
handles interference calculations
signal event for a PPDU.
Definition at line 45 of file interference-helper.h.
| ns3::Event::Event | ( | Ptr< const WifiPpdu > | ppdu, |
| WifiTxVector | txVector, | ||
| Time | duration, | ||
| RxPowerWattPerChannelBand | rxPower | ||
| ) |
Create an Event with the given parameters.
| ppdu | the PPDU |
| txVector | the TXVECTOR |
| duration | duration of the PPDU |
| rxPower | the received power per band (W) |
Definition at line 42 of file interference-helper.cc.
| ns3::Event::~Event | ( | ) |
Definition at line 51 of file interference-helper.cc.
| Time ns3::Event::GetDuration | ( | void | ) | const |
Return the duration of the signal.
Definition at line 74 of file interference-helper.cc.
References m_endTime, and m_startTime.
| Time ns3::Event::GetEndTime | ( | void | ) | const |
Return the end time of the signal.
Definition at line 68 of file interference-helper.cc.
References m_endTime.
Return the PPDU.
Definition at line 56 of file interference-helper.cc.
References m_ppdu.
| double ns3::Event::GetRxPowerW | ( | void | ) | const |
Return the total received power (W).
Definition at line 80 of file interference-helper.cc.
References m_rxPowerW, and NS_ASSERT.
| double ns3::Event::GetRxPowerW | ( | WifiSpectrumBand | band | ) | const |
Return the received power (W) for a given band.
| band | the band for which the power should be returned |
Definition at line 92 of file interference-helper.cc.
References m_rxPowerW, and NS_ASSERT.
| RxPowerWattPerChannelBand ns3::Event::GetRxPowerWPerBand | ( | void | ) | const |
Return the received power (W) for all bands.
Definition at line 100 of file interference-helper.cc.
References m_rxPowerW.
| Time ns3::Event::GetStartTime | ( | void | ) | const |
Return the start time of the signal.
Definition at line 62 of file interference-helper.cc.
References m_startTime.
| WifiTxVector ns3::Event::GetTxVector | ( | void | ) | const |
Return the TXVECTOR of the PPDU.
Definition at line 106 of file interference-helper.cc.
References m_txVector.
|
private |
end time
Definition at line 114 of file interference-helper.h.
Referenced by GetDuration(), and GetEndTime().
|
private |
received power in watts per band
Definition at line 115 of file interference-helper.h.
Referenced by GetRxPowerW(), and GetRxPowerWPerBand().
|
private |
start time
Definition at line 113 of file interference-helper.h.
Referenced by GetDuration(), and GetStartTime().
|
private |