A Discrete-Event Network Simulator
API
ns3::InterferenceHelper::Event Class Reference

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 PacketGetPacket (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...
 
SimpleRefCountoperator= (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 Packetm_packet
 packet More...
 
double m_rxPowerW
 receive power in watts More...
 
Time m_startTime
 start time More...
 
WifiTxVector m_txVector
 TXVECTOR. More...
 

Detailed Description

Signal event for a packet.

Definition at line 41 of file interference-helper.h.

Constructor & Destructor Documentation

ns3::InterferenceHelper::Event::Event ( Ptr< const Packet packet,
WifiTxVector  txVector,
Time  duration,
double  rxPower 
)

Create an Event with the given parameters.

Parameters
packetthe packet
txVectorTXVECTOR of the packet
durationduration of the signal
rxPowerthe 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.

Member Function Documentation

Time ns3::InterferenceHelper::Event::GetDuration ( void  ) const

Return the duration of the signal.

Returns
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.

Returns
the end time of the signal

Definition at line 68 of file interference-helper.cc.

Ptr< const Packet > ns3::InterferenceHelper::Event::GetPacket ( void  ) const

Return the packet.

Returns
the packet

Definition at line 50 of file interference-helper.cc.

WifiMode ns3::InterferenceHelper::Event::GetPayloadMode ( void  ) const

Return the Wi-Fi mode used for the payload.

Returns
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).

Returns
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.

Returns
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.

Returns
the TXVECTOR of the packet

Definition at line 80 of file interference-helper.cc.

Member Data Documentation

Time ns3::InterferenceHelper::Event::m_endTime
private

end time

Definition at line 102 of file interference-helper.h.

Ptr<const Packet> ns3::InterferenceHelper::Event::m_packet
private

packet

Definition at line 99 of file interference-helper.h.

double ns3::InterferenceHelper::Event::m_rxPowerW
private

receive power in watts

Definition at line 103 of file interference-helper.h.

Time ns3::InterferenceHelper::Event::m_startTime
private

start time

Definition at line 101 of file interference-helper.h.

WifiTxVector ns3::InterferenceHelper::Event::m_txVector
private

TXVECTOR.

Definition at line 100 of file interference-helper.h.


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