handles interference calculations More...
#include "interference-helper.h"
Public Member Functions | |
Event (Ptr< const Packet > packet, WifiTxVector txVector, Time duration, double rxPower) | |
Create an Event with the given parameters. More... | |
~Event () | |
Time | GetEndTime (void) const |
Return the end time of the signal. More... | |
Ptr< const Packet > | GetPacket (void) const |
Return the packet. More... | |
WifiMode | GetPayloadMode (void) const |
Return the Wi-Fi mode used for the payload. More... | |
double | GetRxPowerW (void) const |
Return the receive power (w). More... | |
Time | GetStartTime (void) const |
Return the start time of the signal. More... | |
WifiTxVector | GetTxVector (void) const |
Return the TXVECTOR of the packet. 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 Packet > | m_packet |
packet More... | |
double | m_rxPowerW |
receive power in watts More... | |
Time | m_startTime |
start time More... | |
WifiTxVector | m_txVector |
TXVECTOR. More... | |
handles interference calculations
signal event for a packet.
Definition at line 38 of file interference-helper.h.
ns3::Event::Event | ( | Ptr< const Packet > | packet, |
WifiTxVector | txVector, | ||
Time | duration, | ||
double | rxPower | ||
) |
Create an Event with the given parameters.
packet | the packet |
txVector | TXVECTOR of the packet |
duration | duration of the signal |
rxPower | the receive power (w) |
Definition at line 37 of file interference-helper.cc.
ns3::Event::~Event | ( | ) |
Definition at line 46 of file interference-helper.cc.
Time ns3::Event::GetEndTime | ( | void | ) | const |
Return the end time of the signal.
Definition at line 63 of file interference-helper.cc.
References m_endTime.
Return the packet.
Definition at line 51 of file interference-helper.cc.
References m_packet.
WifiMode ns3::Event::GetPayloadMode | ( | void | ) | const |
Return the Wi-Fi mode used for the payload.
Definition at line 81 of file interference-helper.cc.
References ns3::WifiTxVector::GetMode(), and m_txVector.
double ns3::Event::GetRxPowerW | ( | void | ) | const |
Return the receive power (w).
Definition at line 69 of file interference-helper.cc.
References m_rxPowerW.
Time ns3::Event::GetStartTime | ( | void | ) | const |
Return the start time of the signal.
Definition at line 57 of file interference-helper.cc.
References m_startTime.
WifiTxVector ns3::Event::GetTxVector | ( | void | ) | const |
Return the TXVECTOR of the packet.
Definition at line 75 of file interference-helper.cc.
References m_txVector.
|
private |
|
private |
receive power in watts
Definition at line 94 of file interference-helper.h.
Referenced by GetRxPowerW().
|
private |
|
private |
TXVECTOR.
Definition at line 91 of file interference-helper.h.
Referenced by GetPayloadMode(), and GetTxVector().