A Discrete-Event Network Simulator
API
CollisionExperiment Class Reference

CollisionExperiment. More...

+ Collaboration diagram for CollisionExperiment:

Classes

struct  Input
 Input structure. More...
 
struct  Output
 Output struture. More...
 

Public Member Functions

 CollisionExperiment ()
 
struct CollisionExperiment::Output Run (struct CollisionExperiment::Input input)
 Run function. More...
 

Private Member Functions

void Receive (Ptr< WifiPsdu > psdu, RxSignalInfo rxSignalInfo, WifiTxVector txVector, std::vector< bool > statusPerMpdu)
 Receive function. More...
 
void SendA (void) const
 Send A function. More...
 
void SendB (void) const
 Send B function. More...
 

Private Attributes

uint32_t m_flowIdA
 flow ID A More...
 
uint32_t m_flowIdB
 flow ID B More...
 
struct Input m_input
 input More...
 
struct Output m_output
 output More...
 
Ptr< WifiPhym_txA
 transmit A More...
 
Ptr< WifiPhym_txB
 transmit B More...
 

Detailed Description

CollisionExperiment.

Definition at line 153 of file wifi-phy-test.cc.

Constructor & Destructor Documentation

◆ CollisionExperiment()

CollisionExperiment::CollisionExperiment ( )

Definition at line 249 of file wifi-phy-test.cc.

Member Function Documentation

◆ Receive()

void CollisionExperiment::Receive ( Ptr< WifiPsdu psdu,
RxSignalInfo  rxSignalInfo,
WifiTxVector  txVector,
std::vector< bool >  statusPerMpdu 
)
private

Receive function.

Parameters
psduthe PSDU
rxSignalInfothe info on the received signal (
See also
RxSignalInfo)
Parameters
txVectorthe wifi transmit vector
statusPerMpdureception status per MPDU

Definition at line 232 of file wifi-phy-test.cc.

References ns3::WifiPsdu::begin(), ns3::FlowIdTag::GetFlowId(), and PsrExperiment::m_output.

+ Here is the call graph for this function:

◆ Run()

struct CollisionExperiment::Output CollisionExperiment::Run ( struct CollisionExperiment::Input  input)

Run function.

Parameters
inputthe collision experiment data
Returns
the experiment output

Definition at line 252 of file wifi-phy-test.cc.

◆ SendA()

void CollisionExperiment::SendA ( void  ) const
private

◆ SendB()

void CollisionExperiment::SendB ( void  ) const
private

Member Data Documentation

◆ m_flowIdA

uint32_t CollisionExperiment::m_flowIdA
private

flow ID A

Definition at line 201 of file wifi-phy-test.cc.

◆ m_flowIdB

uint32_t CollisionExperiment::m_flowIdB
private

flow ID B

Definition at line 202 of file wifi-phy-test.cc.

◆ m_input

struct Input CollisionExperiment::m_input
private

input

Definition at line 202 of file wifi-phy-test.cc.

◆ m_output

struct Output CollisionExperiment::m_output
private

output

Definition at line 202 of file wifi-phy-test.cc.

◆ m_txA

Ptr<WifiPhy> CollisionExperiment::m_txA
private

transmit A

Definition at line 199 of file wifi-phy-test.cc.

◆ m_txB

Ptr<WifiPhy> CollisionExperiment::m_txB
private

transmit B

Definition at line 200 of file wifi-phy-test.cc.


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