Signal event for a packet. More...
#include "interference-helper.h"
Inheritance diagram for ns3::InterferenceHelper::Event:
Collaboration diagram for ns3::InterferenceHelper::Event:Public Member Functions | |
| Event (Ptr< const Packet > packet, WifiTxVector txVector, Time duration, double 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 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< InterferenceHelper::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... | |
Signal event for a packet.
Definition at line 41 of file interference-helper.h.
| ns3::InterferenceHelper::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 36 of file interference-helper.cc.
| ns3::InterferenceHelper::Event::~Event | ( | ) |
Definition at line 45 of file interference-helper.cc.
| Time ns3::InterferenceHelper::Event::GetDuration | ( | void | ) | const |
Return the duration of the signal.
Definition at line 56 of file interference-helper.cc.
| Time ns3::InterferenceHelper::Event::GetEndTime | ( | void | ) | const |
Return the end time of the signal.
Definition at line 68 of file interference-helper.cc.
| WifiMode ns3::InterferenceHelper::Event::GetPayloadMode | ( | void | ) | const |
Return the Wi-Fi mode used for the payload.
Definition at line 86 of file interference-helper.cc.
| double ns3::InterferenceHelper::Event::GetRxPowerW | ( | void | ) | const |
Return the receive power (w).
Definition at line 74 of file interference-helper.cc.
| Time ns3::InterferenceHelper::Event::GetStartTime | ( | void | ) | const |
Return the start time of the signal.
Definition at line 62 of file interference-helper.cc.
| WifiTxVector ns3::InterferenceHelper::Event::GetTxVector | ( | void | ) | const |
Return the TXVECTOR of the packet.
Definition at line 80 of file interference-helper.cc.
|
private |
end time
Definition at line 102 of file interference-helper.h.
packet
Definition at line 99 of file interference-helper.h.
|
private |
receive power in watts
Definition at line 103 of file interference-helper.h.
|
private |
start time
Definition at line 101 of file interference-helper.h.
|
private |
TXVECTOR.
Definition at line 100 of file interference-helper.h.