A Discrete-Event Network Simulator
API
adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc File Reference
#include <ns3/adhoc-aloha-noack-ideal-phy-helper.h>
#include <ns3/applications-module.h>
#include <ns3/core-module.h>
#include <ns3/friis-spectrum-propagation-loss.h>
#include <ns3/ism-spectrum-value-helper.h>
#include <ns3/log.h>
#include <ns3/mobility-module.h>
#include <ns3/network-module.h>
#include <ns3/propagation-delay-model.h>
#include <ns3/single-model-spectrum-channel.h>
#include <ns3/spectrum-analyzer.h>
#include <ns3/spectrum-helper.h>
#include <ns3/spectrum-model-300kHz-300GHz-log.h>
#include <ns3/spectrum-model-ism2400MHz-res1MHz.h>
#include <ns3/waveform-generator.h>
#include <iomanip>
#include <iostream>
#include <string>
+ Include dependency graph for adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc:

Go to the source code of this file.

Classes

class  GlobalPathlossDatabase
 Store the last pathloss value for each TX-RX pair. More...
 

Functions

void PhyRxEndOkTrace (std::string context, Ptr< const Packet > p)
 Trace for PHY Rx successful end. More...
 

Variables

static uint64_t g_rxBytes
 Rx bytes counter. More...
 
static bool g_verbose = false
 True if verbose output. More...
 

Function Documentation

◆ PhyRxEndOkTrace()

void PhyRxEndOkTrace ( std::string  context,
Ptr< const Packet p 
)

Trace for PHY Rx successful end.

Parameters
contextThe context.
pThe packet.

Definition at line 54 of file adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc.

References g_rxBytes, g_verbose, and ns3::Packet::GetSize().

+ Here is the call graph for this function:

Variable Documentation

◆ g_rxBytes

uint64_t g_rxBytes
static

Rx bytes counter.

Definition at line 45 of file adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc.

Referenced by PhyRxEndOkTrace().

◆ g_verbose

bool g_verbose = false
static

True if verbose output.

Definition at line 44 of file adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc.

Referenced by PhyRxEndOkTrace().