A Discrete-Event Network Simulator
API
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
InterferenceExperiment Class Reference

InterferenceExperiment. More...

Classes

struct  Input
 Input atructure. More...
 

Public Member Functions

 InterferenceExperiment ()
 
void Run (struct InterferenceExperiment::Input input)
 Run function. More...
 

Private Member Functions

void PacketDropped (Ptr< const Packet > packet)
 Function triggered when a packet is dropped. More...
 
void SendA (void) const
 Send A function. More...
 
void SendB (void) const
 Send B function. More...
 

Private Attributes

bool m_droppedA
 flag to indicate whether packet A has been dropped More...
 
bool m_droppedB
 flag to indicate whether packet B has been dropped More...
 
struct Input m_input
 input More...
 
Ptr< YansWifiPhym_txA
 transmit A function More...
 
Ptr< YansWifiPhym_txB
 transmit B function More...
 

Detailed Description

InterferenceExperiment.

Definition at line 75 of file test-interference-helper.cc.

Constructor & Destructor Documentation

◆ InterferenceExperiment()

InterferenceExperiment::InterferenceExperiment ( )

Definition at line 161 of file test-interference-helper.cc.

Member Function Documentation

◆ PacketDropped()

void InterferenceExperiment::PacketDropped ( Ptr< const Packet packet)
private

Function triggered when a packet is dropped.

Parameters
packetthe packet that was dropped

Definition at line 144 of file test-interference-helper.cc.

References ns3::Packet::GetUid(), and NS_LOG_ERROR.

Referenced by Run().

◆ Run()

void InterferenceExperiment::Run ( struct InterferenceExperiment::Input  input)

◆ SendA()

void InterferenceExperiment::SendA ( void  ) const
private

Send A function.

Definition at line 122 of file test-interference-helper.cc.

References ns3::WifiTxVector::SetTxPowerLevel().

Referenced by Run().

◆ SendB()

void InterferenceExperiment::SendB ( void  ) const
private

Send B function.

Definition at line 133 of file test-interference-helper.cc.

References ns3::WifiTxVector::SetTxPowerLevel().

Referenced by Run().

Member Data Documentation

◆ m_droppedA

bool InterferenceExperiment::m_droppedA
private

flag to indicate whether packet A has been dropped

Definition at line 117 of file test-interference-helper.cc.

Referenced by Run().

◆ m_droppedB

bool InterferenceExperiment::m_droppedB
private

flag to indicate whether packet B has been dropped

Definition at line 118 of file test-interference-helper.cc.

Referenced by Run().

◆ m_input

struct Input InterferenceExperiment::m_input
private

input

Definition at line 116 of file test-interference-helper.cc.

Referenced by Run().

◆ m_txA

Ptr<YansWifiPhy> InterferenceExperiment::m_txA
private

transmit A function

Definition at line 114 of file test-interference-helper.cc.

Referenced by Run().

◆ m_txB

Ptr<YansWifiPhy> InterferenceExperiment::m_txB
private

transmit B function

Definition at line 115 of file test-interference-helper.cc.

Referenced by Run().


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