A Discrete-Event Network Simulator
API
InterferenceExperiment Class Reference

InterferenceExperiment. More...

+ Collaboration diagram for InterferenceExperiment:

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

Constructor & Destructor Documentation

InterferenceExperiment::InterferenceExperiment ( )

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

Member Function Documentation

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

Function triggered when a packet is dropped.

Parameters
packetthe packet that was dropped

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

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

Referenced by Run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void InterferenceExperiment::SendA ( void  ) const
private

Send A function.

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

References ns3::WifiTxVector::SetTxPowerLevel().

Referenced by Run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void InterferenceExperiment::SendB ( void  ) const
private

Send B function.

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

References ns3::WifiTxVector::SetTxPowerLevel().

Referenced by Run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

bool InterferenceExperiment::m_droppedA
private

flag to indicate whether packet A has been dropped

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

Referenced by Run().

bool InterferenceExperiment::m_droppedB
private

flag to indicate whether packet B has been dropped

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

Referenced by Run().

struct Input InterferenceExperiment::m_input
private

input

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

Referenced by Run().

Ptr<YansWifiPhy> InterferenceExperiment::m_txA
private

transmit A function

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

Referenced by Run().

Ptr<YansWifiPhy> InterferenceExperiment::m_txB
private

transmit B function

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

Referenced by Run().


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